Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507892 - kde-base/kdepimlibs-4.13.0: fails to build with dev-libs/libical-1.0 (picks up static libs)
Summary: kde-base/kdepimlibs-4.13.0: fails to build with dev-libs/libical-1.0 (picks u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 508726
Blocks:
  Show dependency tree
 
Reported: 2014-04-17 10:17 UTC by Rob Brown
Modified: 2014-05-14 19:06 UTC (History)
2 users (show)

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


Attachments
My emerge --info (emerge.info,5.83 KB, text/plain)
2014-04-17 10:17 UTC, Rob Brown
Details
Complete build log, bzip2'd (build.log.bz2,55.60 KB, application/octet-stream)
2014-04-17 10:19 UTC, Rob Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Brown 2014-04-17 10:17:52 UTC
Created attachment 375134 [details]
My emerge --info

Trying to update to KDE 4.13.0, kdepimlibs fails. I have not had problems with kdepimlibs before (to my recollection, anyway).

Some context for the error:

/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -march=core2 -pipe -fomit-frame-pointer -ftracer -funit-at-a-time  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libkcalcore.so.4 -o ../lib/libkcalcore.so.4.13.0 CMakeFiles/kcalcore.dir/versit/vcc.o CMakeFiles/kcalcore.dir/versit/vobject.o CMakeFiles/kcalcore.dir/alarm.o CMakeFiles/kcalcore.dir/attachment.o CMakeFiles/kcalcore.dir/attendee.o CMakeFiles/kcalcore.dir/calendar.o CMakeFiles/kcalcore.dir/calfilter.o CMakeFiles/kcalcore.dir/calformat.o CMakeFiles/kcalcore.dir/calstorage.o CMakeFiles/kcalcore.dir/compat.o CMakeFiles/kcalcore.dir/customproperties.o CMakeFiles/kcalcore.dir/duration.o CMakeFiles/kcalcore.dir/event.o CMakeFiles/kcalcore.dir/
exceptions.o CMakeFiles/kcalcore.dir/filestorage.o CMakeFiles/kcalcore.dir/freebusy.o CMakeFiles/kcalcore.dir/freebusycache.o CMakeFiles/kcalcore.dir/freebusyurlstore.o CMakeFiles/kcalcore.dir/freebusyperiod.o CMakeFiles/kcalcore.dir/icalformat.o CMakeFiles/kcalcore.dir/icalformat_p.o CMakeFiles/kcalcore.dir/icaltimezones.o CMakeFiles/kcalcore.dir/incidence.o CMakeFiles/kcalcore.dir/incidencebase.o CMakeFiles/kcalcore.dir/journal.o CMakeFiles/kcalcore.dir/memorycalendar.o CMakeFiles/kcalcore.dir/occurrenceiterator.o CMakeFiles/kcalcore.dir/period.o CMakeFiles/kcalcore.dir/person.o CMakeFiles/kcalcore.dir/recurrence.o CMakeFiles/kcalcore.dir/recurrencerule.o CMakeFiles/kcalcore.dir/schedulemessage.o CMakeFiles/kcalcore.dir/sorting.o CMakeFiles/kcalcore.dir/todo.o CMakeFiles/kcalcore.dir/vcalformat.o CMakeFiles/kcalcore.dir/visitor.o CMakeFiles/kcalcore.dir/kcalcore_automoc.o  -L/usr/lib64/qt4 /usr/lib64/libkdecore.so.5.13.0 /usr/lib64/qt4/libQtGui.so -Wl,-Bstatic -lical -licalss -Wl,-Bdynamic -luuid /usr/
lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -lpthread -Wl,-rpath,/usr/lib64/qt4: 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libical.a(icalderivedparameter.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libical.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
kcalcore/CMakeFiles/kcalcore.dir/build.make:995: recipe for target 'lib/libkcalcore.so.4.13.0' failed
make[2]: *** [lib/libkcalcore.so.4.13.0] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build'
CMakeFiles/Makefile2:3978: recipe for target 'kcalcore/CMakeFiles/kcalcore.dir/all' failed
make[1]: *** [kcalcore/CMakeFiles/kcalcore.dir/all] Error 2
Comment 1 Rob Brown 2014-04-17 10:19:27 UTC
Created attachment 375136 [details]
Complete build log, bzip2'd
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2014-04-17 10:53:18 UTC
Which dev-libs/libical version do you have installed?
Comment 3 Rafał Mużyło 2014-04-17 11:42:48 UTC
The question here is "why does cmake pick up *static* ical libs ?".

Does it leave any logs about that ?
Comment 4 Christian Vilhelm 2014-04-17 12:37:21 UTC
problem occurs with libical-1.0-r1
downgrading to libical-0.48-r2 solves the problem
Comment 5 Michael Palimaka (kensington) gentoo-dev 2014-04-17 18:02:58 UTC
It doesn't help that latest libical installs static library unconditionally either.
Comment 6 Rob Brown 2014-04-17 20:52:46 UTC
(In reply to Johannes Huber from comment #2)
> Which dev-libs/libical version do you have installed?

libical-1.0-r1

I can confirm that downgrading to libical-0.48-r2 solves the problem.
Comment 7 Thomas Capricelli 2014-04-23 12:00:33 UTC
got hit by the same problem

/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libical.a: error adding symbols: Bad value

And yes, downgrading to dev-libs/libical-0.48-r2 helped. I just masked 
>=dev-libs/libical-1.0
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2014-05-06 12:56:45 UTC
Please try again with libical-1.0-r2.
Comment 9 Christian Vilhelm 2014-05-14 18:55:04 UTC
problem solved with libical-1.0-r2 and kdepimlibs-4.13.1