# emerge fails: [...] [ 71%] Building CXX object smoke/plasma/CMakeFiles/smokeplasma.dir/x_9.o [ 71%] Building CXX object smoke/plasma/CMakeFiles/smokeplasma.dir/x_10.o Linking CXX shared library ../../lib/libsmokeplasma.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsmokeqtwebkit collect2: ld gab 1 als Ende-Status zurück make[2]: *** [lib/libsmokeplasma.so.3.0.0] Fehler 1 make[1]: *** [smoke/plasma/CMakeFiles/smokeplasma.dir/all] Fehler 2 [...] Reproducible: Always # emerge --info =kde-base/smoke-4.4.0 Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r4 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-1.12.13 Timestamp of tree: Wed, 17 Feb 2010 19:15:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/ccache: 2.4-r7 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.7.9-r1, 1.8.5-r3, 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.32 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -msse3 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O3 -pipe -msse3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de en" 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/linamh /usr/local/portage/layman/vdr-devel /usr/local/portage/layman/vdr-xine /usr/local/portage/layman/arcon /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde kipi ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb userlocales v4l vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" DVB_CARDS="ttpci" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="serial" RUBY_TARGETS="ruby18" SANE_BACKENDS="mustek" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS # Installed QT packages: # qlist -ICv x11-libs/qt\- x11-libs/qt-core-4.6.2 x11-libs/qt-dbus-4.6.2 x11-libs/qt-gui-4.6.2 x11-libs/qt-opengl-4.6.2 x11-libs/qt-qt3support-4.6.2 x11-libs/qt-script-4.6.2 x11-libs/qt-sql-4.6.2 x11-libs/qt-svg-4.6.2 x11-libs/qt-test-4.6.2 x11-libs/qt-webkit-4.6.2 x11-libs/qt-xmlpatterns-4.6.2
I can verify this. /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsmokeqtwebkit collect2: ld returned 1 exit status
Ho hum... and I just built it successfully. Maybe I should mention that my whole system is with use webkit and I only tried to re-emerge USE="-webkit" emerge -a smoke Interestingly the second time I issued this command, the build failed with exactly the reported error. So, the first time it must have linked to the installed version... :O
Created attachment 220415 [details, diff] Patch fixing the list of linked libraries Here's a small patch that makes this compile, link, and install for me. I assume once we get that far functionality should not be the problem...
Thank you! USE="webkit" emerge smoke works for me.
I can verify the problem with smoke 4.4.1 however the output is less verbose: [...] Linking CXX shared library ../../lib/libsmokekio.so [ 77%] Built target smokekio make: *** [all] Fehler 2 * ERROR: kde-base/smoke-4.4.1 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 4253: Called kde4-meta_src_compile * environment, line 3338: Called kde4-base_src_compile * environment, line 3018: Called cmake-utils_src_compile * environment, line 1158: Called _execute_optionaly 'src_compile' * environment, line 589: Called enable_cmake-utils_src_compile * environment, line 1523: Called cmake-utils_src_make * environment, line 1177: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; [...] After enabling webkit, it builds without problems.
(In reply to comment #5) > I can verify the problem with smoke 4.4.1 however the output is less verbose: > Was that with or without above patch? Please attach emerge --info output! What's the errormessage with MAKEOPTS="-j1" ???
Fixed in smoke-4.4.1, please upgrade your 4.4.0 to this version or reemerge kde-base/smoke-4.4.1 with USE=-webkit if you wish.