After emerge of grub from sys-boot section of portage, in an attempt to update to Grub2 I receive error's relating to the make process even though configure completed no problemo. Reproducible: Always Steps to Reproduce: 1. emerge -av sys-boot/grub Actual Results: [33;01m*[0m This profile has not been tested thoroughly and is not considered to be [33;01m*[0m a supported server profile at this time. For a supported server [33;01m*[0m profile, please check the Hardened project (http://hardened.gentoo.org). [33;01m*[0m This profile is merely a convenience for people who require a more [33;01m*[0m minimal profile, yet are unable to use hardened due to restrictions in [33;01m*[0m the software being used on the server. This profile should also be used [33;01m*[0m if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this [33;01m*[0m applies to you, then it doesn't and you should probably be using [33;01m*[0m Hardened, instead. [32;01m*[0m CPV: sys-boot/grub-1.98 [32;01m*[0m REPO: gentoo [32;01m*[0m USE: elibc_glibc kernel_linux truetype userland_GNU x86 >>> Unpacking source... >>> Unpacking grub-1.98.tar.gz to /var/tmp/portage/sys-boot/grub-1.98/work [32;01m*[0m Applying grub-1.96-genkernel.patch ... [A[71C [34;01m[ [32;01mok[34;01m ][0m >>> Source unpacked in /var/tmp/portage/sys-boot/grub-1.98/work >>> Compiling source in /var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98 ... * econf: updating grub-1.98/config.sub with /usr/share/gnuconfig/config.sub * econf: updating grub-1.98/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-werror --sbindir=/sbin --bindir=/bin --libdir=/lib --disable-efiemu --enable-grub-mkfont --disable-mm-debug --disable-grub-emu-usb --disable-grub-fstest checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for cmp... cmp checking for bison... bison checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for ruby... /usr/bin/ruby checking for makeinfo... /usr/bin/makeinfo checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether byte ordering is bigendian... no checking size of void *... 4 checking size of long... 4 checking whether our compiler is apple cc... no checking for help2man... /usr/bin/help2man checking for posix_memalign... yes checking for memalign... yes checking for asprintf... yes checking for vasprintf... yes checking whether sys/types.h defines makedev... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for memmove... yes checking for sbrk... yes checking for strdup... yes checking for lstat... yes checking for getuid... yes checking for getgid... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-nm... i686-pc-linux-gnu-nm checking whether -falign-loops works... yes checking whether -fno-dwarf2-cfi-asm works... no checking whether our target compiler is apple cc... no checking for command to convert module to ELF format... checking whether `i686-pc-linux-gnu-gcc' generates calls to `__enable_execute_stack()'... no checking whether `i686-pc-linux-gnu-gcc' has `-fPIE' as default... no checking whether `i686-pc-linux-gnu-gcc' accepts `-fstack-protector'... yes checking whether `i686-pc-linux-gnu-gcc' accepts `-mstack-arg-probe'... yes checking for __bswapsi2... no checking for __bswapdi2... no checking for __ashldi3... yes checking for __ashrdi3... yes checking for __lshrdi3... yes checking for __trampoline_setup... no checking for __ucmpdi2... yes checking for _restgpr_14_x... no checking whether target compiler is working... yes checking whether i686-pc-linux-gnu-objcopy works for absolute addresses... yes checking whether linker accepts --build-id=none... yes checking if C symbols get an underscore after compilation... no checking if __bss_start is defined by the compiler... yes checking if edata is defined by the compiler... yes checking if _edata is defined by the compiler... yes checking if end is defined by the compiler... yes checking if _end is defined by the compiler... yes checking whether addr32 must be in the same line as the instruction... yes checking for .code16 addr32 assembler support... yes checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no checking whether -nostdinc -isystem works... yes checking for freetype-config... freetype-config checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking whether ln can handle directories properly... yes configure: creating ./config.status config.status: creating Makefile config.status: creating gensymlist.sh config.status: creating genkernsyms.sh config.status: creating stamp-h config.status: creating config.h config.status: linking include/grub/i386 to include/grub/cpu config.status: linking include/grub/i386/pc to include/grub/machine config.status: executing depfiles commands config.status: executing po-directories commands ******************************************************* GRUB2 will be compiled with following components: Platform: i386-pc With memory debugging: No efiemu runtime: No (explicitly disabled) grub-fstest: No (explicitly disabled) grub-mkfont: Yes ******************************************************* make -j6 -j1 i686-pc-linux-gnu-gcc -Ignulib -I./gnulib -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-gnulib_progname.o gnulib/progname.c i686-pc-linux-gnu-gcc -Iutil -I./util -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-util_grub_mkrawimage.o util/grub-mkrawimage.c i686-pc-linux-gnu-gcc -Iutil -I./util -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-util_misc.o util/misc.c i686-pc-linux-gnu-gcc -Iutil -I./util -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-util_resolve.o util/resolve.c i686-pc-linux-gnu-gcc -Ilib -I./lib -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-lib_LzmaEnc.o lib/LzmaEnc.c i686-pc-linux-gnu-gcc -Ilib -I./lib -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-lib_LzFind.o lib/LzFind.c i686-pc-linux-gnu-gcc -o grub-mkimage grub_mkimage-gnulib_progname.o grub_mkimage-util_grub_mkrawimage.o grub_mkimage-util_misc.o grub_mkimage-util_resolve.o grub_mkimage-lib_LzmaEnc.o grub_mkimage-lib_LzFind.o i686-pc-linux-gnu-gcc -Ignulib -I./gnulib -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -MD -c -o grub_mkelfimage-gnulib_progname.o gnulib/progname.c i686-pc-linux-gnu-gcc -Iutil/elf -I./util/elf -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -MD -c -o grub_mkelfimage-util_elf_grub_mkimage.o util/elf/grub-mkimage.c i686-pc-linux-gnu-gcc -Iutil -I./util -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -MD -c -o grub_mkelfimage-util_misc.o util/misc.c i686-pc-linux-gnu-gcc -Iutil -I./util -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -MD -c -o grub_mkelfimage-util_resolve.o util/resolve.c i686-pc-linux-gnu-gcc -o grub-mkelfimage grub_mkelfimage-gnulib_progname.o grub_mkelfimage-util_elf_grub_mkimage.o grub_mkelfimage-util_misc.o grub_mkelfimage-util_resolve.o i686-pc-linux-gnu-gcc -Iutil/mkisofs -I./util/mkisofs -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./util/mkisofs/include -Wno-all -Werror -MD -c -o grub_mkisofs-util_mkisofs_eltorito.o util/mkisofs/eltorito.c cc1: error: unrecognized command line option "-Wno-all" make: *** [grub_mkisofs-util_mkisofs_eltorito.o] Error 1 [31;01m*[0m ERROR: sys-boot/grub-1.98 failed: [31;01m*[0m making regular stuff [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 54: Called src_compile [31;01m*[0m environment, line 5990: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake -j1 || die "making regular stuff" [31;01m*[0m [31;01m*[0m If you need support, post the output of 'emerge --info =sys-boot/grub-1.98', [31;01m*[0m the complete build log and the output of 'emerge -pqv =sys-boot/grub-1.98'. [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-boot/grub-1.98/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-1.98/temp/environment'. [31;01m*[0m S: '/var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98' Expected Results: completed with no compile-time errors
Please post the output of emerge --info grub to this bug.
livecd / # emerge --info =sys-boot/grub-1.98 Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.1.2, glibc-2.10.1-r1, 2.6.24-gentoo-r5 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.24-gentoo-r5-i686-Intel-R-_Xeon-TM-_CPU_1.70GHz-with-gentoo-1.12.11.1 Timestamp of tree: Mon, 23 Aug 2010 01:45:02 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r13, 2.6.5-r3, 3.1.2-r4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.1, 1.11.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc: 4.1.2, 4.4.3-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.qubenet.net/mirror/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" SYNC="rsync://rsync.uk.gentoo.org" USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 ldap modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl ssl sysfs tcpd truetype unicode x86 xml 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 cgi cgid 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
livecd / # emerge --info grub Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.1.2, glibc-2.10.1-r1, 2.6.24-gentoo-r5 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.24-gentoo-r5-i686-Intel-R-_Xeon-TM-_CPU_1.70GHz-with-gentoo-1.12.11.1 Timestamp of tree: Mon, 23 Aug 2010 01:45:02 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r13, 2.6.5-r3, 3.1.2-r4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.1, 1.11.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc: 4.1.2, 4.4.3-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.qubenet.net/mirror/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" SYNC="rsync://rsync.uk.gentoo.org" USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 ldap modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl ssl sysfs tcpd truetype unicode x86 xml 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 cgi cgid 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ================================================================= Package Settings ================================================================= sys-boot/grub-0.97-r10 was built with the following: USE="ncurses -custom-cflags -netboot -static" CFLAGS=""
there's no reason to support gcc-4.1.x anymore, try switching to stable gcc-4.4.x compiler
(In reply to comment #4) > there's no reason to support gcc-4.1.x anymore, try switching to stable > gcc-4.4.x compiler > is there a swift way to unmerge 4.1.x? so i am only left with the 4.4.3-r1? Best Regards
livecd / # emerge -av sys-boot/grub * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-boot/grub-1.98 [0.97-r10] USE="truetype%* -custom-cflags -debug% -multislot% -static (-ncurses%*) (-netboot%)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-boot/grub-1.98 openpty failed: 'out of pty devices' * grub-1.98.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * This profile has not been tested thoroughly and is not considered to be * a supported server profile at this time. For a supported server * profile, please check the Hardened project (http://hardened.gentoo.org). * This profile is merely a convenience for people who require a more * minimal profile, yet are unable to use hardened due to restrictions in * the software being used on the server. This profile should also be used * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this * applies to you, then it doesn't and you should probably be using * Hardened, instead. * CPV: sys-boot/grub-1.98 * REPO: gentoo * USE: elibc_glibc kernel_linux truetype userland_GNU x86 >>> Unpacking source... >>> Unpacking grub-1.98.tar.gz to /var/tmp/portage/sys-boot/grub-1.98/work * Applying grub-1.96-genkernel.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/sys-boot/grub-1.98/work >>> Compiling source in /var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98 ... * econf: updating grub-1.98/config.sub with /usr/share/gnuconfig/config.sub * econf: updating grub-1.98/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-werror --sbindir=/sbin --bindir=/bin --libdir=/lib --disable-efiemu --enable-grub-mkfont --disable-mm-debug --disable-grub-emu-usb --disable-grub-fstest checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for cmp... cmp checking for bison... bison checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for ruby... /usr/bin/ruby checking for makeinfo... /usr/bin/makeinfo checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98': configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98/config.log * ERROR: sys-boot/grub-1.98 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5989: Called econf '--disable-werror' '--sbindir=/sbin' '--bindir=/bin' '--libdir=/lib' '--disable-efiemu' '--enable-grub-mkfont' '--disable-mm-debug' '--disable-grub-emu-usb' '--disable-grub-fstest' * ebuild.sh, line 544: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sys-boot/grub-1.98', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-1.98'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-1.98/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-1.98/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98' >>> Failed to emerge sys-boot/grub-1.98, Log file: >>> '/var/tmp/portage/sys-boot/grub-1.98/temp/build.log' * Messages for package sys-boot/grub-1.98: * ERROR: sys-boot/grub-1.98 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5989: Called econf '--disable-werror' '--sbindir=/sbin' '--bindir=/bin' '--libdir=/lib' '--disable-efiemu' '--enable-grub-mkfont' '--disable-mm-debug' '--disable-grub-emu-usb' '--disable-grub-fstest' * ebuild.sh, line 544: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sys-boot/grub-1.98', * the complete build log and the output of 'emerge -pqv =sys-boot/grub-1.98'. * The complete build log is located at '/var/tmp/portage/sys-boot/grub-1.98/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-1.98/temp/environment'. * S: '/var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98' * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. livecd / # the overall emerge appears to fall over on another issue now that i have unmerged gcc-4.1.2. Help guys :D
Sorry I had closed it. By accident. - James
configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-boot/grub-1.98/work/grub-1.98/config.log
Just trying to trim back the gcc-config to one profile and remove system config references to gcc-4.2.1. I will keep you posted as I emerge gcc-4.4.3-r2. This grub bug definitely requires the latest gcc, and I see now where ld.so.conf was pulling back the older version that still has the -Wno_all dependency crash associated with it.
please seek support in the forums. bugzilla isnt a place to teach people how to use Gentoo and/or fix their systems. it's for bug reports.