Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 548714

Summary: dev-lang/gnat-gpl- : configure: error: installation or configuration problem: C compiler cannot create executables.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: ada team [OBSOLETE] <ada+disabled>
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge log

Description Toralf Förster gentoo-dev 2015-05-05 19:53:12 UTC
Created attachment 402728 [details]
emerge log

[ ok ]
 * Applying 74_all_sh-pr24836.patch ...
 [ ok ]
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed fixincludes/configure
 *  - fixed gcc/configure
 *  - fixed gnattools/configure
 *  - fixed intl/configure
 *  - fixed libada/configure
 *  - fixed libcpp/configure
 *  - fixed libffi/configure
 *  - fixed libiberty/configure
 *  - fixed libmudflap/configure
 *  - fixed libssp/configure
 * Running elibtoolize in: gcc-4.1.3/
 *   Applying install-sh/1.5.4 patch ...
 *   Applying ltmain/1.5 patch ...
 *   Applying portage/1.5.10 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying test/1.4.0 patch ...
 *   Applying tmp/1.3.5 patch ...
 *   Applying as-needed/1.5 patch ...
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating config.sub
 [ ok ]
 *   Updating config.guess
 [ ok ]
 * Fixing misc issues in configure files
 *   Updating /var/tmp/portage/dev-lang/gnat-gpl- ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-lang/gnat-gpl-
>>> Compiling source in /var/tmp/portage/dev-lang/gnat-gpl- ...
 * confgcc= --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --enable-nls --without-included-gettext 					--with-system-zlib 					--disable-checking 					--disable-werror 					--disable-libgomp 					--disable-libmudflap 					--disable-libssp 					--disable-libunwind-exceptions --enable-threads=posix --enable-shared --enable-multilib --enable-__cxa_atexit --enable-clocale=gnu
loading site script /usr/share/
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /var/tmp/portage/dev-lang/gnat-gpl-
checking whether the C compiler (/var/tmp/portage/dev-lang/gnat-gpl- -march=native -O2 -pipe -L/var/tmp/portage/dev-lang/gnat-gpl- works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
 * ERROR: dev-lang/gnat-gpl- failed (compile phase):
 *   configure failed
 * Call stack:
 *, line   93:  Called src_compile
 *   environment, line 3766:  Called gnatbuild_src_compile
 *   environment, line 2443:  Called gnatbuild_src_compile 'all'
 *   environment, line 2447:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap' 'gnatlib_and_tools' 'gnatlib-shared'
 *   environment, line 2522:  Called die
 * The specific snippet of code:
 *                       CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" "${S}"/configure --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${INCLUDEPATH} --libdir="${LIBPATH}" --libexecdir="${LIBEXECPATH}" --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --program-prefix=gnat --enable-languages="c,ada" --with-gcc ${confgcc} || die "configure failed"
 * If you need support, post the output of `emerge --info '=dev-lang/gnat-gpl-'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/gnat-gpl-'`.
 * The complete build log is located at '/var/log/portage/dev-lang:gnat-gpl-'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/gnat-gpl-'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gpl-'.
 * Working directory: '/var/tmp/portage/dev-lang/gnat-gpl-'
 * S: '/var/tmp/portage/dev-lang/gnat-gpl-'

The log is stored in /var/log/portage/_emerge_20150505-213732.log
quick search:
Maintainer :
maintainer : 
herd       : ada

This is an unstable amd64 chroot image (named amd64-unstable_20150501-132513) at a hardened host acting as a tinderbox.

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 3.19.6-hardened-r2 x86_64)
System uname: Linux-3.19.6-hardened-r2-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164756 total,   5257504 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 05 May 2015 15:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.1) 2.25
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.14::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

    location: /usr/local/portage
    masters: gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 9999

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/entropy /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi aes-ni alsa amd64 apache2 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative designer dnssec dot dri drmkms dts dvd dvdr ecc emboss encode exif extraengine fam ffmpeg firefox flac fontconfig fortran fpm gd gdbm gif glamor gpm gtk gudev gui iconv icu isag jadetex jpeg kde kipi kvm lapack lcms libkms libnotify libvirtd logrotate mad mbox minizip mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pango pax_kernel pcre pcre16 pdf phonon plasma png policykit ppds pwquality python qemu qt3support qt4 readline scrpyt sdl session spell spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 startup-notification svg tcpd theora thinkpad threads tiff tk tls truetype udev udisks uml unicode upower usb usbredir uxa v4l v4l2 video vorbis wxwidgets x264 xa xcb xcomposite xinerama xkb xml xmp xscreensaver xslt xv xvfb xvid xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
Comment 1 Ben Kohler gentoo-dev 2015-05-05 19:58:29 UTC

*** This bug has been marked as a duplicate of bug 421739 ***