gnome-extra/evolution-webcal-2.28.0 fails to build on a fresh install. Environment is stable system, except from gnome ebuilds. Reproducible: Always Steps to Reproduce: 1. Install base system 2. Unmask necessary ebuilds (I used autounmask) 3. emerge gnome Actual Results: evolution-webcal fails to build Expected Results: build should be ok and compilation should continue emerge --info =gnome-extra/evolution-webcal-2.28.0 Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 03 Feb 2010 09:25:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -msse4" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" 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 /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=native -msse4" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ " LDFLAGS="-Wl,-O1" LINGUAS="fr" MAKEOPTS="-j10" 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/gnome" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 acl acpi amd64 berkdb bluetooth branding bzip2 cddb cdr cli cracklib crypt cups cxx dbus disk-partition dri dvd dvdr ffmpeg flac fortran gdbm gnome gnome-keyring gpm gstreamer hal iconv ipv6 java jpeg lame libnotify lzma mad mmx modules mono mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl png pppd python readline reflection samba session spell spl sqlite sse sse2 ssh ssl svg sysfs taglib tcpd theora threads tiff unicode usb vorbis webkit x264 xorg xunlrunner xv xvid 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="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS asuka ~ # cat /var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/temp/build.log * CPV: gnome-extra/evolution-webcal-2.28.0 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Unpacking evolution-webcal-2.28.0.tar.bz2 to /var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work * Fixing OMF Makefiles ... [ ok ] >>> Source unpacked in /var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work >>> Compiling source in /var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for library containing strerror... none required checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.40.5 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.8.8 checking for XML::Parser... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for EVOLUTION_WEBCAL... yes configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands make -j10 make all-recursive make[1]: Entering directory `/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0' Making all in po make[2]: Entering directory `/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0/po' file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file fr.po make[2]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0/po' Making all in src make[2]: Entering directory `/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/evolution-data-server-2.28 -I/usr/include/libbonobo-2.0 -I/usr/include/libical -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -march=native -msse4 -MT evolution-webcal-main.o -MD -MP -MF .deps/evolution-webcal-main.Tpo -c -o evolution-webcal-main.o evolution-webcal-main.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/evolution-data-server-2.28 -I/usr/include/libbonobo-2.0 -I/usr/include/libical -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -march=native -msse4 -MT evolution-webcal-notify.o -MD -MP -MF .deps/evolution-webcal-notify.Tpo -c -o evolution-webcal-notify.o evolution-webcal-notify.c evolution-webcal-main.c: In function 'e_webcal_load': evolution-webcal-main.c:83: warning: assignment discards qualifiers from pointer target type evolution-webcal-main.c:85: warning: assignment discards qualifiers from pointer target type mv -f .deps/evolution-webcal-main.Tpo .deps/evolution-webcal-main.Po mv -f .deps/evolution-webcal-notify.Tpo .deps/evolution-webcal-notify.Po x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -msse4 -Wl,-O1 -o evolution-webcal evolution-webcal-main.o evolution-webcal-notify.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lecal-1.2 -lical -licalss -licalvcal -ledataserver-1.2 -lxml2 -lgconf-2 -lbonobo-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lrt -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libplds4.so.8, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libecal-1.2.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libplc4.so.8, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libecal-1.2.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libnspr4.so.8, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libecal-1.2.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_CreatePipe' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_Read' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_GetErrorText' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_Write' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_GetErrorTextLength' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_GetError' /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libedataserver-1.2.so: undefined reference to `PR_Close' collect2: ld returned 1 exit status make[2]: *** [evolution-webcal] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0' make: *** [all] Error 2 * ERROR: gnome-extra/evolution-webcal-2.28.0 failed: * compile failure * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 1523: Called gnome2_src_compile * environment, line 1266: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =gnome-extra/evolution-webcal-2.28.0', * the complete build log and the output of 'emerge -pqv =gnome-extra/evolution-webcal-2.28.0'. * The complete build log is located at '/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/temp/environment'. * S: '/var/tmp/portage/gnome-extra/evolution-webcal-2.28.0/work/evolution-webcal-2.28.0' emerge -pqv =gnome-extra/evolution-webcal-2.28.0 * waiting for lock on /var/db/.pkg.portage_lockfile ... [ ok ] [ebuild N ] gnome-extra/evolution-webcal-2.28.0
Seems there is a problem with a lib from evolution-data-server : asuka ~ # ld /usr/lib64/libecal-1.2.so ld: warning: libplds4.so.8, needed by /usr/lib64/libecal-1.2.so, not found (try using -rpath or -rpath-link) ld: warning: libplc4.so.8, needed by /usr/lib64/libecal-1.2.so, not found (try using -rpath or -rpath-link) ld: warning: libnspr4.so.8, needed by /usr/lib64/libecal-1.2.so, not found (try using -rpath or -rpath-link) ld: warning: cannot find entry symbol _start; not setting start address /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_GetErrorText' /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_GetErrorTextLength' /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_Write' /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_Read' /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_CreatePipe' /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_Close' /usr/lib/libedataserver-1.2.so.11: undefined reference to `PR_GetError' asuka ~ # ldd /usr/lib64/libecal-1.2.so linux-vdso.so.1 => (0x00007fffa68ed000) libedataserver-1.2.so.11 => /usr/lib/libedataserver-1.2.so.11 (0x00007f6185e48000) libplds4.so.8 => /usr/lib64/nspr/libplds4.so.8 (0x00007f6185c43000) libplc4.so.8 => /usr/lib64/nspr/libplc4.so.8 (0x00007f6185a3e000) libnspr4.so.8 => /usr/lib64/nspr/libnspr4.so.8 (0x00007f6185801000) libsoup-2.4.so.1 => /usr/lib/libsoup-2.4.so.1 (0x00007f61855ad000) libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f6185305000) libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f61850f4000) libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x00007f6184e7d000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f6184c78000) libicalss.so.0 => /usr/lib/libicalss.so.0 (0x00007f6184a61000) libicalvcal.so.0 => /usr/lib/libicalvcal.so.0 (0x00007f618484e000) libical.so.0 => /usr/lib/libical.so.0 (0x00007f61845ee000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f6184296000) libz.so.1 => /lib/libz.so.1 (0x00007f6184080000) libm.so.6 => /lib/libm.so.6 (0x00007f6183dfc000) libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0x00007f6183b86000) libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4 (0x00007f618396a000) libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0 (0x00007f6183762000) libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f61834bb000) libresolv.so.2 => /lib/libresolv.so.2 (0x00007f61832a4000) libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x00007f6183064000) libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x00007f6182df2000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f6182bee000) libdl.so.2 => /lib/libdl.so.2 (0x00007f61829e9000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f61827e4000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f61825c8000) librt.so.1 => /lib/librt.so.1 (0x00007f61823be000) libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007f618219d000) libnsl.so.1 => /lib/libnsl.so.1 (0x00007f6181f85000) libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f6181d46000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f6181b01000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f618181c000) libc.so.6 => /lib/libc.so.6 (0x00007f61814c2000) /lib64/ld-linux-x86-64.so.2 (0x00007f61862e1000)
you did not read nspr ebuild's elog output.
(In reply to comment #2) > you did not read nspr ebuild's elog output. > God again killed a kitten, now the cat is in extinction O_o
Sorry, I made revdep-rebuild many times, also uninstalled/reinstalled evolution-data-server, revdep-rebuild again... and reinstalled other packages too, with revdep-rebuild each time. I just retried, after reinstalling nspr, still the same problem with the build, and revdep-rebuild does not rebuild anything. So I don't think i'm killing kittens this time :)
did you run revdep-rebuild -L /usr/lib/nspr/libplds4.so.8 ?
With recent updates, it worked. Dunno why it failed...
Ah sorry, I forgot to precise more : >> did you run revdep-rebuild -L /usr/lib/nspr/libplds4.so.8 ? yes, I tried this, rebuild all dependencies, revdep-rebuild many times... So, I don't understand where the problem why, but after updates on some dependencies, it finally worked. So, it seems there is no problem anymore.