Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256749 - net-p2p/ktorrent-3.1.5-r2 fails to build with KDE 4.2.0 (upstream's 3.1.6-4 theoretically works)
Summary: net-p2p/ktorrent-3.1.5-r2 fails to build with KDE 4.2.0 (upstream's 3.1.6-4 t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 06:35 UTC by Hector Martin
Modified: 2009-01-29 13:14 UTC (History)
0 users

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


Attachments
Complete build log (ktorrent.log,51.35 KB, text/plain)
2009-01-29 06:37 UTC, Hector Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2009-01-29 06:35:52 UTC
ktorrent-3.1.5-r2 fails to build with a number of undefined references. This is reportedly related to KDE 4.2.0.

Reproducible: Always

Steps to Reproduce:
1. update system, install KDE 4.2.0
2. attempt to emerge ktorrent-3.1.5-r2

Actual Results:  
errors such as "logviewerplugin.cpp:(.text+0x2ad): undefined reference to `bt::RemoveLogMonitor(bt::LogMonitorInterface*)'" at about 50% into the build process

Expected Results:  
build completes fine and installation proceeds

This bug is discussed in the ktorrent forums in relation with Ubuntu in the following thread:
http://ktorrent.org/forum/viewtopic.php?t=2838

Bumping to this 3.1.6 revision theoretically fixes the problem.
http://ktorrent.org/downloads/3.1.6/ktorrent-3.1.6-4.tar.bz2

emerge --info:
Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Wed, 28 Jan 2009 18:45:03 +0000
distcc 3.0 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-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/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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://212.219.56.135/sites/www.ibiblio.org/gentoo/ http://gentoo.mneisen.org/ http://212.219.56.135/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnowex 7zip X a52 aac aalib acl acpi addbookmarks additions akode alias alsa amarok amd64 amd64codecs apache2 arts artswrappersuid asf aspell atm audiofile autoreplace avahi avi bash-completion berkdb bitmap-fonts bittorrent-external blender-game bluetooth bonjour branding bzip2 bzlib cairo calendar cdda cddb cdparanoia cdr cgi chm cjk clamav cli connectionstatus contactnotes cracklib crypt css ctype cups curl cvs daap dba dbus dillo divx4linux dlloader doc dri dts dv dvb dvd dvdr dvdread eds emboss encode evo examples exif fam fasttrack fbcon fbcondecor ffmpeg firefox flac flash font-server foomaticdb fortran ftp gd gdbm gif glitz gnutella gnutls gpm gps gs gsm gstreamer gtk gtk2 h323 hal hash highlight history httpd iconv id3tag ieee1394 imagemagick imap inifile inkjar innodb insecure-savers ipod ipv6 irc isdnlog ithreads jabber jack jadetex java javascript jingle joystick jpeg jpeg2k kde kqemu ladspa laptop libcaca libnotify libsamplerate libv4l2 lirc lisamplerate live lm_sensors logrotate mad maildir matroska mbox mbrola mdnsresponder-compat messenger midi mikmod mjpeg mmx mmxext mng mod modplug moviepack moviesounds mozbranding mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mpeg mpeg4 mplayer msn mudflap multilib musicbrainz mysql mysqli mythtv ncurses netmeeting network nls nodrm nowlistening nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openexr opengl openmp pam pcre pdf perl plasma plotutils png posix ppds pppd protutils python qt qt3 qt3support qt4 quicktime rar readline reflection rt2500pci rtc rtsp samba scanner sdk sdl session shout skins slang sndfile soap sockets speex spell spl sql sqlite srt sse sse2 ssl ssse3 startup-notification statistics stream subtitles subversion svg swat sysfs taglib tcltk tcpd test-programs texteffect tga theora threads tiff tk transmitter truetype truetype-fonts twolame type1-fonts udev unicode usb utempter utf8 v4l v4l2 vim-syntax visualization vlm vorbis webkit webpresence wifi wininst wmf wxwindows x264 xcb xcomposite xforms xine xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xprint xscreensaver xsl xulrunner xv xvid yahoo yv12 zeroconf zip zlib zvbi" ALSA_CARDS="usb-audio virmidi loopback 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 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" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" LIRC_DEVICES="serial devinput" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Note that the build fails with MAKEOPTS="-j1" and FEATURES="-distcc" as well.
Comment 1 Hector Martin 2009-01-29 06:37:22 UTC
Created attachment 180063 [details]
Complete build log
Comment 2 Hector Martin 2009-01-29 06:43:57 UTC
Confirmed that upstream's ktorrent-3.1.6-4 builds correctly.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-29 13:14:31 UTC
Hardcoded version of kde needed for 3.1.5
Bumped to 3.1.6 :]