| Summary: | Build issue: Rosegarden FTBFS on 64-bit | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | albator78, bugwatch, darrella, slavek.banko |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Slackware 14 | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
Potential fix
Slackware 14 rosegarden logs for 32 and 64-bit Potential fix 2 Potential fix 3 |
||
|
Description
Darrell
2012-06-27 17:27:40 CDT
Note: Slackware Current is the testing branch but will be released soon as Slackware 14. The bug tracker does not yet have that release version in the pick lists. Created attachment 698 [details]
Potential fix
Try this patch
No go. :-( Looks pretty much the same patch that Seghei offered in the mail list, except the order where 'pthread' was placed. I don't understand the failure. Same system, same updates in 32-bit. BTW, glibc 2.15 is installed on both 32-bit and 64-bit. glibc 2.13 is installed on Slackware 13.37 with 2.11.1 on 13.1. No build problems with those four systems. Try applying a similar patch (i.e. adding "pthread" to the space-separated list of libraries) to the LINK line in rosegarden/src/CMakeLists.txt line 132. If that doesn't work I am out of ideas; most likely CMake is not working properly on 64 bit Slackware. Doesn't build. cmake-2.8.8 on both 32-bit and 64-bit. Can you post the full build log, and also the CMakeOutput.log, CMakeError.log, and CMakeCache.txt files to this bug report? I will attach, but after I build again without parallel processing. My reason is when I build with parallel processing the build gets to [100%] status and then fails. Of course, [100%] status does not mean a completed build but doggone close. Eliminating parallel processing eliminates the build output confusion and clutter (for me). I probably should build again in 32-bit without parallel processing too, to create equivalent logs. With that said, Slackware 14 is not officially released and thus far, this is the only app I support that won't build without a patch or work-around. The app builds on the other five releases I am supporting. That is, we probably should focus on other Blocker/Critical bugs. I don't think Slackware 14 is close yet to being released. The release is not yet in release candidate status and there are rumors of certain package updates that have not yet been included. I suspect at least a few more weeks before Slackware 14 is pushed to release candidate status. I'm not stipulating how you should use your time :-), just saying that although this problem is a Blocker, the problem is a low-level Blocker. Maybe take a whack at bug report 503. :-) Created attachment 700 [details]
Slackware 14 rosegarden logs for 32 and 64-bit
I am attaching some logs in a tar.gz. One set of logs for Slackware 14 32-bit and the other for Slackware 14 64-bit.
I hope my previous post did not come across as too "snarky." I greatly appreciate you and everyone else who tries to resolve these frustrating bugs. My only intent was to offer the idea of triage, but the person offering to help gets to set that priority, not me. :-)
Hey I have the same kind of weirdness on Mageia 2 x86_64 with rosegarden 3.5.13 (original or SRU) [ 95%] Building CXX object RGbuild/CMakeFiles/rosegarden.dir/gui/application/main.o cd /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/build/RGbuild && /usr/lib64/ccache/bin/c++ -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -DQT_CLEAN_NAMESPACE -D_GNU_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DHAVE_XFT -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_DSSI -DHAVE_LIBLO -DHAVE_LIBLRDF -DHAVE_LADSPA -DHAVE_FFTW3F -DHAVE_LIRC -I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -O2 -w -fexceptions -DNDEBUG -include tqt.h -I/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/build/RGbuild -I/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/src -I/usr/lib/qt3/include -I/opt/trinity/include/kde -I/usr/include/alsa -I/usr/include/freetype2 -I/usr/include/raptor2 -I/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/src/base -D'VERSION="1.7.0"' -o CMakeFiles/rosegarden.dir/gui/application/main.o -c /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/src/gui/application/main.cpp Linking CXX executable rosegarden cd /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/build/RGbuild && /usr/bin/cmake -E cmake_link_script CMakeFiles/rosegarden.dir/link.txt --verbose=1 /usr/lib64/ccache/bin/c++ -I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT -O2 -w -fexceptions -DNDEBUG -include tqt.h -L/opt/trinity/lib64 -I/opt/trinity/include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags CMakeFiles/rosegarden.dir/gui/application/main.o -o rosegarden -rdynamic -L/opt/trinity/lib64 -L/home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/build/RGbuild -ldl -lfontconfig -llo -lqassistantclient -lqt-mt -lSM -lICE -lX11 -lXext -ldl -lpthread /opt/trinity/lib64/libkdecore.so -llo -lpthread -llrdf -lfftw3f -lm -lXft -llirc_client -ljack -lkio -lkdeui -lkdeprint libRosegardenExtended.a libRosegardenSegmentCanvas.a libRosegardenCommands.a libRosegardenCommon.a -llo -ldl /usr/bin/ld: /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../lib64/libqt-mt.so: undefined reference to symbol 'XftDrawGlyphs' /usr/bin/ld: note: 'XftDrawGlyphs' is defined in DSO /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../lib64/libXft.so so try adding it to the linker command line /usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../lib64/libXft.so: could not read symbols: Invalid operation collect2: ld a retourné 1 code d'état d'exécution make[2]: *** [RGbuild/rosegarden] Erreur 1 make[2] : on quitte le répertoire « /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/build » make[1]: *** [RGbuild/CMakeFiles/rosegarden.dir/all] Erreur 2 make[1] : on quitte le répertoire « /home/albator/rpmbuild/BUILD/BUILD.mga2.x86_64/applications/rosegarden/build » make: *** [all] Erreur 2 WTF ? Why does it ask for 'Xft' since it is already present on the linker command line ??? Usually when the linker says "try adding it to the linker command line", it is true that I just have to add the -lXXX parameter, then it works ... Created attachment 950 [details]
Potential fix 2
Commit af88555e apparently solves the problem, which featured François.
According to the log I see that crashes build rosegarden binary. Tim's patch adds pthread for rosegardensequencer binary. Please, try the same for rosegarden binary - see attached patch.
Created attachment 951 [details] Potential fix 3 The patch in attachment 950 [details] (Potential fix 2) did not work for me with Slackware 14.0 64-bit. I'm attaching another potential patch that did successfully build rosegarden on Slackware 14.0 64-bit. I assumed the current application of attachment 698 [details] and attachment 950 [details], which is exactly what makes the cumulative attachment 951 [details]. I'll test it and approve soon. The test with patch from attachment 951 [details] was successful (on Ubuntu Quantal).
And as well as an equivalent patch for v3.5.13-sru.
Pushed to GIT in commit 5ed1c01d. Thank you! Equivalent patch for v3.5.13-sru pushed in GIT hash a486fb84. |