dev-libs/icu-4.4-r1 fails to compile with "configure: error: C compiler cannot create executables" Reproducible: Always Steps to Reproduce: 1.emerge -uav @world 2.dev-libs/icu-4.4-r1 build fails 3. Actual Results: Emerge exits with this output:>>> Emerging (1 of 8) dev-libs/icu-4.4-r1 * icu4c-4_4-src.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-libs/icu-4.4-r1 * REPO: gentoo * USE: elibc_glibc kernel_linux userland_GNU x86 >>> Unpacking source... >>> Unpacking icu4c-4_4-src.tgz to /var/tmp/portage/dev-libs/icu-4.4-r1/work >>> Source unpacked in /var/tmp/portage/dev-libs/icu-4.4-r1/work >>> Preparing source in /var/tmp/portage/dev-libs/icu-4.4-r1/work/icu/source ... * Applying icu-4.4-install_libicutest.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/icu-4.4-r1/work/icu/source ... * econf: updating icu/source/config.sub with /usr/share/gnuconfig/config.sub * econf: updating icu/source/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 --enable-static --disable-debug --disable-samples checking for ICU version numbers... release 4.4, library 44.0, unicode version 5.2 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 i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... configure: error: in `/var/tmp/portage/dev-libs/icu-4.4-r1/work/icu/source': configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/icu-4.4-r1/work/icu/source/config.log * ERROR: dev-libs/icu-4.4-r1 failed: * econf failed * * Call stack: * ebuild.sh, line 48: Called src_configure * environment, line 2873: Called econf '--enable-static' '--disable-debug' '--disable-samples' * ebuild.sh, line 538: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-libs/icu-4.4-r1', * the complete build log and the output of 'emerge -pqv =dev-libs/icu-4.4-r1'. * The complete build log is located at '/var/tmp/portage/dev-libs/icu-4.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/icu-4.4-r1/temp/environment'. * S: '/var/tmp/portage/dev-libs/icu-4.4-r1/work/icu/source' >>> Failed to emerge dev-libs/icu-4.4-r1, Log file: >>> '/var/tmp/portage/dev-libs/icu-4.4-r1/temp/build.log' Expected Results: Successful compilation of dev-libs/icu-4.4-r1. I previously had issues with dev-libs/icu-4.4-r1 causing revdep-rebuild problems as reported in bug #310297. I resolved the issue by applying patches listed in that bug report. Having done so it compiled perfectly and solved revdep-rebuild problem. Thise error is a regression of some type. My emerge --info =dev-libs/icu-4.4-r1 Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11-r1, 2.6.33-zen1 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.33-zen1-i686-Intel-R-_Pentium-R-_M_processor_2.26GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 16 Apr 2010 01:45:02 +0000 app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native mtune=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm /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/skel /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=native mtune=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2 -s" 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="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi akonadi alsa apm audiofile autoipd avahi bash-completion berkdb binfilter bluetooth bonjour branding bzip2 cairo cdda cddax cddb cdio cdparanoia cdr cleartype cli clucene connection-sharing consolekit contrast corefonts cracklib crypt css cups custom-cflags custom-cpuopts custom-optimization cxx dbus dell designer-plugin desktopglobe dga dhclient dhcpcd dirac djvu dri dts dv dvb dvd dvdr ebook editor emboss emovix encode eselect exif extensions faac faad fam fame fat fbcon fbcondecor fbsplash ffmpeg firefox firefox3 flac fortran ftp fts3 gadu gcj gd gdbm ggi gif gimp git glibc-omitfp gmm gmp gnokii gnutls google-gadgets gphoto2 gpm graphite graphviz groupwise grub gtk hal handbook hotpixels httpd hyperestraier iconv icq id3tag ieee1394 imagemagick imlib indi inotify ioctl iodbc ipod ipv6 jabber jack java java6 javascript jce jingle joystick jpeg jpeg2k kate kde kerberos kig-scripting kipi konqueror kontact ladspa lame laptop lastfm lcdfilter lcms ldap lensfun libass libcaca libnotify libproxy libsamplerate libsysfs libtiger libv4l libv4l2 live lm_sensors logrotate lua lzma lzo mad matroska mdnsresponder-compat meanwhile mikmod mime mjpeg mmx mng modplug modules mozilla mp3 mp3tunes mp4 mpeg mplayer msn mtp mudflap musepack musicbrainz mysql mysqli ncurses networkmanager nls nntp npp nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc odbc offensive ogg openal openexr opengl openmp optimized-qmake oscar otr pam pango pch pcmcia pcre pdf perl plasma pm-utils pmu png pnm policykit posix ppds ppp pppd python qalculate qt-dbus qt-webkit qt3support qt4 qtmultimedia qtscript quicktime radio raw rdesktop rdp readline reflection resolvconf rss rtc rtsp samba sasl scanner schroedinger sdl sdl-image secure-delete semantic-desktop session shout skins sms sndfile solver sox speex spell spl sql sqlite sse sse2 ssl startup-notification stream svg svga symlink sysfs system-sqlite taglib tcl tcpd templates theora threads thumbnail tidy tiff tk truetype twolame udev unicode usb v4l v4l2 vcd vcdinfo vcdx vhook vidix vlm vnc vorbis watchdog wavpack webpresence wicd wifi win32codecs windeco winpopup wma wma-fixed wmf wpd wpg wv2 wxwidgets wxwindows x264 x86 xanim xattr xcb xcomposite xinerama xml xmlpatterns xorg xscreensaver xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m" 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="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Output of emerge -pqv =dev-libs/icu-4.4-r1 [ebuild U ] dev-libs/icu-4.4-r1 [4.4] USE="-debug -doc -examples" ------------------------------------------------------------------------------------------------------------------------------------------------------------------ My build log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.63. Invocation command line was $ ./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 --enable-static --disable-debug --disable-samples ## --------- ## ## Platform. ## ## --------- ## hostname = odysseus uname -m = i686 uname -r = 2.6.33-zen1 uname -s = Linux uname -v = #1 ZEN PREEMPT Sun Apr 11 11:34:38 EDT 2010 /usr/bin/uname -p = Intel(R) Pentium(R) M processor 2.26GHz /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lib/portage/bin/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.4.3 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1943: checking for ICU version numbers configure:1980: result: release 4.4, library 44.0, unicode version 5.2 configure:2023: checking build system type configure:2041: result: i686-pc-linux-gnu configure:2063: checking host system type configure:2078: result: i686-pc-linux-gnu configure:2100: checking target system type configure:2115: result: i686-pc-linux-gnu configure:2158: checking for i686-pc-linux-gnu-gcc configure:2174: found /usr/bin/i686-pc-linux-gnu-gcc configure:2185: result: i686-pc-linux-gnu-gcc configure:2457: checking for C compiler version configure:2465: i686-pc-linux-gnu-gcc --version >&5 i686-pc-linux-gnu-gcc (Gentoo 4.4.3 p1.0) 4.4.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2469: $? = 0 configure:2476: i686-pc-linux-gnu-gcc -v >&5 Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-checking --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.4.3/python --enable-java-awt=gtk --with-arch=i686 --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.3 p1.0' Thread model: posix gcc version 4.4.3 (Gentoo 4.4.3 p1.0) configure:2480: $? = 0 configure:2487: i686-pc-linux-gnu-gcc -V >&5 i686-pc-linux-gnu-gcc: '-V' option must have argument configure:2491: $? = 1 configure:2514: checking for C compiler default output file name configure:2536: i686-pc-linux-gnu-gcc -O2 -march=native mtune=native -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 i686-pc-linux-gnu-gcc: mtune=native: No such file or directory configure:2540: $? = 1 configure:2578: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2584: error: in `/var/tmp/portage/dev-libs/icu-4.4-r1/work/icu/source': configure:2587: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -march=native mtune=native -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -march=native mtune=native -pipe' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_prog_CC=i686-pc-linux-gnu-gcc ac_cv_target=i686-pc-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' ARFLAGS='' CC='i686-pc-linux-gnu-gcc' CFLAGS='-O2 -march=native mtune=native -pipe' COMPILE_LINK_ENVVAR='' CPP='' CPPFLAGS='' CXX='' CXXFLAGS='-O2 -march=native mtune=native -pipe' DATA_PACKAGING_MODE='' DEFS='' DOXYGEN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_DEBUG='' ENABLE_RELEASE='' ENABLE_RPATH='' ENABLE_SHARED='' ENABLE_STATIC='' EXEEXT='' EXTRAS_TRUE='' GENCCODE_ASSEMBLY='' GREP='' HAVE_INT16_T='' HAVE_INT32_T='' HAVE_INT64_T='' HAVE_INT8_T='' HAVE_MMAP='' HAVE_UINT16_T='' HAVE_UINT32_T='' HAVE_UINT64_T='' HAVE_UINT8_T='' ICUDATA_CHAR='' ICUIO_TRUE='' ICULIBSUFFIX='' ICULIBSUFFIXCNAME='' ICU_USE_THREADS='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LAYOUT_TRUE='' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBCFLAGS='' LIBCXXFLAGS='' LIBOBJS='' LIBS='' LIB_M='' LIB_THREAD='' LIB_VERSION='44.0' LIB_VERSION_MAJOR='44' LTLIBOBJS='' OBJEXT='' PACKAGE='icu' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='' SAMPLES_TRUE='' SHELL='/bin/sh' TESTS_TRUE='' THREADS_TRUE='' UCLN_NO_AUTO_CLEANUP='' UNICODE_VERSION='5.2' U_CHECK_DYLOAD='' U_CHECK_GNUC_UTF16_STRING='' U_CHECK_UTF16_STRING='' U_DEFAULT_SHOW_DRAFT='' U_DISABLE_RENAMING='' U_ENABLE_DYLOAD='' U_ENABLE_TRACING='' U_HAVE_DIRENT_H='' U_HAVE_GCC_ATOMICS='' U_HAVE_INTTYPES_H='' U_HAVE_LIB_SUFFIX='' U_HAVE_NAMESPACE='' U_HAVE_NL_LANGINFO_CODESET='' U_HAVE_PLACEMENT_NEW='' U_HAVE_POPEN='' U_HAVE_STD_STRING='' U_HAVE_TIMEZONE='' U_HAVE_TZNAME='' U_HAVE_TZSET='' U_HAVE_WCHAR_H='' U_HAVE_WCSCPY='' U_INLINE='' U_IOSTREAM_SOURCE='' U_IS_BIG_ENDIAN='' U_MAKE='' U_NL_LANGINFO_CODESET='' U_OVERRIDE_CXX_ALLOCATION='' U_SIZEOF_WCHAR_T='' U_TIMEZONE='' U_TZNAME='' U_TZSET='' U_USE_GCC_VISIBILITY_ATTRIBUTE='' VERSION='4.4' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='i686-pc-linux-gnu' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cross_buildroot='' cross_compiling='no' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='i686-pc-linux-gnu' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var/lib' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' pkgicudatadir='' platform='' platform_make_fragment='' platform_make_fragment_name='' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' thepkgicudatadir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" configure: exit 77
> CFLAGS="-O2 -march=native mtune=native -pipe" You're missing a '-' before mtune.
Created attachment 227983 [details] dev-libs/icu-4.4-r1 build environment
(In reply to comment #2) > > CFLAGS="-O2 -march=native mtune=native -pipe" > You're missing a '-' before mtune. > Damn, now I feel like a total idiot! You're right on the money. I was messing with my make.conf last night changing some use flags and I must have cut-off the leading "-" sign before mtune by mistake. My bad! Never mind, it compiles fine now. Marking as fixed now. Thanks!