Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481484 - dev-lang/gnat-gcc: fails to build under uclibc
Summary: dev-lang/gnat-gcc: fails to build under uclibc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 20:08 UTC by shafire
Modified: 2014-06-10 11:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shafire 2013-08-17 20:08:07 UTC
[20:19] <@blueness> shafire, i can get gnat under uclibc if you like
[21:04] <@blueness> shafire, i have to look at it later today, but i will!
[21:08] <@blueness> shafire, you can always just open a bug report

Available Binaries and Sources: http://libre.adacore.com/download/configurations
Comment 1 shafire 2013-08-17 20:21:21 UTC
Please assign it to blueness.
Comment 2 shafire 2013-08-17 23:41:37 UTC
### --> Reproducibility:
Happens every time.

### --> Steps to Reproduce
1. emerge gnat-gcc

### --> Actual Results
checking for x86_64-gentoo-linux-uclibc-gcc... /var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/usr/bin/gnatgcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
 * ERROR: dev-lang/gnat-gcc-4.3.5 failed (compile phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3996:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *   environment, line 2716:  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-gcc-4.3.5'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/gnat-gcc-4.3.5'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build'
 * S: '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5'

>>> Failed to emerge dev-lang/gnat-gcc-4.3.5, Log file:

>>>  '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/temp/build.log'

 * Messages for package dev-lang/gnat-gcc-4.3.5:

 * ERROR: dev-lang/gnat-gcc-4.3.5 failed (compile phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3996:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *   environment, line 2716:  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-gcc-4.3.5'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/gnat-gcc-4.3.5'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build'
 * S: '/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5'

### --> Expected Results
gnatmake can compile Ada programs.
Comment 3 shafire 2013-08-18 07:14:24 UTC
### --> emerge --info '=dev-lang/gnat-gcc-4.3.5'

Portage 2.1.12.2 (hardened/linux/uclibc/amd64, gcc-4.6.3, uclibc-0.9.33.2-r4, 3.8.12-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.12-hardened-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4045380 total,   3751096 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Sat, 17 Aug 2013 23:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/uclibc:          0.9.33.2-r4
Repositories: gentoo x-hardened-development
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-linux-uclibc"
CFLAGS="-fstack-check -O2 -pipe"
CHOST="x86_64-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-fstack-check -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hardened-development"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac aalib acl alsa amd64 amr apng artworkextra ass avahi bash-completion berkdb bidi bindist bl bluray bs2b bzip2 cairo caps cddb cdio cdparanoia cli cpudetection cracklib crypt cups curl cxx dbus dga dirac directfb dri dts dv dvb dvd encode exif extras fbcon ffmpeg flac fontforge fortran ftp g3dvl gdbm ggi gif git gmp gnutls graphite gsm gtk gtk3 gudev guile hardened hwdb iconv icu idn ipv6 jack joystick jpeg jpeg2k keymap kmod ladspa lame latex lcms libass libcaca libmpeg2 libnotify libv4l lpsol lzma lzo mad math mbox md5sum mmx mmxext mng mod modplug modules mp3 mpeg mudflap musepack musicbrainz nas natspec ncurses networking nptl nut objc objc++ objc-gc ogg openal opengl openmp openxml oss pax_kernel pcre pdf perl pic pkcs11 png pnm portaudio postproc pulseaudio pvr python qt4 quicktime quvi radio readline rtmp ruby samba sasl schroedinger sdl sdlgfx session smp speex spell sqlite sse sse2 ssl ssse3 static-libs svg taglib tcl tcpd tga theora thesaurus threads thunar tiff tk uclibc unicode unlock-notify utils uuid v4l vaapi vcd vim-syntax vorbis vpx watchdog webkit wmf wordperfect xanim xattr xcb xinerama xmp xscreensaver xtpax xv xvid xvmc zeroconf zlib zoran" 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" ELIBC="uclibc" 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="acecad aiptek elographics evdev fpit hyperpen joystick keyboard mouse mutouch penmount synaptics tslib void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark ast chips cirrus epson fbdev glint i128 i740 intel mach64 mga modesetting nouveau nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa" XFCE_PLUGINS="trash menu logout" 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, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON