Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279030 - Kdevplatform-0.9.93 fails to compile with boost-1.39.0
Summary: Kdevplatform-0.9.93 fails to compile with boost-1.39.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-25 11:23 UTC by David Kredba
Modified: 2009-11-12 13:31 UTC (History)
4 users (show)

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


Attachments
Fix broken compile because of boost (kdevplatform-0.9.93-r1.ebuild,1.25 KB, text/plain)
2009-08-15 14:11 UTC, PhobosK
Details
Patch to fix boost compile problems (kdevplatform-3.9-boost-fix.patch,1.48 KB, patch)
2009-08-15 14:12 UTC, PhobosK
Details | Diff
Changelog (ChangeLog,1.42 KB, text/plain)
2009-08-15 14:14 UTC, PhobosK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2009-07-25 11:23:03 UTC
Kdevplatform-0.9.93 fails to compile with boost-1.39.0:

CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o: In function `boost::serialization::throw_exception(std::exception const&)':
/usr/include/boost/serialization/throw_exception.hpp:29: multiple definition of `boost::serialization::throw_exception(std::exception const&)'
CMakeFiles/kdevclassbrowser.dir/classmodel.o:/usr/include/boost/serialization/throw_exception.hpp:30: first defined here
CMakeFiles/kdevclassbrowser.dir/classmodel.o: In function `boost::serialization::throw_exception(std::exception const&)':
classmodel.cpp:(.text+0x9d1): undefined reference to `boost::throw_exception(std::exception const&)'
CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o: In function `boost::serialization::throw_exception(std::exception const&)':
allclassesfolder.cpp:(.text+0x5a1): undefined reference to `boost::throw_exception(std::exception const&)'
collect2: ld returned 1 exit status
make[2]: *** [lib/kdevclassbrowser.so] Error 1
make[1]: *** [plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/all] Error 2

Reproducible: Always

Steps to Reproduce:
1. Be ~amd64.
2. Emerge kdevplatform (cvs git mercurial subversion)
3.

Actual Results:  
Does not link the object file for: undefined reference to `boost::throw_exception(std::exception const&)'

Expected Results:  
Links the object file.

emerge --info                               
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r3-1d x86_64)
=================================================================                                            
System uname: Linux-2.6.30-gentoo-r3-1d-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1 
Timestamp of tree: Sat, 25 Jul 2009 10:00:20 +0000                                                           
app-shells/bash:     4.0_p28                                                                                 
dev-java/java-config: 2.1.8-r1                                                                               
dev-lang/python:     2.6.2-r1                                                                                
dev-python/pycrypto: 2.0.1-r8                                                                                
dev-util/cmake:      2.6.4-r1                                                                                
sys-apps/baselayout: 2.0.1                                                                                   
sys-apps/openrc:     0.4.3-r3                                                                                
sys-apps/sandbox:    2.0                                                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                                                           
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                         
sys-devel/binutils:  2.19.1-r1                                                                               
sys-devel/gcc-config: 1.4.1                                                                                  
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.30                                                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                 
CFLAGS="-O2 -g -ggdb -pipe"                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /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/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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                                                
CXXFLAGS="-O2 -g -ggdb -pipe"                                                                                                                                                 
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.web4u.cz/ "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en de sk"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="echo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb djvu doc dri dvd dvdr dvdread eds emacs emboss encode epydoc esd evo examples exif fam firefox fontconfig fortran freetds gcj gd gdbm gedit gif gimp glep gmp gnome gnome-keyring gpm gstreamer gtk guile hal htmlhandbook iconv idn ieee1394 isdnlog ithreads jadetex java jpeg jpeg2k kde kerberos lapack latex lcms ldap libedit libffi libnotify lzma lzo mad midi mikmod mmx mono mp3 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly objc objc++ objc-gc odbc ogg opengl openmp pam pch pcre pdf perl png portaudio ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sasl sdl session slang soundex source spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcl tcpd threads tiff tk truetype unicode usb v4l v4l2 vorbis wmf xinerama xml xorg xpm xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en de sk" LIRC_DEVICES="inputlirc" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2009-08-06 22:07:16 UTC
Confirmed on my ~x86 machine.
Also see bug 279957 for patches.

Maybe some KDE team member can mark this as duplicate to that bug?
Comment 2 Alec Meyers 2009-08-09 22:26:29 UTC
I applied the above patches and kdevplatform-0.9.93 built successfully. Could someone please fix?
Comment 3 PhobosK 2009-08-15 14:11:32 UTC
Created attachment 201326 [details]
Fix broken compile because of boost
Comment 4 PhobosK 2009-08-15 14:12:12 UTC
Created attachment 201327 [details, diff]
Patch to fix boost compile problems
Comment 5 PhobosK 2009-08-15 14:14:18 UTC
Created attachment 201329 [details]
Changelog
Comment 6 PhobosK 2009-08-15 14:15:12 UTC
I apply my local overlay fix.
Someone please add it to the main tree (if you want of course).
Comment 7 Michael B 2009-08-26 19:11:42 UTC
Just wondering when this is going to be added to main tree. Works for me as well.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-27 09:30:06 UTC
I am more curious if the issue is still persistent in 0.9.95.
Comment 9 David Kredba 2009-09-08 17:34:16 UTC
0.9.95 works for me. Please close the bug as fixed.
Thank you.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2009-11-12 13:31:43 UTC
Closing per last comment. And 0.9.93 removed from tree.