Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 188969
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 185175
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jon Dye <jon@pecorous.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188969 depends on: Show dependency tree
Bug 188969 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-15 09:56 0000
kcdlabel fails to build and produces compile errors complaining about types
such as __u64 in /usr/include/asm/byteorder.h, this appears to be due to the
-ansi flag passed to the compiler

Reproducible: Always

Steps to Reproduce:
using linux-headers 2.6.21:
1. emerge kcdlabel


Actual Results:  
I get the compiler error:

> In file included from /usr/include/linux/cdrom.h:14,
>                  from ./audiocd.h:33,
>                  from cddbaccessdialog.h:31,
>                  from cddbaccessdialogdata.cpp:10:
> /usr/include/asm/byteorder.h:24: error: `__u64' does not name a type

and then some more e.g.:
/usr/include/linux/byteorder/swab.h:160: error: `__u64' does not name a type
/usr/include/linux/byteorder/swab.h:170: error: `__u64' does not name a type
/usr/include/linux/byteorder/swab.h:174: error: variable or field `__swab64s'
declared void                                                                  
  /usr/include/linux/byteorder/swab.h:174: error: `__swab64s' declared as an
`inline' variable
/usr/include/linux/byteorder/swab.h:174: error: `__u64' was not declared in
this scope
/usr/include/linux/byteorder/swab.h:174: error: `addr' was not declared in this
scope
/usr/include/linux/byteorder/swab.h:175: error: expected `,' or `;' before '{'
token
/usr/include/linux/byteorder/little_endian.h:43: error: `__le64' does not name
a type
/usr/include/linux/byteorder/little_endian.h:47: error: `__u64' does not name a
type
/usr/include/linux/byteorder/little_endian.h:67: error: `__be64' does not name
a type
/usr/include/linux/byteorder/little_endian.h:71: error: `__u64' does not name a
type



Portage 2.1.2.11 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r4,
2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 14 Aug 2007 23:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disable
d]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php
5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
/etc/r
evdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
stri
ct"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
http://212.219.
56.139/sites/www.ibiblio.org/gentoo/ http://gentoo.mirror.solnet.ch
http://distf
iles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB en de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/di
stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3ds X aac alsa apache2 arts artswrappersuid asf audiofile
berkdb bitmap-fonts bluetooth cairo cddb cdparanoia cdr cli cracklib crypt cups
dbus divx4linux dri dvb dvd dvdr dvdread eds emboss encode esd fam fbcon
firefox flac fortran gdbm gif gimpprint gnokii gphoto2 gpm gstreamer gtk gtk2
hal iconv imap ipod ipv6 isdnlog java joystick jpeg kde ldap lirc logrotate mad
midi mikmod mmx mng monkey mozcalendar mozilla mp3 mpeg msn mudflap musicbrainz
mysql mythtv ncurses network nls nptl nptlonly nsplugin offensive ogg openal
opengl openmp oss pam pcre pda pdf perl pic png ppds pppd python qt3 qt4
quicktime readline real reflection samba sasl scanner sdl session slang speex
spell spl sse ssl startup-notification svg tcpd theora tiff transcode truetype
truetype-fonts type1-fonts unicode usb v4l v4l2 videos vorbis win32codecs x264
x86 xfs xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="via82xx"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB en de" LIRC_DEVICES="serial" USERLAND="GNU"
VIDEO_CARDS="radeon ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jakub Moc (RETIRED) 2007-08-15 10:00:28 0000 -------

*** This bug has been marked as a duplicate of bug 185175 ***

------- Comment #2 From Jon Dye 2007-08-15 11:11:12 0000 -------
Still broken even with later linux-headers:

> jon@hal ~ $ sudo emerge kcdlabel
[...]
> In file included from /usr/include/linux/cdrom.h:14,
>                  from ./audiocd.h:33,
>                  from cddbaccessdialog.h:31,
>                  from cddbaccessdialogdata.cpp:10:
> /usr/include/asm/byteorder.h:24: error: `__u64' does not name a type
[...]
> jon@hal ~ $ equery belongs /usr/include/asm/byteorder.h
> [ Searching for file(s) /usr/include/asm/byteorder.h in *... ]
> sys-kernel/linux-headers-2.6.22-r2 (/usr/include/asm/byteorder.h)

------- Comment #3 From Jakub Moc (RETIRED) 2007-08-15 11:22:31 0000 -------

*** This bug has been marked as a duplicate of bug 185175 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug