Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91282 - BROKEN CONFIG - sys-apps/util-linux-2.12i-r1 fails to compile (serveral errors, e.g. error: `MOUNTED' undeclared)
Summary: BROKEN CONFIG - sys-apps/util-linux-2.12i-r1 fails to compile (serveral error...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 91256 (view as bug list)
Depends on:
Blocks: 91254
  Show dependency tree
 
Reported: 2005-05-03 01:42 UTC by Bodo Thiesen
Modified: 2006-11-14 19:53 UTC (History)
0 users

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


Attachments
bugs.gentoo.org-91282-1.txt (bugs.gentoo.org-91282-1.txt,19.48 KB, text/plain)
2005-05-03 21:09 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bodo Thiesen 2005-05-03 01:42:51 UTC
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
Comment 1 Bodo Thiesen 2005-05-03 01:43:41 UTC
*** Bug 91256 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2005-05-03 05:37:16 UTC
try 2.12q and if that fails, run `emerge util-linux >& log` and post the log as an attachment
Comment 3 Bodo Thiesen 2005-05-03 12:52:31 UTC
Still fails. Tried with -O2 -march=athlon-tbird -pipe this time -> http://bothie.sharedaemon.org/temp/bugs.gentoo.org-91282-1.txt
Comment 4 SpanKY gentoo-dev 2005-05-03 21:09:05 UTC
Created attachment 57983 [details]
bugs.gentoo.org-91282-1.txt

post stuff as an attachment next time instead of using external URL's
Comment 5 Bodo Thiesen 2005-05-03 23:09:58 UTC
/etc/profile.local.after:export CPATH="/home/$USER/root/include:$CPATH" obviously breaks on CPATH="" sometimes ...
Comment 6 Anthony Knittel 2006-11-14 19:53:16 UTC
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