Udpate emerge --sync, sci-libs/blas-reference fails to build Reproducible: Always Steps to Reproduce: 1. emerge --with-bdeps y -uavDN world 2. sci-libs/blas-reference-20070226 build fails emerge --info : Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 17 Dec 2010 09:00:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA sun-prerelease-jdk7 dlj-1.1 AdobeFlash-10 AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O3 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="fr fr_FR" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/var/lib/layman/mozilla /var/lib/layman/ceric35 /var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif gnome gtk iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd pulseaudio python qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype type1 unicode usb vhosts vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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_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 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgid proxy proxy_ajp proxy_http" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge --with-bdeps y -uavDN world output : These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sci-libs/blas-reference-20070226 USE="-doc (-debug%)" 0 kB [ebuild U ] app-editors/vim-core-7.3.50 [7.2.442] USE="acl bash-completion nls -livecd" 0 kB [ebuild U ] app-editors/vim-7.3.50 [7.2.442] USE="X acl bash-completion nls perl python -cscope -debug -gpm -minimal -ruby -vim-pager" 0 kB Total: 3 packages (2 upgrades, 1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 3) sci-libs/blas-reference-20070226 * lapack-lite-3.1.1.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sci-libs/blas-reference-20070226 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * Using Intel Fortran at your own risk >>> Unpacking source... >>> Unpacking lapack-lite-3.1.1.tgz to /var/tmp/portage/sci-libs/blas-reference-20070226/work * Applying blas-reference-20070226-autotool.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: lapack-lite-3.1.1/ * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source unpacked in /var/tmp/portage/sci-libs/blas-reference-20070226/work >>> Compiling source in /var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1 ... * econf: updating lapack-lite-3.1.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating lapack-lite-3.1.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64/blas/reference 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 for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-cf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-pghpf... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether the Fortran 77 compiler works... no configure: error: in `/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1': configure: error: Fortran 77 compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1/config.log * ERROR: sci-libs/blas-reference-20070226 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3232: Called econf '--libdir=/usr/lib64/blas/reference' * ebuild.sh, line 552: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sci-libs/blas-reference-20070226', * the complete build log and the output of 'emerge -pqv =sci-libs/blas-reference-20070226'. * The complete build log is located at '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/environment'. * S: '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1' >>> Failed to emerge sci-libs/blas-reference-20070226, Log file: >>> '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/build.log' * Messages for package sci-libs/blas-reference-20070226: * Using Intel Fortran at your own risk * ERROR: sci-libs/blas-reference-20070226 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3232: Called econf '--libdir=/usr/lib64/blas/reference' * ebuild.sh, line 552: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sci-libs/blas-reference-20070226', * the complete build log and the output of 'emerge -pqv =sci-libs/blas-reference-20070226'. * The complete build log is located at '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/environment'. * S: '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'
And config.log ?
Created attachment 257413 [details] config loh
I have the same error, attached my config.log. >>> Emerging (1 of 1) sci-libs/blas-reference-20070226-r2 * lapack-lite-3.1.1.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sci-libs/blas-reference-20070226-r2 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: doc elibc_glibc kernel_linux userland_GNU x86 * Using Intel Fortran at your own risk >>> Unpacking source... >>> Unpacking lapack-lite-3.1.1.tgz to /var/tmp/portage/sci-libs/blas-reference-20070226-r2/work >>> Source unpacked in /var/tmp/portage/sci-libs/blas-reference-20070226-r2/work >>> Preparing source in /var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1 ... * Applying blas-reference-20070226-autotool.patch ... [ ok ] * Applying blas-reference-20070226-pkg-config.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: lapack-lite-3.1.1/ * Applying portage-1.2.0.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1 ... * econf: updating lapack-lite-3.1.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating lapack-lite-3.1.1/config.sub with /usr/share/gnuconfig/config.sub ./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 --libdir=/usr/lib/blas/reference 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 for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-cf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-pghpf... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether the Fortran 77 compiler works... no configure: error: in `/var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1': configure: error: Fortran 77 compiler cannot create executables See `config.log' for more details !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1/config.log * ERROR: sci-libs/blas-reference-20070226-r2 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 3231: Called econf '--libdir=/usr/lib/blas/reference' * ebuild.sh, line 552: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sci-libs/blas-reference-20070226-r2', * the complete build log and the output of 'emerge -pqv =sci-libs/blas-reference-20070226-r2'. * The complete build log is located at '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/temp/environment'. * S: '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1' >>> Failed to emerge sci-libs/blas-reference-20070226-r2, Log file: >>> '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/temp/build.log' * Messages for package sci-libs/blas-reference-20070226-r2: * Using Intel Fortran at your own risk * ERROR: sci-libs/blas-reference-20070226-r2 failed: * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 3231: Called econf '--libdir=/usr/lib/blas/reference' * ebuild.sh, line 552: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sci-libs/blas-reference-20070226-r2', * the complete build log and the output of 'emerge -pqv =sci-libs/blas-reference-20070226-r2'. * The complete build log is located at '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/temp/environment'. * S: '/var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1' googly sci-libs # emerge --info Portage 2.2.0_alpha9 (default/linux/x86/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-zen1 i686) ================================================================= System uname: Linux-2.6.36-zen1-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 17 Dec 2010 09:15:03 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1, 3.1.3 dev-util/cmake: 2.8.3 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo lcd-filtering kde mozilla Bugzilla ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 skype-eula PUEL" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="en_IN.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB hi" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/kde /var/lib/layman/mozilla /var/lib/layman/bugzilla" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cscope cups cxx dbus djvu doc dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif gphoto2 gpm gstreamer gtk hal handbook iconv imagemagick java jpeg kde lcms ldap libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline samba scanner sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs syslog tcpd theora tiff truetype unicode usb v4l2 vim-syntax vorbis wavpack win32codecs x264 x86 xcb xcomposite xml xorg xulrunner xv xvid xvmc 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB hi" NETBEANS_MODULES="*" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I hit the same error with sci-libs/blas-reference-20070226-r2 in unstable x86. Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.5.1, glibc-2.12.1-r3, 2.6.28-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 17 Dec 2010 09:45:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1, 3.1.3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1,--as-needed" LINGUAS="en_US en el" MAKEOPTS="-j3" PKGDIR="/opt/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" PORTDIR_OVERLAY="/usr/local/overlays/0mesa" SYNC="rsync://rsync.gr.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" KERNEL="linux" LINGUAS="en_US en el" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS and the part of the config.log that fails: <snip> configure:2804: i686-pc-linux-gnu-gfortran --version >&5 GNU Fortran (Gentoo 4.5.1-r1 p1.3, pie-0.4.5) 4.5.1 Copyright (C) 2010 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING configure:2815: $? = 0 configure:2804: i686-pc-linux-gnu-gfortran -v >&5 Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.5.1/i686-pc-linux-gnu-gfortran COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1-r1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1-r1 p1.3, pie-0.4.5' Thread model: posix gcc version 4.5.1 (Gentoo 4.5.1-r1 p1.3, pie-0.4.5) configure:2815: $? = 0 configure:2804: i686-pc-linux-gnu-gfortran -V >&5 i686-pc-linux-gnu-gfortran: '-V' option must have argument configure:2815: $? = 1 configure:2804: i686-pc-linux-gnu-gfortran -qversion >&5 i686-pc-linux-gnu-gfortran: unrecognized option '-qversion' i686-pc-linux-gnu-gfortran: no input files configure:2815: $? = 1 configure:2830: checking whether the Fortran 77 compiler works configure:2852: i686-pc-linux-gnu-gfortran -O1 --as-needed conftest.f >&5 f951: error: unrecognized command line option "-fas-needed" configure:2856: $? = 1 configure:2894: result: no configure: failed program was: | program main | | end configure:2899: error: in `/var/tmp/portage/sci-libs/blas-reference-20070226-r2/work/lapack-lite-3.1.1': configure:2901: error: Fortran 77 compiler cannot create executables See `config.log' for more details </snip> Maybe something with the fortran eclass removal and some --as-needed filtering/issue??
I fixed some mistakes which I had overseen yesterday during the removal. Please sync and test gain.
Just synced, same error for me.
you'll probably have to wait until the fixed ebuild has been synced to the mirrors. It's an easy fix anyway. If you are in a hurry just replace the '=~' in line number 28 with a '==' in the ebuild. .. or you replace the 'if*' with 'if.*' ...depends on your taste ... I would use the first solution because it saves you one char. ;)
Sadly that's not the fix. I am working on it.
Why not! Too me it looks as if you just used the regex comparison operator '=~' but mistakenly used a glob pattern on the right hand side. This led to a wrong detection of the Intel Fortran Compiler which in turn passed the raw LDFLAGS (which the Intel compiler seemingly is in need of) to the used compiler regardless of its type. ... or am I wrong?
it doesn't work, because [[ x86_64-pc-linux-gnu-gfortran =~ if* ]] is evaluated as true.
exactly! so just do [[ x86_64-pc-linux-gnu-gfortran == if* ]] or if you wnat to stick to '=~' [[ x86_64-pc-linux-gnu-gfortran =~ if.* ]] because '=~' uses regular expressions for comparisons.
Sorry for that one, fixed now.
Are you sure this is now fixed? I am getting this very issue and I'm using today's portage tree (I even see the "Fix for bug 348935" entry in ChangeLog).
(In reply to comment #13) > Are you sure this is now fixed? I am getting this very issue and I'm using > today's portage tree (I even see the "Fix for bug 348935" entry in ChangeLog). > Could you please attach your build.log and the output of emerge --info sci-libs/blas-reference, please.
Nevermind, I realized that my gcc was built without "fortran" USE flag. Probably should put that into dependencies, what with this being a Fortran package, eh?
Created attachment 260087 [details] cinfig log
Created attachment 260088 [details] build log
Created attachment 260089 [details] cinfig log
I am having the same issue. GCC has been built with fortran. checking whether the Fortran 77 compiler works... no configure: error: in `/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1': configure: error: Fortran 77 compiler cannot create executables See `config.log' for more details.
# emerge --info =sci-libs/blas-reference-20070226 Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r3, 2.6.34-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-1.12.13 Timestamp of tree: Mon, 17 Jan 2011 05:45:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US en" 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.namerica.gentoo.org/gentoo-portage" USE="7zip X aalib abiword accessibility acl acpi aim akonadi alias applet asf aspell automount autoreplace avahi bash-completion bitmap-fonts bittorrent bonobo bzip2 cairo calendar cdf cdr chipcard chipcard2 chroot commercial contactnotes crypt cscope css cups cupsddk curl curlwrappers cxx dbi dbus dcraw devmap dga dhcp dillo dio disablexmb dmi dpms dri dv dvb dvd dvdr dvdread dynamic ecc edl eds emoticon encode epson erandom escreen ethereal evo evolution exceptions exif exo extensions extrafilters extras fame fat ffmpeg firefox firefox3 flash flatfile font-server foomaticdb fpx ftp fts3 gaim gatos gd gdbm ggi gif gimp gimpprint gkrellm glade glib glibc-omitfp gmp gnome gnome-print gnomedb gnustep gnutls gphoto2 gpm grammar gs gtk gtk2 gtkhtml guile hal hbci hdf hdf5 highlight history howl hpcups hpijs hpn httpd hyperwave-api i8x0 iconv icq icu id3 idea idn ieee1394 ifp imagemagick imap imlib imlib2 immqt-bc innodb irc jabber java javascript jbig jcs jfs jpeg jpeg2k kde kdehiddenvisibility kdepim kino konqueror lcms lesstif libcaca libgda libsexy linuxthreads-tls live logrotate logwatch lpr ltsp lzo lzw maildir matroska mbox mcal mcve md5sum mdb mdnsresponder-compat memlimit mew mhash mime mimencode ming mjpeg mmx mmxext mng mono mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mp4 mp4live mpeg mpeg2 mppe-mppc msession msn multiuser musepack mysql na_dd nautilus ncurses network networking new-login nfs nls noaudio nptl nptlonly nsplugin ntlm nxclient objc offensive office ofx oggvorbis opendoc opengl openssl opensslcrypt opera oscar pam panel-plugin parse-clocks passfile pcntl pdf perl physfs pic png policykit ppds prelude print ps python qemu-fast qt qt-static qt3support qt4 quicktime quotes raptor rar rc5 rdesktop readline redland regex reiserfs restrict-javascript rss rtc rtsp samba sametime scanner semantic-desktop server sftp sftplogging sguil shared sharedmem silc silverxp slang slp smbclient smime sms sndfile soap sockets sox speedo spell sql sqlite sse sse2 ssl statistics stream subp subtitles subversion svg svga symlink sysfs syslog sysvipc tcltk tcpd texteffect tga theora thesaurus threads threadsafe thumbnail thunar-vfs tiff tk tokenizer toolbar transcode truetype truetype-fonts type1 udev unicode unzip upnp usb utils uudeview v4l v4l2 vcd vcdimager vfat vhosts vidix vim vim-pager vim-with-x virtuoso vlm vnc webdav webkit webpresence widescreen win32codecs winpopup wmf wordperfect wxwindows x86 xanim xcb xcomposite xforms xfs xft xine xinetd xml xml2 xmlreader xmlrpc xorg xpdf-headers xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo yv12 zip zlib" ALSA_CARDS="maestro3" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="via apm savage fbdev glint vesa v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 260093 [details] environment
# cat package.use sys-fs/lvm2 static media-video/ffmpeg -pic app-text/poppler -exceptions sys-devel/gcc fortran
Please post the output of i686-pc-linux-gnu-gfortran -v
# i686-pc-linux-gnu-gfortran -v bash: i686-pc-linux-gnu-gfortran: command not found
(In reply to comment #24) > # i686-pc-linux-gnu-gfortran -v > bash: i686-pc-linux-gnu-gfortran: command not found > try gfortran -v and if this also fails, you know that you don't have a fortran compiler.
gfortran-4.4.4 was in /usr/bin but there was no gfortran in /usr/bin. I created a symlink and now I get: # gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/gcc-4.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp --disable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.4/python --enable-checking=release --disable-libgcj --with-arch=i686 --enable-languages=c,c++,objc,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.4-r2 p1.3, pie-0.4.5' Thread model: posix gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.3, pie-0.4.5) # i686-pc-linux-gnu-gfortran -v bash: i686-pc-linux-gnu-gfortran: command not found
gcc-config -l output pleaase
# gcc-config -l [1] i686-pc-linux-gnu-4.3.4 * [2] i686-pc-linux-gnu-4.4.4 I have now switched to i686-pc-linux-gnu-4.4.4 and that connects with /usr/bin/gfortran now. It is now compiling and recognizes fortran. Thanks