KRL root # emerge eject Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/eject-2.0.13 to / >>> md5 src_uri ;-) eject-2.0.13.tar.gz >>> Unpacking source... >>> Unpacking eject-2.0.13.tar.gz to /var/tmp/portage/eject-2.0.13/work * Applying eject-2.0.13-kernel25-support.patch... [ ok ] >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc -O2 -mcpu=athlon-xp -fomit-frame-pointer ) works... yes checking whether the C compiler (gcc -O2 -mcpu=athlon-xp -fomit-frame-pointer ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for unistd.h... yes checking for working const... yes checking for regcomp... yes checking for strdup... yes checking for strerror... yes updating cache ./config.cache creating Makefile Making all in po make[1]: Entering directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13/po' make[1]: Entering directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13' gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H= 1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAV E_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -I/usr/src/linux -I/usr/src/linux/includ e -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -O3 -O2 -mcpu=athlon-xp -fomit- frame-pointer -c eject.c gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H= 1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAV E_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -I/usr/src/linux -I/usr/src/linux/includ e -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -O3 -O2 -mcpu=athlon-xp -fomit- frame-pointer -c volname.c In file included from /usr/src/linux/include/linux/cdrom.h:14, from eject.c:68: /usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64" volname.c: In function `main': volname.c:58: warning: implicit declaration of function `exit' gcc -Wall -O3 -O2 -mcpu=athlon-xp -fomit-frame-pointer -o volname volname.o make[1]: *** [eject.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13' make: *** [all-recursive] Error 1 !!! ERROR: sys-apps/eject-2.0.13 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed KRL root # emerge --info Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2. 6.3-rc3) ================================================================= System uname: 2.6.3-rc3 i686 mobile AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r2 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d acpi alsa apache2 arts avi berkdb bonobo cdr crypt cscope cups curl dga dvd dvdr encode ethereal fam flac flash foomaticdb gd gd-external gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib innodb java jikes jpeg kde lcms ldap lesstif libg++ libgda libwww mad mcal mikmod mmx motif mozilla mpeg mpi mysql nas ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp ppds python qt quicktime readline ruby samba sdl slang slp snmp socks5 speex spell sqlite sse ssl tcltk tcpd tetex tiff truetype trusted unicode usb wavelan wmf wxwindows x86 xinerama xml xml2 xosd xv zlib" KRL root # qpkg -I -v development-sources sys-kernel/development-sources-2.6.3_rc3 *
Seem to get stuck with this as well on my attempt to install a bootstrap-2.6.sh => ~x86 system => rest of the system... Using linux-headers-2.6.1 --snip-- >>> emerge (1 of 97) sys-apps/eject-2.0.13 to / >>> md5 src_uri ;-) eject-2.0.13.tar.gz >>> Unpacking source... >>> Unpacking eject-2.0.13.tar.gz to /portage/tmp/portage/eject-2.0.13/work * Applying eject-2.0.13-kernel25-support.patch... [ ok ] >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc -mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe ) works... yes checking whether the C compiler (gcc -mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for unistd.h... yes checking for working const... yes checking for regcomp... yes checking for strdup... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile Making all in po make[1]: Entering directory `/portage/tmp/portage/eject-2.0.13/work/eject-2.0.13/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/portage/tmp/portage/eject-2.0.13/work/eject-2.0.13/po' make[1]: Entering directory `/portage/tmp/portage/eject-2.0.13/work/eject-2.0.13' gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -I/usr/src/linux -I/usr/src/linux/include -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -O3 -mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe -c eject.c gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -I/usr/src/linux -I/usr/src/linux/include -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -O3 -mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe -c volname.c In file included from /usr/src/linux/include/linux/cdrom.h:14, from eject.c:68: /usr/src/linux/include/asm/byteorder.h:14: error: syntax error before "__u32" /usr/src/linux/include/asm/byteorder.h:28: error: syntax error before "__u64" In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11, from /usr/src/linux/include/asm/byteorder.h:57, from /usr/src/linux/include/linux/cdrom.h:14, from eject.c:68: /usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64" make[1]: *** [eject.o] Error 1 make[1]: *** Waiting for unfinished jobs.... volname.c: In function `main': volname.c:58: warning: implicit declaration of function `exit' make[1]: Leaving directory `/portage/tmp/portage/eject-2.0.13/work/eject-2.0.13' make: *** [all-recursive] Error 1 !!! ERROR: sys-apps/eject-2.0.13 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed --snip-- emerge info --snap-- Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc3) ================================================================= System uname: 2.6.3-rc3 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r2 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/portage/packages" PORTAGE_TMPDIR="/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d alsa apm avi berkdb bonobo cdr crypt cups dga directfb doc dvd dvdr encode esd foomaticdb freetype gdbm gif gnome gnutls gpm gtk gtk2 imap imlib ipv6 jabber java joystick jpeg kde kerberos libg++ libwww mad maildir mbox mikmod mmx motif mozcalendar mozilla mpeg mpeg4 ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl slang spell sse ssl stroke svga tcltk tcpd tetex tiff truetype type1 unicode usb video_cards_nvidia vim-with-x x86 xchattext xine xml2 xmms xv zlib" --snap-- NPTL really active on my system: --snip-- # /lib/libc.so.6 GNU C Library stable release version 2.3.3, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.2 20040119 (Gentoo Linux 3.3.2-r7, propolice-3.3-7). Compiled on a Linux 2.6.1 system on 2004-02-16. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others NPTL 0.60 by Ulrich Drepper BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. Report bugs using the `glibcbug' script to <bugs@gnu.org>. --snip--
Also get this error: -------------------- dotcoder root # emerge eject Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/eject-2.0.13 to / >>> md5 src_uri ;-) eject-2.0.13.tar.gz >>> Unpacking source... >>> Unpacking eject-2.0.13.tar.gz to /var/tmp/portage/eject-2.0.13/work * Applying eject-2.0.13-kernel25-support.patch... [ ok ] >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe ) works... yes checking whether the C compiler (gcc -march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for unistd.h... yes checking for working const... yes checking for regcomp... yes checking for strdup... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile Making all in po make[1]: Entering directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13/po' make[1]: Entering directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13' gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -I/usr/src/linux -I/usr/src/linux/include -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -O3 -march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -c eject.c gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -I/usr/src/linux -I/usr/src/linux/include -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -O3 -march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -c volname.c volname.c: In function `main': volname.c:58: warning: implicit declaration of function `exit' gcc -Wall -O3 -march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -o volname volname.o In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11, from /usr/include/asm/byteorder.h:65, from /usr/src/linux/include/linux/cdrom.h:14, from eject.c:68: /usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64" make[1]: *** [eject.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/eject-2.0.13/work/eject-2.0.13' make: *** [all-recursive] Error 1 !!! ERROR: sys-apps/eject-2.0.13 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed emerge --info: -------------- dotcoder root # emerge --info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc3) ================================================================= System uname: 2.6.3-rc3 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -funroll-all-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://81.88.192.4/pub/gentoo/portage ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/ http://mirror.gentoo.ru/pub/mirror/gentoo/ rsync://mirror.gentoo.ru/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow acpi alsa arts avi berkdb crypt cups dga fbcon gd gdbm gif gpm imap java jpeg kde ldap lesstif maildir mmx mpeg ncurses nls nptl oggvorbis opengl pam png qt readline samba slang snmp spell sse ssl svga tiff truetype unicode x86 xml xml2 xmms zlib" dotcoder root #
Created attachment 25843 [details] fixed eject build, ready to extract in $PORTDIR_OVERLAY/sys-apps The little tarball contains a small patch to patch Makefile.in. Also contains updated ebuild that applies the patch. I hope its not too inconvenient i don't upload seperate ebuild patch and Makefile patch ;-) i think its overkill really. NOTE: a patch for upstream developer would need to patch Makefile.am -- for gentoo this would trigger an automake run which MAY cause additional trouble.
Fix confirmed :D Thank you!
Fix works very well. Thanks. :)
Fixed in CVS, thanks.
*** Bug 42308 has been marked as a duplicate of this bug. ***
*** Bug 42309 has been marked as a duplicate of this bug. ***
*** Bug 42451 has been marked as a duplicate of this bug. ***
*** Bug 42535 has been marked as a duplicate of this bug. ***