I have the following error when emerging sys-apps/gradm-2.1.12.200812271437: # emerge -av gradm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/gradm-2.1.12.200812271437 [2.1.12.200805181037] USE="pam" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/gradm-2.1.12.200812271437 * gradm-2.1.12-200812271437.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gradm-2.1.12-200812271437.tar.gz to /var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/work * Applying 2.1.7.200511041858-non-lazy-bindings.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/work/gradm2 ... make -j2 CC=i686-pc-linux-gnu-gcc 'OPT_FLAGS=-mtune=i686 -O2 -pipe -fforce-addr' /usr/bin/bison -b gradm -p gradm -d ./gradm.y /usr/bin/flex -B -Pgradm ./gradm.l /usr/bin/bison -b learn_pass1 -p learn_pass1 -d ./gradm_learn_pass1.y /usr/bin/bison -b learn_pass2 -p learn_pass2 -d ./gradm_learn_pass2.y /usr/bin/bison -b fulllearn_pass1 -p fulllearn_pass1 -d ./gradm_fulllearn_pass1.y /usr/bin/bison -b fulllearn_pass2 -p fulllearn_pass2 -d ./gradm_fulllearn_pass2.y /usr/bin/bison -b fulllearn_pass3 -p fulllearn_pass3 -d ./gradm_fulllearn_pass3.y i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_misc.o gradm_misc.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_parse.o gradm_parse.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_arg.o gradm_arg.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_pw.o gradm_pw.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_opt.o gradm_opt.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_cap.o gradm_cap.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_sha256.o gradm_sha256.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_adm.o gradm_adm.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_analyze.o gradm_analyze.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_res.o gradm_res.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_human.o gradm_human.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_learn.o gradm_learn.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_net.o gradm_net.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_nest.o gradm_nest.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_pax.o gradm_pax.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_sym.o gradm_sym.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_newlearn.o gradm_newlearn.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_fulllearn.o gradm_fulllearn.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_lib.o gradm_lib.c /usr/bin/flex -B -Pfulllearn_pass1 ./gradm_fulllearn_pass1.l /usr/bin/flex -B -Pfulllearn_pass2 ./gradm_fulllearn_pass2.l /usr/bin/flex -B -Pfulllearn_pass3 ./gradm_fulllearn_pass3.l /usr/bin/flex -B -Plearn_pass1 ./gradm_learn_pass1.l /usr/bin/flex -B -Plearn_pass2 ./gradm_learn_pass2.l /usr/bin/bison -b grlearn_config -p grlearn_config -d ./grlearn_config.y /usr/bin/flex -B -Pgrlearn_config ./grlearn_config.l i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_globals.o gradm_globals.c /usr/bin/bison -b grlearn2_config -p grlearn2_config -d ./grlearn2_config.y i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm.tab.o gradm.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.gradm.o lex.gradm.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o learn_pass1.tab.o learn_pass1.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o learn_pass2.tab.o learn_pass2.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o fulllearn_pass1.tab.o fulllearn_pass1.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o fulllearn_pass2.tab.o fulllearn_pass2.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o fulllearn_pass3.tab.o fulllearn_pass3.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.fulllearn_pass1.o lex.fulllearn_pass1.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.fulllearn_pass2.o lex.fulllearn_pass2.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.fulllearn_pass3.o lex.fulllearn_pass3.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.learn_pass1.o lex.learn_pass1.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.learn_pass2.o lex.learn_pass2.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o grlearn_config.tab.o grlearn_config.tab.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o lex.grlearn_config.o lex.grlearn_config.c i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -DIS_GRLEARN -o grlearn grlearn.c gradm_lib.c grlearn2_config.tab.c lex.grlearn_config.c -lfl i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -o gradm gradm.tab.o lex.gradm.o learn_pass1.tab.o learn_pass2.tab.o fulllearn_pass1.tab.o fulllearn_pass2.tab.o fulllearn_pass3.tab.o gradm_misc.o gradm_parse.o gradm_arg.o gradm_pw.o gradm_opt.o gradm_cap.o gradm_sha256.o gradm_adm.o gradm_analyze.o gradm_res.o gradm_human.o gradm_learn.o gradm_net.o gradm_nest.o gradm_pax.o gradm_sym.o gradm_newlearn.o gradm_fulllearn.o gradm_lib.o lex.fulllearn_pass1.o lex.fulllearn_pass2.o lex.fulllearn_pass3.o lex.learn_pass1.o lex.learn_pass2.o grlearn_config.tab.o lex.grlearn_config.o gradm_globals.o -lfl /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfl collect2: ld returned 1 exit status make: *** [gradm] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfl collect2: ld returned 1 exit status make: *** [grlearn] Error 1 * * ERROR: sys-apps/gradm-2.1.12.200812271437 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2648: Called die * The specific snippet of code: * emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "compile problem" * The die message: * compile problem * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/temp/environment'. * >>> Failed to emerge sys-apps/gradm-2.1.12.200812271437, Log file: >>> '/var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/temp/build.log' * Messages for package sys-apps/gradm-2.1.12.200812271437: * * ERROR: sys-apps/gradm-2.1.12.200812271437 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2648: Called die * The specific snippet of code: * emake ${target} CC="$(tc-getCC)" OPT_FLAGS="${CFLAGS}" || die "compile problem" * The die message: * compile problem * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/gradm-2.1.12.200812271437/temp/environment'. * # emerge --info Portage 2.1.6.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-hardened-r13 x86_64) ================================================================= System uname: Linux-2.6.25-hardened-r13-x86_64-Intel-R-_Pentium-R-_4_CPU_3.60GHz-with-glibc2.3.2 Timestamp of tree: Mon, 26 Jan 2009 00:45:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc/locale.gen" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-mtune=i686 -O2 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/opt/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb cracklib crypt hardened ipv6 livecd locales midi nls nptl nptlonly pam pic readline ssl tcpd urandom x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge gradm Actual Results: I have this issue on both standard x86-hardened and on x86_64
Looks like a duplicate of bug #222415.
I re-emerged glibc and it fixed my issue!
Yeah, looks similar to bug 222415. If that were the case however, I don't see why re-merging glibc would fix it. So whatever... resolving as INVALID.