| Summary: | build of latest repository fails | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | George R. Goffe <grgoffe> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
output of script command running the build process
log files |
||
Created attachment 81576 [details]
output of script command running the build process
Error messages from a build attempt just a few minutes ago. 00000797 [ 12%] Building CXX object libktcore/CMakeFiles/ktcore.dir/plugin/pluginactivity.o 00000798 [ 12%] Building CXX object libktcore/CMakeFiles/ktcore.dir/settings.o 00000799 Linking CXX shared library ../lib/libktcore.so 00000800 CMakeFiles/ktcore.dir/interfaces/plugin.o: In function `kt::Plugin::~Plugin()': 00000801 /tools/ktorrent/ktorrent/libktcore/interfaces/plugin.cpp:33: undefined reference to `KParts::Plugin::~Plugin(void const**)' 00000802 CMakeFiles/ktcore.dir/interfaces/plugin.o: In function `kt::Plugin::Plugin(QObject*)': 00000803 /tools/ktorrent/ktorrent/libktcore/interfaces/plugin.cpp:25: undefined reference to `KParts::Plugin::Plugin(void const**, QObject*)' 00000804 CMakeFiles/ktcore.dir/interfaces/plugin.o: In function `kt::Plugin::Plugin(QObject*)': 00000805 /tools/ktorrent/ktorrent/libktcore/interfaces/plugin.cpp:25: undefined reference to `KParts::Plugin::Plugin(void const**, QObject*)' 00000806 CMakeFiles/ktcore.dir/interfaces/plugin.o: In function `kt::Plugin::~Plugin()': 00000807 /tools/ktorrent/ktorrent/libktcore/interfaces/plugin.cpp:33: undefined reference to `KParts::Plugin::~Plugin(void const**)' 00000808 CMakeFiles/ktcore.dir/interfaces/activity.o: In function `kt::ActivityPart::ActivityPart(kt::Activity*)': 00000809 activity.cpp:(.text+0x11): undefined reference to `KParts::Part::Part(void const**, QObject*)' 00000810 CMakeFiles/ktcore.dir/interfaces/activity.o: In function `kt::ActivityPart::ActivityPart(kt::Activity*)': 00000811 activity.cpp:(.text+0x68): undefined reference to `KParts::Part::Part(void const**, QObject*)' 00000812 CMakeFiles/ktcore.dir/interfaces/activity.o: In function `kt::ActivityPart::~ActivityPart()': 00000813 activity.cpp:(.text+0x118): undefined reference to `KParts::Part::~Part(void const**)' 00000814 CMakeFiles/ktcore.dir/interfaces/activity.o: In function `kt::ActivityPart::~ActivityPart()': 00000815 activity.cpp:(.text+0xcf): undefined reference to `KParts::Part::~Part(void const**)' 00000816 collect2: error: ld returned 1 exit status 00000817 make[2]: *** [lib/libktcore.so.14.0.0] Error 1 00000818 make[1]: *** [libktcore/CMakeFiles/ktcore.dir/all] Error 2 00000819 make: *** [all] Error 2 It builds fine for me, as usual Could you upload your build script itself ? Or maybe you have some unusual setup in your building environment ? It's not exactly rocket science but it's been working for quite a while. Also, here's a tar.gz file containing the error logs from ktorrent and libktorrent. #!/bin/bash -xv CMAKE_PREFIX_PATH=/usr/ cd /tools/ktorrent which automoc4 automoc4 --version ./updkt mkdir libktorrent/build 2>/dev/null cd libktorrent/build cmake -DLIB_SUFFIX=64 -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) .. make clean make depend make make install mkdir ../../ktorrent/build 2>/dev/null cd ../../ktorrent/build cmake -DLIB_SUFFIX=64 -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) .. make clean make depend make make install exit 0 Created attachment 81629 [details]
log files
1 -rw-r--r-- root/root 8020 2013-08-05 18:48 ./ktorrent/build/CMakeFiles/CMakeError.log
2 -rw-r--r-- root/root 40861 2013-08-05 18:48 ./ktorrent/build/CMakeFiles/CMakeOutput.log
3 -rw-r--r-- root/root 12027 2013-08-05 18:45 ./libktorrent/build/CMakeFiles/CMakeError.log
4 -rw-r--r-- root/root 66125 2013-08-05 18:45 ./libktorrent/build/CMakeFiles/CMakeOutput.log
By the way, this is from the source repository and is a dev version I believe. Hi, I'm still having this problem. Could someone please help me? Thanks, George... Andrew (andrew.crouthamel@kdemail.net) Let's kill this one, ok? George Closing per request. |
Building Ktorrent on FC 16 x86_64 encounters build problems in libKtorrent code. See complete log enclosed. 785 activity.cpp:(.text+0x118): undefined reference to `KParts::Part::~Part(void const**)' 786 CMakeFiles/ktcore.dir/interfaces/activity.o: In function `kt::ActivityPart::~ActivityPart()': 787 activity.cpp:(.text+0xcf): undefined reference to `KParts::Part::~Part(void const**)' 788 collect2: error: ld returned 1 exit status 789 make[2]: *** [lib/libktcore.so.14.0.0] Error 1 790 make[1]: *** [libktcore/CMakeFiles/ktcore.dir/all] Error 2 791 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1.Run build.usr script which updates from the ktorrent repositories 2.Ktorrent builds 3.libKtorrent fails