Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 318293

Summary: kde-base/kdepimlibs-4.4.4 does not emerge (missing boost symlink?)
Product: Gentoo Linux Reporter: J.C. Wren <jcwren>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Severity: normal CC: esigra, lpmichalik
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 313999    
Attachments: build log from emerge klinkstatus

Description J.C. Wren 2010-05-03 15:24:26 UTC
kde-base/klinkstatus-4.4.2 fails to compile.  See attached build log.

Reproducible: Always

Steps to Reproduce:
1.emerge klinkstatus

Actual Results:  
Building CXX object klinkstatus/src/CMakeFiles/klinkstatuscommon.dir/pim/pimagent.o
In file included from /usr/include/syndication/global.h:25,
                 from /var/tmp/portage/kde-base/klinkstatus-4.4.2/work/klinkstatus-4.4.2/klinkstatus/src/pim/pimagent.cpp:29:
/usr/include/syndication/feed.h:26:32: error: boost/shared_ptr.hpp: No such file or directory
/var/tmp/portage/kde-base/klinkstatus-4.4.2/work/klinkstatus-4.4.2/klinkstatus/src/pim/pimagent.cpp: In member function 'void PimAgent::sendMessage()':
/var/tmp/portage/kde-base/klinkstatus-4.4.2/work/klinkstatus-4.4.2/klinkstatus/src/pim/pimagent.cpp:105: warning: 'TransportJob' is deprecated (declared at /usr/include/mailtransport/transportjob.h:42)
/var/tmp/portage/kde-base/klinkstatus-4.4.2/work/klinkstatus-4.4.2/klinkstatus/src/pim/pimagent.cpp:106: warning: 'MailTransport::TransportJob* MailTransport::TransportManager::createTransportJob(const QString&)' is deprecated (declared at /usr/include/mailtransport/transportmanager.h:148)
/var/tmp/portage/kde-base/klinkstatus-4.4.2/work/klinkstatus-4.4.2/klinkstatus/src/pim/pimagent.cpp:119: warning: 'void MailTransport::TransportManager::schedule(MailTransport::TransportJob*)' is deprecated (declared at /usr/include/mailtransport/transportmanager.h:159)

Expected Results:  
Compiles correctly

# emerge --info
Portage (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1fast i686)
System uname: Linux-2.6.33-gentoo-r1fast-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-2.0.1
Timestamp of tree: Mon, 03 May 2010 04:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~arm ~x86"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 acl berkdb bzip2 cddb cli cracklib cups cxx dbus dri extras ffmpeg flac fortran fuse gdbm gpm httpd iconv jpeg kde kdepim libwww matrox mmx mmxext mng modules mozdevelop mozdom mozilla moznocompose mplayer mudflap mysql ncurses nls nptl nptlonly offensive opengl openmp pam pcre pda perl png pppd python qt3support qt4 readline reflection samba server session spl sql sqlite sse ssl svg sysfs tagwriting tcpd tk unicode webkit x86 xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Comment 1 J.C. Wren 2010-05-03 15:25:25 UTC
Created attachment 230153 [details]
build log from emerge klinkstatus
Comment 2 J.C. Wren 2010-05-03 15:26:21 UTC
dev-libs/boost is 1.42.0
dev-util/boost-build is 1.42.0
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-06-06 18:07:23 UTC
Is this still a problem with kde-4.4.4 ?
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-06-10 17:51:02 UTC
/usr/include/syndication/feed.h is actually from kdepimlibs.

A lot of files from kdepimlibs use <boost/shared_prt.hpp>, which should be <boost/smart_ptr/shared_prt.hpp>.

This looks like <boost/shared_prt.hpp> has been deprecated, but I am unable to find its removal or any related message in boost svn. :|

Maybe the boost maintainers know this?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-06-10 19:42:23 UTC
Doh, I take it all back. The header file has not been removed. 

C++ team, sorry for the noise. Removing you again.

J.C. Wren, please check that the symlink /usr/include/boost is present. 

If not, select a boost implementation with eselect. 
If yes, this is a real bug - please reopen it then. 
Comment 6 J.C. Wren 2010-06-10 20:05:50 UTC
Seems not to be a problem anymore.  At some point it appears that during a routine emerge kdepimlibs got picked up, and all is well.  I don't know what changed.  I do know that before I reported the error originally, I had reemerge boost (sloooow!) to make sure it wasn't something like that.

For the record, the /usr/include/boost is a symlink.

I think this can be marked close.
Comment 7 Łukasz Michalik 2010-06-10 20:56:57 UTC
/usr/include/boost symlink missing shouldn't break any package, as it's for convenience of user using boost in their own projects.

I can only suspect, kdepimlibs isn't setting include paths in .pc files. (Forgive my ignorance, I can only assume kdepimlibs is a library that provides pkg-config file and its dependands are using it, I momentarly have no resources to try and install it at that version.)  Its build system (or ebuild if the former does not) should find relevant include path (/usr/include/boost-1_42 presumably in this case) and packages that build against should use it.