Summary: | sys-boot/grub-1.98: build fails with outdated compiler | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Branch <james> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James Branch
2010-08-23 15:09:03 UTC
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. |