i686-pc-linux-gnu-gcc -c -O3 -march=athlon-tbird -funroll-loops -pipe -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O3 -march=athlon-tbird -funroll-loops -pipe -DHAVE_NFS -DHAVE_BLKID mount.c i686-pc-linux-gnu-gcc -c -O3 -march=athlon-tbird -funroll-loops -pipe -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O3 -march=athlon-tbird -funroll-loops -pipe -DHAVE_NFS -DHAVE_BLKID fstab.c fstab.c: In function `get_mtab_info': fstab.c:34: error: `MOUNTED' undeclared (first use in this function) fstab.c:34: error: (Each undeclared identifier is reported only once fstab.c:34: error: for each function it appears in.) fstab.c: In function `mtab_is_writable': fstab.c:66: error: `MOUNTED' undeclared (first use in this function) fstab.c: In function `read_mntentchn': fstab.c:124: error: `MNTTYPE_IGNORE' undeclared (first use in this function) fstab.c: In function `read_mounttable': fstab.c:156: error: `MOUNTED' undeclared (first use in this function) mount.c: In function `create_mtab': mount.c:396: error: `MOUNTED' undeclared (first use in this function) mount.c:396: error: (Each undeclared identifier is reported only once mount.c:396: error: for each function it appears in.) fstab.c: In function `update_mtab': mount.c: In function `loop_check': mount.c:590: warning: initialization discards qualifiers from pointer target type mount.c:590: warning: initialization discards qualifiers from pointer target type mount.c:601: warning: passing arg 2 of `use_keygen_prog' from incompatible pointer type mount.c: In function `update_mtab_entry': mount.c:643: error: `MOUNTED' undeclared (first use in this function) fstab.c:568: error: `MOUNTED' undeclared (first use in this function) make[1]: *** [fstab.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mount.c: In function `main': mount.c:1592: error: `MOUNTED' undeclared (first use in this function) make[1]: *** [mount.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12i-r1/work/util-linux-2.12i/mount' # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.29+skas3-bs1+swsusp-2.1.5.7D i686) ================================================================= System uname: 2.4.29+skas3-bs1+swsusp-2.1.5.7D i686 mobile AMD Athlon (tm) 2000+ Gentoo Base System version 1.4.3.13 Python: dev-lang/python-2.3.5,dev-lang/python-2.2.3-r1 [2.3.5 (#1, May 3 2005, 03:39:37)] dev-lang/python: 2.3.5, 2.2.3-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.4.3-r4, 1.5.16 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage-overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow Xaw3d aalib acl acpi alsa apache2 apm avi berkdb bitmap-fonts bonobo cdr crypt cscope curl dba dga directfb doc dvd emacs-w3 emboss encode evo f77 fam fbcon flac fortran gb gd gdbm ggi gif gnome gpm gstreamer gtk gtkhtml guile imagemagick imlib innodb ipv6 jack java jikes jpeg kde lcms ldap leim libg++ libgda libwww mad maildir matrox mbox mcal memlimit mikmod mmx motif mp3 mpeg mpi mule mysql ncurses nls nocd ogg oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp prelude python qt quicktime readline ruby samba sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts usb videos vorbis wavelan wmf wxwindows xface xine xml xml2 xmms xv zlib userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** Bug 91256 has been marked as a duplicate of this bug. ***
try 2.12q and if that fails, run `emerge util-linux >& log` and post the log as an attachment
Still fails. Tried with -O2 -march=athlon-tbird -pipe this time -> http://bothie.sharedaemon.org/temp/bugs.gentoo.org-91282-1.txt
Created attachment 57983 [details] bugs.gentoo.org-91282-1.txt post stuff as an attachment next time instead of using external URL's
/etc/profile.local.after:export CPATH="/home/$USER/root/include:$CPATH" obviously breaks on CPATH="" sometimes ...
i was also experiencing this problem with util-linux-2.12r-r4. problem avoided using the following: anthony# emerge -e system .. problems when get to util-linux anthony# echo $CPATH /usr/local/include/boost-1_33: anthony# export CPATH="/usr/local/include/boost-1_33" anthony# emerge -1 util-linux .. builds ok