Pango refuses to build after I recently emerged world which updated over 150 packages including xorg, DirectFB and KDE. I've attempted to run revdep-rebuild -i several times with no success. I have even tried reemerging dependencies of pango and that doesn't seem to help either. The pango build keeps erroring with this error: libtool: link: i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o ./.libs/libharfbuzz-1.a /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so ./.libs/libharfbuzz-1.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make[4]: *** [harfbuzz-dump] Error 1 Reproducible: Always Steps to Reproduce: emerge pango Actual Results: /bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o libharfbuzz-1.la harfbuzz.lo -lfreetype -lfontconfig libtool: link: i686-pc-linux-gnu-ar cru .libs/libharfbuzz-1.a .libs/harfbuzz.o libtool: link: i686-pc-linux-gnu-ranlib .libs/libharfbuzz-1.a libtool: link: ( cd ".libs" && rm -f "libharfbuzz-1.la" && ln -s "../libharfbuzz-1.la" "libharfbuzz-1.la" ) /bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o -lfreetype -lfontconfig libharfbuzz-1.la libtool: link: i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o ./.libs/libharfbuzz-1.a /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so ./.libs/libharfbuzz-1.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make[4]: *** [harfbuzz-dump] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.5-r1/work/pango-1.24.5/pango/opentype' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.5-r1/work/pango-1.24.5/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.24.5-r1/work/pango-1.24.5/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving director Expected Results: pango emerges successfully emerge --info Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r4-i686-mobile_AMD_Athlon-tm-_XP-M_3200+-with-gentoo-2.0.1 Timestamp of tree: Tue, 15 Dec 2009 02:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.9-r1 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" 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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages keeptemp parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://portage.home http://lug.mtu.edu/gentoo/ http://gentoo.netnitco.net " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en ru" MAKEOPTS="-j3" 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/layman/sunrise /usr/local/portage" SYNC="rsync://server.home/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi adns alsa apache2 audiofile automount avi bcmath bdf berkdb bluetooth bzip2 calendar caps cdda cddb cdparanoia cdr chardet cjk clamav cli cracklib crypt ctype cups curl curlwrappers cxx dbus directfb dri dts dvb dvd dvdnav dvdread encode exif fbcon ffmpeg flac fontconfig foomaticdb fortran ftp gd gdbm gif glib gmp gnutls gpm gstreamer gtk gtk2 gzip hal hash iconv ieee1394 imagemagick imap imlib innodb ipv6 java javascript jpeg jpeg2k kde kipi kson lcms ldap ldap-sasl libcaca lirc live logrotate lzo mad matroska mcal mhash mime mjpeg mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer msession msn mudflap mysql mysqli mythtv ncurses network network-cron nls nptl nptlonly nsplugin nss nvidia offensive ogg openal opengl openmp osc oss pam pch pcntl pcre pdf pdo perl php png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl seamonkey session simplexml smtp snmp soap sockets spell spl sql sqlite sse ssl subversion suhosin svg sysfs syslog tcpd theora thumbnail tidy tiff tokenizer toolbar transcode truetype unicode usb v4l v4l2 vcd vorbis wddx webkit win32codecs wxwindows x264 x86 xforms xine xinetd xml xorg xpm xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" 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="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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 213063 [details] build.log
Created attachment 213064 [details] environment
How does this have anything to do with DirectFB? I don't see anything that indicates that in the build output.
(In reply to comment #3) > How does this have anything to do with DirectFB? I don't see anything that > indicates that in the build output. > I figured it had something to do with DirectFB because revdep-rebuild finds that the libdirectfb file it links to is the wrong version.
But I suppose the reason it needs to be rebuilt has nothing to do with where it's dying in the make process.
Something is not right on this system: ./.libs/libharfbuzz-1.a: could not read symbols: Archive has no index; run ranlib to add one it sounds a lot like bug #297009 in the weirdness level, new libtool release might not be that safe after all. Could you revert to libtool-2.2.6a and try again ?
I just downgraded to libtool-2.2.6a and I tried to reemerge pango. The build process for pango still errors and exits with the same error.
(In reply to comment #6) > Something is not right on this system: > > ./.libs/libharfbuzz-1.a: could not read symbols: Archive has no index; run > ranlib to add one > > it sounds a lot like bug #297009 in the weirdness level, new libtool release > might not be that safe after all. Could you revert to libtool-2.2.6a and try > again ? > Are you sure you mentioned the right bug number as well since that one does not exist?
I have also tried emerging 1.26.0 and 1.26.1 and they give me different errors: /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -I.. -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/freetype2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -MT pango-enum-types.lo -MD -MP -MF .deps/pango-enum-types.Tpo -c -o pango-enum-types.lo pango-enum-types.c libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -I.. -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/freetype2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -MT pango-enum-types.lo -MD -MP -MF .deps/pango-enum-types.Tpo -c pango-enum-types.c -fPIC -DPIC -o .libs/pango-enum-types.o mv -f .deps/querymodules.Tpo .deps/querymodules.Po mv -f .deps/libpangocairo_1_0_la-pangocairo-fcfont.Tpo .deps/libpangocairo_1_0_la-pangocairo-fcfont.Plo mv -f .deps/pango-enum-types.Tpo .deps/pango-enum-types.Plo /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -version-info 2600:0:2600 -export-symbols-regex "^pango_.*" -Wl,-O1 -o libpango-1.0.la -rpath /usr/lib break.lo ellipsize.lo fonts.lo glyphstring.lo modules.lo pango-attributes.lo pango-bidi-type.lo pango-color.lo pango-context.lo pango-coverage.lo pango-engine.lo pango-fontmap.lo pango-fontset.lo pango-glyph-item.lo pango-gravity.lo pango-item.lo pango-language.lo pango-layout.lo pango-markup.lo pango-matrix.lo pango-renderer.lo pango-script.lo pango-tabs.lo pango-utils.lo reorder-items.lo shape.lo pango-enum-types.lo module-defs-lang.lo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lm mini-fribidi/libmini-fribidi.la libtool: link: /usr/bin/nm -B .libs/break.o .libs/ellipsize.o .libs/fonts.o .libs/glyphstring.o .libs/modules.o .libs/pango-attributes.o .libs/pango-bidi-type.o .libs/pango-color.o .libs/pango-context.o .libs/pango-coverage.o .libs/pango-engine.o .libs/pango-fontmap.o .libs/pango-fontset.o .libs/pango-glyph-item.o .libs/pango-gravity.o .libs/pango-item.o .libs/pango-language.o .libs/pango-layout.o .libs/pango-markup.o .libs/pango-matrix.o .libs/pango-renderer.o .libs/pango-script.o .libs/pango-tabs.o .libs/pango-utils.o .libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o .libs/module-defs-lang.o mini-fribidi/.libs/libmini-fribidi.a | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libpango-1.0.exp /usr/bin/nm: .libs/pango-coverage.o: File format not recognized /usr/bin/nm: fribidi.o: File format not recognized /usr/bin/nm: fribidi_char_type.o: File format not recognized /usr/bin/nm: fribidi_types.o: File format not recognized libtool: link: /bin/grep -E -e "^pango_.*" ".libs/libpango-1.0.exp" > ".libs/libpango-1.0.expT" libtool: link: mv -f ".libs/libpango-1.0.expT" ".libs/libpango-1.0.exp" libtool: link: echo "{ global:" > .libs/libpango-1.0.ver libtool: link: cat .libs/libpango-1.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libpango-1.0.ver libtool: link: echo "local: *; };" >> .libs/libpango-1.0.ver libtool: link: i686-pc-linux-gnu-gcc -shared .libs/break.o .libs/ellipsize.o .libs/fonts.o .libs/glyphstring.o .libs/modules.o .libs/pango-attributes.o .libs/pango-bidi-type.o .libs/pango-color.o .libs/pango-context.o .libs/pango-coverage.o .libs/pango-engine.o .libs/pango-fontmap.o .libs/pango-fontset.o .libs/pango-glyph-item.o .libs/pango-gravity.o .libs/pango-item.o .libs/pango-language.o .libs/pango-layout.o .libs/pango-markup.o .libs/pango-matrix.o .libs/pango-renderer.o .libs/pango-script.o .libs/pango-tabs.o .libs/pango-utils.o .libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o .libs/module-defs-lang.o -Wl,--whole-archive mini-fribidi/.libs/libmini-fribidi.a -Wl,--no-whole-archive /usr/lib/libgobject-2.0.so -L/usr/lib /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -march=athlon-xp -Wl,-O1 -Wl,-soname -Wl,libpango-1.0.so.0 -Wl,-version-script -Wl,.libs/libpango-1.0.ver -o .libs/libpango-1.0.so.0.2600.0 .libs/pango-coverage.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[4]: *** [libpango-1.0.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.0/work/pango-1.26.0/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.0/work/pango-1.26.0/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.0/work/pango-1.26.0/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.0/work/pango-1.26.0' make: *** [all] Error 2
emerge -e system fixed the problem.