When it comes to upgrade from openldap-2.4.19-r1 to openldap-2.4.23 and start building (emerge). I got an emake failed. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge --update --deep --newuse world (got error) 3. even try "emerge -av openldap" and got error 4. Upgraded my kernel from 2.6.34-r6 to 2.6.34-r12 5. emerge --update --deep --newuse world (get error) 6. & try to "emerge -av openldap" and got error Actual Results: .libs/bind.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[2]: *** [libldap_r.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.23/work/openldap-2.4.23/libraries/libldap_r' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.23/work/openldap-2.4.23/libraries' make: *** [all-common] Error 1 * ERROR: net-nds/openldap-2.4.23 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3399: Called die * The specific snippet of code: * emake CC="${CC}" AR="${AR}" || die "emake failed"; This openldap is used in my php, samba, cups, wine, apache, autofs, curl, openssh, libnfsidmap, virtuoso-server, kdepimlibs, libnfsidmap, gconf, cyrus-sasl & apr-util. I have tried to unmerge all of the one mentioned and try to run the "emerge --update --deep --newuse world" again so that it will not try to emerge the openldap again. But somehow it try to emerge openldap. Wanted to update my system but couldn't as it always have this emake failed. Becos I do not have openldap installed, all of my above apps is not able to use them properly.
Created attachment 251751 [details] build log
Created attachment 251753 [details] build environment file
# emerge --info =net-nds/openldap-2.4.23 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r12 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r12-x86_64-Intel-R-_Xeon-R-_CPU_E3120_@_3.16GHz-with-gentoo-1.12.13 Timestamp of tree: Sun, 24 Oct 2010 00:15:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 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.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* - [at]EUL dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp/swin.edu.au/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US zh_CN" 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.au.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acc acl acpi alsa amd64 amr amuled apache2 avi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dga directfb divx4linux dri dts dv dvb dvd dvdnav dvdr dvdread emboss encode exif extensions extra-tools extras fam fbcon ffmpeg firefox flac flatfile fontconfig fortran frame gd gdbm gif gpm gtk hal hddtemp http iconv jack java javascript jpeg kde lcms ldap libnotify lirc live lm_sensors lzo mad matroska melt midi mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib nas ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rc readline samba sdl semantic-desktop session spell sqlite sse sse2 ssl ssse3 startup-notification subtitle subtitles svg symlink sysfs tcpd theora tiff tokenizer tools truetype unicode usb v4l2 vcd vdpau vorbis webdav-neon x264 xanim xanium xcb xcomposite xine xinerama xml xorg xscreensaver 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 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh_CN" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa v4l vmware" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 251755 [details] config.log from reproduction
Please turn off ccache and test again.