Possibly related to libz.so. Here's a snip of the emerge: <snip> Found ZLIB: /usr/lib/libz.so <snip> [ 4%] Built target dolphin-handbook make[2]: *** No rule to make target `/lib/libz.so', needed by `lib/fileviewsvnplugin.so'. Stop. make[2]: *** Waiting for unfinished jobs.... [ 5%] Building CXX object dolphin/src/CMakeFiles/fileviewsvnplugin.dir/versioncontrol/fileviewsvnplugin.o make[1]: *** [dolphin/src/CMakeFiles/fileviewsvnplugin.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 5%] [ 5%] [ 6%] Building CXX object dolphin/src/CMakeFiles/dolphinprivate.dir/dolphinprivate_automoc.o <snip> [ 31%] Building CXX object dolphin/src/CMakeFiles/dolphinprivate.dir/dolphin_generalsettings.o [ 31%] make[2]: *** No rule to make target `/lib/libz.so', needed by `lib/libdolphinprivate.so.4.4.0'. Stop. make[2]: *** Waiting for unfinished jobs.... Building CXX object dolphin/src/CMakeFiles/dolphinprivate.dir/dolphin_versioncontrolsettings.o make[1]: *** [dolphin/src/CMakeFiles/dolphinprivate.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/dolphin-4.4.1 failed: * Make failed! Reproducible: Always Steps to Reproduce: 1. Enable thumbnail USE flag 2. emerge -av dolphin 3. Actual Results: see description Others have reproduced this as witnessed on gentoo forums. # emerge --info Portage 2.2_rc67 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.32-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 23 Mar 2010 22:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p2-r1 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5, 3.1.2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -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" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.averse.net/pub/gentoo/ http://gentoo.binarycompass.org" LANG="en_US.UTF-8" LC_ALL="en_US" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" 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="/var/lib/layman/pro-audio /usr/local/portage /var/lib/layman/pro-audio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aiglx alsa apache2 berkdb bitmap-fonts bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus divx4linux dri dvd dvdr exif fam ffmpeg flac foomatic fortran gdbm gif gimp gimpprint gpm hal iconv ipv6 jack jack-tmpfs jackmidi java jpeg kde kipi ladspa mad mikmod modules mp3 mpeg mudflap mysql ncurses nfs nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl php5 png ppds pppd python qt3support qt4 quicktime raw readline reflection samba sane scanner sdl session sndfile spell spl sse sse2 ssl svg swscaler sysfs tcpd theora tiff truetype type1-fonts unicode usb v4l2 vorbis vst vst-sdk win32codecs x264 x86 xanim xcomposite xinerama xml xmp xorg xrandr xsane xulrunner xv xvid zip zlib" ALSA_CARDS="ice1712" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
please post output of ls -l /lib/libz* /usr/lib/libz* /usr/local/lib/libz*
*** Bug 311155 has been marked as a duplicate of this bug. ***
ls -l /lib/libz* /usr/lib/libz* /usr/local/lib/libz* ls: cannot access /usr/local/lib/libz*: No such file or directory lrwxrwxrwx 1 root root 13 Mar 20 18:23 /lib/libz.so.1 -> libz.so.1.2.4 -rwxr-xr-x 1 root root 83444 Mar 20 18:23 /lib/libz.so.1.2.4 -rw-r--r-- 1 root root 90186 Mar 20 18:23 /usr/lib/libz.a -rw-r--r-- 1 root root 78748 Mar 17 21:43 /usr/lib/libzip.a -rw-r--r-- 1 root root 783 Mar 17 21:43 /usr/lib/libzip.la lrwxrwxrwx 1 root root 15 Mar 17 21:43 /usr/lib/libzip.so -> libzip.so.1.0.0 lrwxrwxrwx 1 root root 15 Mar 17 21:43 /usr/lib/libzip.so.1 -> libzip.so.1.0.0 -rwxr-xr-x 1 root root 38440 Mar 17 21:43 /usr/lib/libzip.so.1.0.0 -rwxr-xr-x 1 root root 519 Mar 20 18:23 /usr/lib/libz.so
Unable to reproduce
I've asked at least two others who have the same issue to weigh in from this thread: http://forums.gentoo.org/viewtopic-p-6220310.html#6220310
Able to reproduce always. I get the exact identical errors here also on ~x86 Same /lib/libz* Nothing to add, just a confirmed reproduction.
Just to confirm this, so you DO NOT have a symlink /lib/libz.so ? What is your version of sys-libs/zlib ? Can you re-emerge that and then try again?
~ $ qlist -Iv sys-libs/zlib sys-libs/zlib-1.2.4 ~ # ls -l /lib/libz* lrwxrwxrwx 1 root root 13 Mar 20 08:43 /lib/libz.so.1 -> libz.so.1.2.4 -rwxr-xr-x 1 root root 83232 Mar 20 08:43 /lib/libz.so.1.2.4 ~ # emerge -1 sys-libs/zlib ~ # revdep-rebuild ~ $ ls -l /lib/libz* lrwxrwxrwx 1 root root 13 Mar 28 13:12 /lib/libz.so.1 -> libz.so.1.2.4 -rwxr-xr-x 1 root root 83232 Mar 28 13:12 /lib/libz.so.1.2.4 ~ # euse -e thumbnail ~ # emerge -1aDNuv kde-base/dolphin Result: Still same exact identical errors [ 5%] make[2]: *** No rule to make target `/lib/libz.so', needed by `lib/fileviewsvnplugin.so'. Stop. make[2]: *** Waiting for unfinished jobs. [ 6%] Building CXX object dolphin/src/CMakeFiles/dolphinprivate.dir/dolphindetailsview.o make[1]: *** [dolphin/src/CMakeFiles/fileviewsvnplugin.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 31%] make[2]: *** No rule to make target `/lib/libz.so', needed by `lib/libdolphinprivate.so.4.4.0'. Stop. make[2]: *** Waiting for unfinished jobs.... Building CXX object dolphin/src/CMakeFiles/dolphinprivate.dir/dolphin_versioncontrolsettings.o make[1]: *** [dolphin/src/CMakeFiles/dolphinprivate.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/dolphin-4.4.1 failed: * Make failed! * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 4117: Called kde4-meta_src_compile * environment, line 3207: Called kde4-base_src_compile * environment, line 2884: Called cmake-utils_src_compile * environment, line 1094: Called _execute_optionaly 'src_compile' * environment, line 526: Called enable_cmake-utils_src_compile * environment, line 1459: Called cmake-utils_src_make * environment, line 1113: Called die * The specific snippet of code: * emake "$@" || die "Make failed!";
Oops typo, should read: ~ # euse -E thumbnail
sys-libs/zlib-1.2.4 does not install a /lib/libz.so symlink, sys-libs-1.2.3-r1 does. This causes compilation failures for programs expecting /lib/libz.so (or /lib64/libz.so), especially kde-base/dolphin-4.4.1
AFAIK you only need the matching soname in /lib, libz.so.1 and libz.so is only for compiling, and can remain in /usr/lib since at the time you are building something, /usr will be mounted. So what old zlib did was wrong, and what it does now, is correct. As such, the problem is in dolphin, not in zlib.
zlib wasnt "wrong" before, but anything that breaks with the new zlib behavior is broken. not a bug in zlib.
The workaround for this is to rebuild kde-base/libkonq, which will change the installed /var/lib/kde/libkonq:${SLOT} file to reference /usr/$(get_libdir)/libz.so instead of /$(get_libdir)/libz.so - not sure how we want to handle this in the future, though.
So how shall we handle this? I suspect this is still present in 4.4.2?
(In reply to comment #14) > So how shall we handle this? > > I suspect this is still present in 4.4.2? > (In reply to comment #11) > AFAIK you only need the matching soname in /lib, libz.so.1 and libz.so is only > for compiling, and can remain in /usr/lib since at the time you are building > something, /usr will be mounted. So what old zlib did was wrong, and what it > does now, is correct. > > As such, the problem is in dolphin, not in zlib. And some other more. I'm having the same error when compiling the unstable versions of cmake, and poppler.
*** Bug 315767 has been marked as a duplicate of this bug. ***
*** Bug 322331 has been marked as a duplicate of this bug. ***
This should not be an issue for an overall kde upgrade, so I am removing the blocker for 4.4.[23].
zlib-1.2.5 just got stable, so a lot of people will lose the /lib(64)/libz.so symlink. Let's see if this problem pops up again...
*** Bug 361531 has been marked as a duplicate of this bug. ***
Perhaps another summary change is in order, to something like: "cmake packages using find_package(ZLIB) fail to link with zlib >=1.2.5-r2". I'm not using anything KDE related and this is more of cmake macro problem, than anything else.
One month without any duplicates after stabling zlib >=1.2.5... I guess this problem is obsolete now.