Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49866 - cdparanoia, xine-lib, and net-tools cannot compile due to syntax error in /usr/include/scsi/scsi.h
Summary: cdparanoia, xine-lib, and net-tools cannot compile due to syntax error in /us...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 10:38 UTC by Heitzso
Modified: 2004-08-26 00:34 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heitzso 2004-05-03 10:38:52 UTC
Tail end of 'emerge -u cdparanoia' follows:
=================================
gcc -O2 -march=athlon-xp -pipe -I/var/tmp/portage/cdparanoia-3.9.8-r1/work/cdparanoia-III-alpha9.8/interface -c scan_devices.c
In file included from low_interface.h:46,
                 from scan_devices.c:18:
/usr/include/scsi/scsi.h:210: error: syntax error before "u8"
/usr/include/scsi/scsi.h:212: error: syntax error before "_r2"
/usr/include/scsi/scsi.h:213: error: syntax error before "block_desc_length"
/usr/include/scsi/scsi.h:214: error: syntax error before "density"
/usr/include/scsi/scsi.h:215: error: syntax error before "number_blocks_hi"
/usr/include/scsi/scsi.h:216: error: syntax error before "number_blocks_med"
/usr/include/scsi/scsi.h:217: error: syntax error before "number_blocks_lo"
/usr/include/scsi/scsi.h:218: error: syntax error before "_r3"
/usr/include/scsi/scsi.h:219: error: syntax error before "block_length_hi"
/usr/include/scsi/scsi.h:220: error: syntax error before "block_length_med"
/usr/include/scsi/scsi.h:221: error: syntax error before "block_length_lo"
/usr/include/scsi/scsi.h:228: error: syntax error before "u8"
make[2]: *** [scan_devices.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/cdparanoia-3.9.8-r1/work/cdparanoia-III-alpha9.8/interface'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/cdparanoia-3.9.8-r1/work/cdparanoia-III-alpha9.8/interface'


Reproducible: Always
Steps to Reproduce:
1.emerge -u cdparanoia
2.
3.

Actual Results:  
get the error message noted above

Expected Results:  
compile clean

first want to note that I just successfully
'emerge -u blat' about 15 components.  So my
basic system isn't completely broken.  I'm
having trouble 'emerge -u blat' where blat
is cdparanoia, xine-lib and net-tools.

=========================================

It appears that the define for 'u8' is not
being picked up.

=========================================

I'm running 2.6.3 because that's what my
old vmware will last compile its modules on.
I've tried to 'emerge -u' cdparanoia and the
other noted ebuilds while running 2.6.5 w/o 
any more success.  I do specific emerge against 
the appropriate kernel headers ebuild to match
the version I'm running to no avail.

=========================================
emerge info follows:

Gentoo Base System version 1.4.9
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 2200+
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
ftp://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl directfb
doc encode esd foomaticdb freetds gb gd gdbm gif gnome gphoto2 gpm gtk gtk2
gtkhtml guile imap imlib java jikes jpeg junit libg++ libwww mad maildir mikmod
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
postgres ppds python qt quicktime readline ruby samba sasl scanner sdl slang
spell ssl svga tcltk tcpd tetex tiff truetype usb wavelan wxwindows x86 xml xml2
xmms xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-05 00:21:57 UTC
/usr/include/scsi/scsi.h is part of glibc, so I'm reassigning this bug...
Comment 2 solar (RETIRED) gentoo-dev 2004-06-18 11:20:52 UTC
This is not a toolchain bug.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-07 02:57:50 UTC
Well, it's not a sound bug as it's with cdparanoia, xine-lib and net-tools... 
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-07-07 21:02:36 UTC
Probably each of those packages will need to be patched like in #35088
Comment 5 Janvie 2004-07-17 14:50:53 UTC
Have you unmerged linux-headers?

Re-emergeing them fixed it for me.
Comment 6 Lars Weiler (RETIRED) gentoo-dev 2004-08-23 20:35:33 UTC
Ehm.  Is this bug still valid?
Comment 7 Nicolai Langfeldt 2004-08-26 00:34:00 UTC
My problems with xine-lib on ppc have magicaly disapeared.  Upgrade to 2.6 and gcc 3.3 since I got onto this bug.

Nicolai