Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238012 - kopete-4.1.1 can't find /usr/lib/libphonon.so at linking step
Summary: kopete-4.1.1 can't find /usr/lib/libphonon.so at linking step
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 13:14 UTC by Cedric Godin
Modified: 2008-09-21 21:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Godin 2008-09-18 13:14:11 UTC
When trying to install kde 4.1.1 from the git overlay 'http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=summary', I have a problem trying to compile kopete.

Here is the error :

[ 43%] Building CXX object kopete/kopete/CMakeFiles/kopete_bin.dir/infoeventwidget.o                                        
In file included from /var/tmp/portage/kde-base/kopete-4.1.1/work/kopete-4.1.1/kopete/kopete/infoeventwidget.cpp:27:        
/usr/include/qt4/QtCore/qobject.h:125: warning: 'virtual bool QObject::event(QEvent*)' was hidden                           
/var/tmp/portage/kde-base/kopete-4.1.1/work/kopete-4.1.1/kopete/libkopete/kopeteinfoeventmanager.h:62: warning:   by 'Kopete::InfoEvent* Kopete::InfoEventManager::event(int) const'                                                                     
[ 43%] Building CXX object kopete/kopete/CMakeFiles/kopete_bin.dir/kopeteadaptor.o                                          
make[2]: *** No rule to make target `/usr/lib/libphonon.so', needed by `kopete/kopete/kopete'.  Stop.                       
make[1]: *** [kopete/kopete/CMakeFiles/kopete_bin.dir/all] Error 2                                                          
make: *** [all] Error 2                                                                                                     
 *                                                                                                                          
 * ERROR: kde-base/kopete-4.1.1 failed.                                                                                     
 * Call stack:                                                                                                              
 *               ebuild.sh, line   49:  Called src_compile                                                                  
 *             environment, line 2950:  Called kde4-meta_src_compile                                                        
 *             environment, line 2273:  Called kde4-meta_src_make                                                           
 *             environment, line 2322:  Called kde4-base_src_make                                                           
 *             environment, line 2034:  Called cmake-utils_src_make                                                         
 *             environment, line  703:  Called die                                                                          
 * The specific snippet of code:                                                                                            
 *           emake "$@" || die "Make failed!";                                                                              
 *  The die message:                                                                                                        
 *   Make failed!

Reproducible: Always

Steps to Reproduce:
1. emerge \=kde-base-kopete-4.1.1
2.
3.

Actual Results:  
[ 43%] Building CXX object kopete/kopete/CMakeFiles/kopete_bin.dir/kopeteadaptor.o
make[2]: *** No rule to make target `/usr/lib/libphonon.so', needed by `kopete/kopete/kopete'.  Stop.


Portage 2.2_rc8 (default-linux/x86/2007.0/desktop, gcc-4.2.4, glibc-2.6.1-r0, 2.6.27-rc6-dirty i686)
=================================================================                                   
System uname: Linux-2.6.27-rc6-dirty-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0     
Timestamp of tree: Thu, 18 Sep 2008 05:45:01 +0000                                                  
app-shells/bash:     3.2_p39                                                                        
dev-java/java-config: 1.3.7, 2.1.6-r1                                                               
dev-lang/python:     2.5.2-r7                                                                       
sys-apps/baselayout: 2.0.0                                                                          
sys-apps/openrc:     0.2.5                                                                          
sys-apps/sandbox:    1.2.18.1-r3                                                                    
sys-devel/autoconf:  2.13, 2.62-r1                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                   
sys-devel/binutils:  2.18-r3                                                                        
sys-devel/gcc-config: 1.4.0-r4                                                                      
sys-devel/libtool:   2.2.4                                                                          
virtual/os-headers:  2.6.26                                                                         
ACCEPT_KEYWORDS="x86 ~x86"                                                                          
CBUILD="i686-pc-linux-gnu"                                                                          
CFLAGS="-march=pentium4 -O2 -pipe -ggdb"                                                            
CHOST="i686-pc-linux-gnu"                                                                           
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /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/splash /etc/terminfo /etc/udev/rules.d"                                                                                         
CXXFLAGS="-march=pentium4 -O2 -pipe -ggdb"                                                                                   
DISTDIR="/usr/portage/distfiles"                                                                                             
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch"                                                                                                         
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"                                                    
LDFLAGS="-Wl,-z,now"                                                                                                         
LINGUAS="en en_GB en_US fr fr_BE"                                                                                            
PKGDIR="/usr/portage/packages"                                                                                               
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/gnustep /usr/local/portage/layman/sunrise /home/cedric/devel/repos/git/kde"       
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                        
USE="X a52 aac accessibility acl acpi alsa amazon apache2 asm audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth branding cairo calendar cardbus cdinstall cdparanoia cdr chm chroot cis cle266 clucene crypt css cups curl dbus dedicateddga disk-partition diskio divx dlloader dri dts dv dvb dvd dvdread eds encode enscript erandom expat extensions faad fame fbcon fbcondecor fbsplash ffmpeg firefox flac font-server gcj gd gif glibc-omitfp glitz gmedia gnome gnustep gphoto2 gpm graphviz grub gstreamer gtk hal hddtemp hibernate-script htmlhandbook icons iconv icq imap imlib innodb ipv6 irmc ithreads jabber java java5 jpeg jpeg2k kcal kde kdepim kdeprefix konqueror kqemu laptop lcms ldap libffi libnotify libwww live lm_sensors lzo mad madwifi maildir mdnsresponder-compat memlimit midi mikmod mjpeg mmx mmxext mng modperl mozilla moznocompose moznoirc moznomail moznopango mozsvg mp3 mp4 mpeg mplayer mpm-worker msn musepack musicbrainz mysql mysqli ncurses net network networkmanager nls no_wxgtk1 noamazon nptl nptlonly nsplugin obex objc offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcmcia pcre pdf pdfkit pdflib pdo perl pg-intdatetime php pixmaps plasma png postgres python qt qt3 qt3support qt4 quicktime rdc rdesktop readline restrict-javascript rtc sdl session simplexml slp sndfile snmp soap speex spell sql sqlite3 srt sse sse2 ssl startup-notification subversion svg texteffect theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utempter v4l v4l2 vcd vdesktop vim-syntax visualization vorbis wddx webdav-neon widescreen wifi win32codecs wmf wmp x86 xanim xcomposite xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xrandr xsl xulrunner xv xvid xvmc yv12 zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US fr fr_BE" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-09-21 10:06:57 UTC
Added media-sound/phonon as dependency for kopete. Please report if problem continues.
Comment 2 Cedric Godin 2008-09-21 19:36:21 UTC
The problem is still there and the worst is that amarok has the same. Should I unmerge something before or rebuild something ?
The compilation pzrt of the emerge always starts with :
CMake Warning at /usr/kde/4.1/share/apps/cmake/modules/KDE4Macros.cmake:810 (add_executable):
  Cannot generate a safe linker search path for target kopete_bin because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libphonon.so] in /usr/lib may be hidden by files in:
      /usr/kde/4.1/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  kopete/kopete/CMakeLists.txt:70 (kde4_add_executable)

I'll rebuilding kde-base/kdelibs and let you know what happen.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2008-09-21 20:12:27 UTC
A: do you have media-libs/phonon on your system?
B: would you mind joining us on irc (freenode.net #gentoo-kde) so we can talk this person to person (will be much faster) (i am UTC+2 but others people might be around in other times)
Comment 4 Cedric Godin 2008-09-21 21:26:24 UTC
problem was between the chair and the keyboard. Needed to rebuild kdelibs (change from -kdeprefix to kdeprefix)