Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404957 - gnustep-base/gnustep-base-1.24.0 fails to build with gcc-4.6.2
Summary: gnustep-base/gnustep-base-1.24.0 fails to build with gcc-4.6.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.6
  Show dependency tree
 
Reported: 2012-02-20 04:00 UTC by Sergey Ilinykh
Modified: 2012-02-20 20: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 Sergey Ilinykh 2012-02-20 04:00:43 UTC
configure stops on

configure:12794: checking whether objc really works
configure:12824: x86_64-pc-linux-gnu-gcc -o conftest -march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -flo
op-interchange -floop-block -fira-loop-pressure  -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include  -fgnu-runtime -x objecti
ve-c -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/lib64 conftest.c -lrt -ldl  -lpthread 
-rdynamic -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -pthread -fgnu-runtime -L/home/portage/build/portage/gnustep-base/gnustep-base-1.24.0/homed
ir/GNUstep/Library/Libraries -L/usr/local/lib64 -L/usr/lib64 -l:libobjc.so.2 -lm     >&5
In file included from ./config/config.objc.m:2:0,
                 from conftest.c:97:
./config/objc-common.g:23:1: warning: cannot find interface declaration for 'NXConstantString' [enabled by default]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libobjc.so.2
collect2: ld returned 1 exit status
configure:12828: $? = 1
configure: program exited with status 1



gcc-4.6.2 has libobjc.so.3 but not libobjc.so.2


emerge --info gnustep-base/gnustep-base
Portage 2.2.0_alpha87 (default/linux/amd64/10.0/developer, gcc-4.6.2, glibc-2.14.1-r2, 3.2.5-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.5-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-gentoo-2.1
Timestamp of tree: Sun, 19 Feb 2012 12:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo rion x11 sunrise qt test
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -floop-interchange -floop-block -fira-loop-pressure"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -floop-interchange -floop-block -fira-loop-pressure"
DISTDIR="/home/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache digest distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j1"
PKGDIR="/home/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="/home/portage/build"
PORTDIR="/home/portage/portage"
PORTDIR_OVERLAY="/var/lib/layman/rion /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/qt /home/rion/projects/test-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus dri dts dv dvb dvd dvdr emboss encode exif faac faad fam ffmpeg firefox flac fuse gdu gif glitz gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk3 h323 iconv idn ipv6 jabber java6 jingle jpeg jpeg2k lcms libcanberra libnotify mad mmx mng modplug modules mp3 mp4 mpeg mtp mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pch pcmcia pcre pdf png policykit ppds pppd qt3support qt4 readline rtmp samba schroedinger sdl session sip smp snmp speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora threads thunar tiff tokenizer truetype udev unicode upnp usb v4l v4l2 vaapi vhosts vnc vorbis vpx webkit wifi x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" 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" 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="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NETBEANS_MODULES="apisupport harness ide nb websvccommon php profiler webcommon cnd ergonomics dlight" NGINX_MODULES_HTTP="dav fastcgi flv access auth_basic autoindex charset browser empty_gif gzip map memcached rewrite userid" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel i965" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

gnustep-base/gnustep-base-1.22.1 was built with the following:
USE="icu libffi (multilib) ssl -debug -doc -zeroconf"


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-20 20:04:50 UTC
Please attach the entire build log to this bug report, and the config.log.
Comment 2 Bernard Cafarelli gentoo-dev 2012-02-20 20:22:31 UTC
Thanks for the report (and early warning for gcc-4.6)!

In gnustep-make we now set the libobjc.so to use explicitely, but it lacked a test for libobjc.so.3

I have update gnustep-make-2.6.2 ebuild to test this version too. It should properly warn to rebuild gnustep packages now.

Luckily gnustep-updater-0.2 supports finding and rebuilding gnustep packages depending on the incorrect libobjc.so now