When running emerge -u findutils, emerge of findutils 4.1.7 fails with: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/loc ale\" -march=athlon -mcpu=athlon -O3 -pipe -fomit-frame-pointer -c -o fstype. o `test -f fstype.c || echo './'`fstype.c fstype.c:162:23: afs/venus.h: No such file or directory fstype.c:170:24: sys/ioccom.h: No such file or directory fstype.c: In function `in_afs': fstype.c:178: storage size of `vi' isn't known fstype.c:184: `VIOC_FILE_CELL_NAME' undeclared (first use in this function) fstype.c:184: (Each undeclared identifier is reported only once fstype.c:184: for each function it appears in.) make[3]: *** [fstype.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findutils-4 .1.7/find' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findutils-4 .1.7/find' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findutils-4 .1.7' make: *** [all-redirect] Error 2
^please paste #emerge info
I'm having a similar problem this morning.. fstype.c: In function `in_afs': fstype.c:178: storage size of `vi' isn't known fstype.c:184: `VIOC_FILE_CELL_NAME' undeclared (first use in this function) fstype.c:184: (Each undeclared identifier is reported only once fstype.c:184: for each function it appears in.) make[3]: *** [fstype.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findut ils-4.1.7/find' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findut ils-4.1.7/find' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findut ils-4.1.7' make: *** [all-redirect] Error 2 !!! ERROR: sys-apps/findutils-4.1.7-r5 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message) laptop root # emerge -p -uD world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-apps/findutils-4.1.7-r5 [4.1.7-r4] laptop root # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gent oo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/ share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/conf ig" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.mirro rs.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.noved.org / http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmo d mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib di rectfb gtkhtml gdbm berkdb slang readline arts tetex aalib bonobo svga tclt k java guile mysql sdl gpm tcpd pam libwww ssl perl python esd imlib oggvor bis gtk qt kde motif opengl mozilla gphoto2 cdr X gtk2 gnome"
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts aalib svga tcltk java guile mysql X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr alsa gtk2 acpi nls fbcon flash samba sse tiff"
Same problem: emerge info: Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r4,2.3.2-r1, 2.6.0-test8-mm1-rf23) ================================================================= System uname: 2.6.0-test8-mm1-rf23 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /opt/zetagrid /var/freenet /home /usr/X11R 6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs userpriv usersandbox gpg severe" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.ed u/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr scanner acpi acpi4linux apache2 dvd ethereal evms2 evo fbcon glut innodb maildir php postgres samba sse tiff wmf"
I bet things go right if you make /usr/src/linux point to a 2.4 kernel. However I don't see why findutils should use /usr/src/linux in the first place. Please try though
afs/venus.h probably comes from openafs. ioccom.h should too. Currently the latest openafs doesn't even compile. I'll try to see what can be done.
Hmmm... /usr/src/linux does point to a 2.4 kernel I have openafs installed, and I emerged it recently without problems - but it doesn't seem to install these files - may be its an openafs problem but then again why does findutils need them? My use flags don't include afs, so findutils shouldn't try using it anyway
I am currently pointing at a 2.4 kernel src tree. ya.. I know I need to update at some point, but everything is working so well.. I've got the other more recent kernel sources on the machine... just waiting for me to get off my duff.. The problem does seem to be related to the two afs files. I'm still getting the same output. laptop root # ls -la /usr/src total 20 drwxr-xr-x 5 root root 4096 Oct 22 09:43 . drwxr-xr-x 20 root root 4096 Sep 13 21:24 .. -rw-r--r-- 1 root root 0 Sep 13 21:24 .keep lrwxrwxrwx 1 root root 23 Jul 31 16:26 linux -> linux-2.4.20-gentoo-r5/ drwxr-xr-x 16 root root 4096 Jul 31 16:02 linux-2.4.20-gentoo-r5 drwxr-xr-x 16 root root 4096 Sep 13 13:44 linux-2.4.20-gentoo-r7 drwxr-xr-x 16 root root 4096 Oct 22 09:44 linux-2.4.20-gentoo-r8 fstype.c:162:23: afs/venus.h: No such file or directory fstype.c:170:24: sys/ioccom.h: No such file or directory fstype.c: In function `in_afs': fstype.c:178: storage size of `vi' isn't known fstype.c:184: `VIOC_FILE_CELL_NAME' undeclared (first use in this function) fstype.c:184: (Each undeclared identifier is reported only once fstype.c:184: for each function it appears in.) make[3]: *** [fstype.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findutils-4.1.7/find' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findutils-4.1.7/find' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/findutils-4.1.7-r5/work/findutils-4.1.7' make: *** [all-redirect] Error 2 !!! ERROR: sys-apps/findutils-4.1.7-r5 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message)
Try to remerge your openafs package. (or use it without afs support)
Alright, I think I have figured a few things... -The file venus.h does exist on my hd: /usr/afsws/include/afs/venus.h -The file iocomm.h does not exist. -USE="-afs"; emerge -u findutils doesn't work - it produces the same error -Running etcat -u findutils does show, that afs support is NOT included, but it still tries to compile with support compiled in! -Reemerging openafs doesn't work - emerge complains about a missing patch
Try the second-newest version
This doesn't exist.... I had installed (I just removed, but I can simply remerge it if needed) Version 1.2.8, which is the oldest version in portage.... After unmerging openafs, findutils compiled fine. So I keep thinking that findutils didn't really check the USE flags, but noted the installed openafs and added support for it, which then didn't work out for some strange reason
still having the same problem, and I do have openafs installed. I have not tried unmerging openafs yet as I was hopeful for a better resolution in a few weeks as the developers have time to figure out the cause etc..
Is this still not working?
I've moved to a new machine running Gentoo-amd64. I don't require openafs anymore so I really can't tell - I'm quite sorry.