View previous topic :: View next topic |
Author |
Message |
Vorlon Apprentice
Joined: 16 May 2003 Posts: 246 Location: West Grove, PA
|
Posted: Thu Apr 17, 2014 9:59 pm Post subject: [Solved!] libical & kdepimlibs Fails Emerge |
|
|
I've been trying to upgrade my ~AMD64 system, but emerge fails on both libical and kdepimlibs.
I'm a little too obtuse to be able to understand the most relevant failure messages. Here they are:
libical-1.0-r1:
Building C object src/test/CMakeFiles/process.dir/process.o
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/test && /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBICAL_STATIC -DNDEBUG -march=native -O2 -pipe -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src -DTEST_DATADIR=\"/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/test-data\" -o CMakeFiles/process.dir/process.o -c /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/test/process.c
make[2]: Entering directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles
[ 86%] Building C object src/test/CMakeFiles/copycluster.dir/copycluster.o
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/test && /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBICAL_STATIC -DNDEBUG -march=native -O2 -pipe -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src -DTEST_DATADIR=\"/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/test-data\" -o CMakeFiles/copycluster.dir/copycluster.o -c /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/test/copycluster.c
ERROR: can't resolve libraries to shared libraries: ical
ERROR: can't resolve libraries to shared libraries: ical
src/libical/CMakeFiles/gir-girs.dir/build.make:54: recipe for target 'src/libical/libical-0.48.gir' failed
make[2]: *** [src/libical/libical-0.48.gir] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
CMakeFiles/Makefile2:169: recipe for target 'src/libical/CMakeFiles/gir-girs.dir/all' failed
make[1]: *** [src/libical/CMakeFiles/gir-girs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
src/libical/CMakeFiles/gir-typelibs.dir/build.make:59: recipe for target 'src/libical/libical-0.48.gir' failed
make[2]: *** [src/libical/libical-0.48.gir] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
CMakeFiles/Makefile2:204: recipe for target 'src/libical/CMakeFiles/gir-typelibs.dir/all' failed
make[1]: *** [src/libical/CMakeFiles/gir-typelibs.dir/all] Error 2
Linking C executable parser
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/parser.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/parser.dir/icaltestparser.o -o parser -rdynamic ../../lib/libical.a ../../lib/libicalss.a ../../lib/libical.a -lpthread
Linking C executable copycluster
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/copycluster.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/copycluster.dir/copycluster.o -o copycluster -rdynamic ../../lib/libical.a ../../lib/libicalss.a ../../lib/libical.a -lpthread
Linking C executable process
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/process.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/process.dir/process.o -o process -rdynamic ../../lib/libical.a ../../lib/libicalss.a ../../lib/libical.a -lpthread
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles 90
[ 86%] Built target parser
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles
[ 86%] make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles 91
Built target copycluster
[ 86%] Built target process
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: dev-libs/libical-1.0-r1::gentoo failed (compile phase):
* emake failed
Here is kdepimlibs-4.13.0:
/lib64/qt4/libQtCore.so -Wl,-rpath,/usr/lib64/qt4:
cd /var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build/akonadi && /usr/bin/cmake -E cmake_symlink_library ../lib/libakonadi-kde.so.4.13.0 ../lib/libakonadi-kde.so.4 ../lib/libakonadi-kde.so
make[2]: Leaving directory '/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build/CMakeFiles 10 11 12 13 14 15 16 17 18 19 20 21 22
[ 53%] Built target akonadi-kde
make[1]: Leaving directory '/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build'
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: kde-base/kdepimlibs-4.13.0::gentoo failed (compile phase):
* emake failed
It looks like libical can't find the ical links, and I can't figure out what kdepimlibs is looking for (unless its libical).
I tried the fix mentioned elsewhere in the forums ("unset path") to no effect.
I've also tried the commands "env-update", "source /etc/profile", & "revdep-rebuild" without any success.
Anybody got any suggestions of things to try?
TIA! _________________ Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Last edited by Vorlon on Fri Apr 18, 2014 10:44 pm; edited 1 time in total |
|
Back to top |
|
|
deranonyme Guru
Joined: 09 Jul 2005 Posts: 508
|
Posted: Fri Apr 18, 2014 9:34 am Post subject: |
|
|
kdepimlibs wont compile for me too.
It fails everytime it it works on libsyndication.
Code: |
.so /usr/lib64/libkdeui.so.5.12.4 /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so /usr/lib64/libkdecore.so.5.12.4 /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -lpthread -Wl,-rpath,/usr/lib64/qt4:
cd /var/tmp/portage/kde-base/kdepimlibs-4.12.4/work/kdepimlibs-4.12.4_build/syndication && /usr/bin/cmake -E cmake_symlink_library ../lib/libsyndication.so.4.12.4 ../lib/libsyndication.so.4 ../lib/libsyndication.so
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdepimlibs-4.12.4/work/kdepimlibs-4.12.4_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-base/kdepimlibs-4.12.4/work/kdepimlibs-4.12.4_build/CMakeFiles 79 80 81 82 83
[ 26%] Built target syndication
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdepimlibs-4.12.4/work/kdepimlibs-4.12.4_build'
make: *** [all] Error 2
* ERROR: kde-base/kdepimlibs-4.12.4::gentoo failed (compile phase):
* emake failed |
I tied to update to Kde 4.13.0 but it fails too.
Any hints?
Thanks Frank |
|
Back to top |
|
|
The Unabeefer n00b
Joined: 23 Dec 2008 Posts: 60 Location: Chicago, IL
|
Posted: Fri Apr 18, 2014 7:23 pm Post subject: |
|
|
I got dev-libs/libical-1.0-r1 to compile with USE="-introspection" (after it worked, added it to my package.use)
Not sure if that'll fix your problem, but that's what worked for me. _________________ I am a flying cow... worship me or DIE!!!
...and there he was, reigning supreme at number two...
The One... The Only... The Unabeefer |
|
Back to top |
|
|
deranonyme Guru
Joined: 09 Jul 2005 Posts: 508
|
Posted: Fri Apr 18, 2014 8:03 pm Post subject: |
|
|
The Unabeefer wrote: | I got dev-libs/libical-1.0-r1 to compile with USE="-introspection" (after it worked, added it to my package.use) |
USE="-introspection" is set for me but it doesn't work. |
|
Back to top |
|
|
Vorlon Apprentice
Joined: 16 May 2003 Posts: 246 Location: West Grove, PA
|
Posted: Fri Apr 18, 2014 10:46 pm Post subject: |
|
|
I solved it!
libical emerged properly when I disabled the "introspection" use flag, as mentioned by Unabeefer. (I didn't set it to negative, I just deleted any reference to it all.)
kdepimlibs emerged properly when I disabled the "static-libs" use flag.
I'm not sure now why I ever had either of these flags set, but removing them entirely allowed everything to compile. _________________ Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation |
|
Back to top |
|
|
deranonyme Guru
Joined: 09 Jul 2005 Posts: 508
|
Posted: Sat Apr 19, 2014 6:44 am Post subject: |
|
|
Vorlon wrote: | I solved it!
kdepimlibs emerged properly when I disabled the "static-libs" use flag.
I'm not sure now why I ever had either of these flags set, but removing them entirely allowed everything to compile. |
Now I'm completely confused. There is no "static-libs" flag for kdepimlibs. Or have you disabled it for the whole system?
PS: Okay I disabled the global use flag static-libs and enabled it only for the ebuilds where it's needed. |
|
Back to top |
|
|
Vorlon Apprentice
Joined: 16 May 2003 Posts: 246 Location: West Grove, PA
|
Posted: Sat Apr 19, 2014 10:35 am Post subject: |
|
|
I changed it for the whole system and did a complete system upgrade "emerge --deep --newuse -u world". This caused about a dozen or so packages to rebuild and then compiled kdepimlibs successfully. _________________ Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation |
|
Back to top |
|
|
deranonyme Guru
Joined: 09 Jul 2005 Posts: 508
|
Posted: Sat Apr 19, 2014 2:22 pm Post subject: |
|
|
Vorlon wrote: | I changed it for the whole system and did a complete system upgrade "emerge --deep --newuse -u world". This caused about a dozen or so packages to rebuild and then compiled kdepimlibs successfully. |
The same way worked for me. Thanks for the hint. |
|
Back to top |
|
|
Reks2004 n00b
Joined: 11 Feb 2006 Posts: 21 Location: Poland
|
Posted: Mon Apr 21, 2014 7:18 pm Post subject: |
|
|
Boys only libical compiled with static-libs flag is yours problem;-)
Recompile with -static-libs flag and done;)
~Reks |
|
Back to top |
|
|
awiesel Tux's lil' helper
Joined: 30 Jun 2002 Posts: 134
|
Posted: Wed Apr 23, 2014 4:24 pm Post subject: |
|
|
Reks2004 wrote: | Boys only libical compiled with static-libs flag is yours problem;-)
Recompile with -static-libs flag and done;)
~Reks |
Thanks, this was the culprit! |
|
Back to top |
|
|
|