Everything works fine until: [...] /usr/bin/msgfmt -c -o subversion/po/pt_BR.mo subversion/po/pt_BR.po /usr/bin/msgfmt -c -o subversion/po/sv.mo subversion/po/sv.po /usr/bin/msgfmt -c -o subversion/po/zh_CN.mo subversion/po/zh_CN.po /usr/bin/msgfmt -c -o subversion/po/zh_TW.mo subversion/po/zh_TW.po cd subversion/libsvn_subr && /bin/sh /var/tmp/portage/dev-util/subversion-1.5.0/work/subversion-1.5.0/libtool --tag=CC --silent --mode=link i686-pc-linux-gnu-gcc -O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -Wl,-O1 -L/usr/local/lib -rpath /usr/lib -o libsvn_subr-1.la atomic.lo auth.lo cmdline.lo compat.lo config.lo config_auth.lo config_file.lo config_win.lo constructors.lo ctype.lo date.lo dso.lo error.lo hash.lo io.lo iter.lo kitchensink.lo lock.lo md5.lo mergeinfo.lo nls.lo opt.lo path.lo pool.lo prompt.lo properties.lo quoprint.lo simple_providers.lo sorts.lo ssl_client_cert_providers.lo ssl_client_cert_pw_providers.lo ssl_server_trust_providers.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo user.lo username_providers.lo utf.lo utf_validate.lo validate.lo version.lo win32_crashrpt.lo win32_xlate.lo xml.lo /usr/lib/libaprutil-1.la /usr/lib/libapr-1.la -lexpat -lz /usr/lib/libaprutil-1.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1 * * ERROR: dev-util/subversion-1.5.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5717: Called die * The specific snippet of code: * emake local-all || die "Building of core Subversion failed"; * The die message: * Building of core Subversion failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/subversion-1.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/subversion-1.5.0/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info Reproducible: Always Steps to Reproduce: 1. emerge apache-2.2.9 (~x86) 2. try to emerge subversion (x86 or ~x86) Actual Results: Compilation fails. emerge --info output: Portage 2.2_rc1 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.7 i686) ================================================================= System uname: Linux-2.6.24.7-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-glibc2.0 Timestamp of tree: Mon, 14 Jul 2008 16:45:03 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo http://ftp.romnet.org/gentoo" LANG="ro_RO.UTF-8" LC_ALL="ro_RO" LDFLAGS="-Wl,-O1" LINGUAS="ro en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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="7zip X a52 aac accessibility acl acpi addbookmarks additions administrator agg alsa amr apache2 ares arts aspnet2 async bash-completion berkdb branding bzip2 cddb cdparanoia cdr chroot cjk cli contactnotes cracklib crypt css cups daap dar32 dbus dga directfb divx djvu dmx dri dv dvb dvd dvdnav dvdr dvdread dxr3 emerald encode exif expat extensions extraengine extrafilters fame fbcon ffmpeg firefox flac fontconfig fortran ftp gd-external gdal gdbm geos gif glitz gmedia gmp gnutls gpm graphviz gs gsm gstreamer guile hal hash hdf highlight history hpn iconv idn imagemagick imap ipod ipv6 irc isdnlog ithreads jabber javascript jbig jce jingle jpeg jpeg2k kde lame ldap live lm_sensors lzo mad maildir md5sum mhash midi mjpeg mmap mmx mmxext mng modperl modplug mozdevelop mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mpm-prefork mudflap multiuser musepack musicbrainz mysql mysqli nas ncurses netboot nethack netmeeting network network-cron networking nls nptl nptlonly nsplugin oav objc objc++ objc-gc odbc offensive ogg openexr opengl openmp pam pcre pdf perl perlsuid php pmu png pnm ppds pppd prediction proj python qt3 qt3support qt4 query-browser quicktime quotas radio rar readline real reflection rtc ruby samba sasl sdl session slang slp sms smtp sndfile snmp soap sockets socks5 sound speex spl sql srt sse sse2 ssl statistics subtitles subversion suexec svg swat symlink syslog tcpd texteffect theora threads tiff truetype unicode urandom usb v4l2 vcd vim-syntax vim-with-x vnc vorbis vorbis-psy wavpack webdav webpresence win32codecs winbind winpopup wma wmf wmp workbench x264 x86 xanim xcomposite xforms xine xinerama xml xorg xprint xscreensaver xsl xv xvid xvmc yahoo yv12 zip zlib" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en" USERLAND="GNU" VIDEO_CARDS="apm fbdev nvidia nv vesa vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm beginning to see more and more of these reports for a wide range of packages.
(In reply to comment #0) > /usr/lib/libaprutil-1.so: file not recognized: File format not recognized Try: emerge -1 apr apr-util
apr compiles successfuly, but: /sbin/ldconfig: /usr/lib/libaprutil-1.so.0 is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib/libaprutil-1.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib/libaprutil-1.so.0.3.2 is not an ELF file - it has the wrong magic bytes at the start. and apr-util: /bin/sh /usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -march=i686 -mtune=i686 -pipe -Wl,-O1 -release 1 -module -rpath /usr/lib/apr-util-1 -o dbd/apr_dbd_odbc.la dbd/apr_dbd_odbc.lo -L/usr/lib -lodbc -L/usr/lib -lodbc /bin/sh /usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -march=i686 -mtune=i686 -pipe -Wl,-O1 -release 1 -module -rpath /usr/lib/apr-util-1 -o ldap/apr_ldap.la ldap/apr_ldap_init.lo ldap/apr_ldap_option.lo ldap/apr_ldap_rebind.lo -lldap -llber misc/.libs/apr_thread_pool.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[1]: *** [libaprutil-1.la] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/apr-util-1.3.2/work/apr-util-1.3.2' make: *** [all-recursive] Error 1 * * ERROR: dev-libs/apr-util-1.3.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3009: Called die * The specific snippet of code: * emake || die "emake failed!"; * The die message: * emake failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-libs/apr-util-1.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-util-1.3.2/temp/environment'. *
I also tried to reemerge apache (after the first attept of emerge -1 apr apr-util) but it fails. I can try to emerge it again if you need the exact error.
(In reply to comment #3 and comment #4) There is no bug in Subversion, APR, APR-Util or Apache. Unfortunately your system is completely broken. Consider reinstallation of Gentoo.
The system was working properly and was successfuly updated two or three weeks ago using the following sequence: emerge --sync emerge -uDN portage emerge -uDN system emerge -uDN world genkernel --menuconfig all emerge -uDN world revdep-rebuild module-rebuild rebuild I was trying to update it again a couple of days ago using the same sequence, but after emerging system, I had to do a python-updater, because it was updated from 2.4 to 2.5. It tried to emerge some packages and it failed at subversion. Then, I tried to emerge -1 apr apr-util, then emerge -1 apache, then opened this bug report. What do you mean by "Unfortunately your system is completely broken."? Will all my Gentoo boxen be needing reinstallation after I decide to upgrade them? (There are a lot of them: about 30.). What should I search for or what exactly is broken? How did it get in this state? I could do an emerge -e world but isn't there something more I can do? Maybe this will help others with similar problems...
Did you try disabling ccache yet? Could you also try with MAKEOPTS=-j1 ?
(In reply to comment #7) > Did you try disabling ccache yet? Disabling ccache did it!