Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305677 - =kde-base/smoke-4.4.0 fails to build with USE="-webkit"
Summary: =kde-base/smoke-4.4.0 fails to build with USE="-webkit"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard: [kde testing]
Keywords: InOverlay, InVCS
Depends on:
Blocks:
 
Reported: 2010-02-17 22:50 UTC by W. Grunewald
Modified: 2010-03-26 21:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch fixing the list of linked libraries (smoke-webkit.patch,1.14 KB, patch)
2010-02-20 00:15 UTC, Andreas K. Hüttel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description W. Grunewald 2010-02-17 22:50:29 UTC
# 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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-02-17 23:33:22 UTC
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
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-02-19 23:56:20 UTC
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

Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-02-20 00:15:11 UTC
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...
Comment 4 W. Grunewald 2010-02-20 12:18:23 UTC
Thank you!

USE="webkit" emerge smoke

works for me.
Comment 5 Tim Ruffing 2010-03-10 16:19:45 UTC
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.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-03-10 21:32:49 UTC
(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" ???
Comment 7 Maciej Mrozowski gentoo-dev 2010-03-26 15:17:33 UTC
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.