By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1148

Summary: Build issue: pykdeextensions 3.5.13 FTBFS on Mandriva 2011 x86_64
Product: TDE Reporter: Francois Andriot <albator78>
Component: non-core programsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, darrella, slavek.banko
Priority: P5    
Version: 3.5.13 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Removes '-lstdc++' flag to avoir build failure

Description Francois Andriot 2012-08-05 04:16:25 CDT
Hello, I'm currently building pykdeextensions for both Mageia 2 and Mandriva 2011,  both i686 and x86_64.

On Mandriva 2011 x86_64 *only*, it FTBFS with the following message:

libtool --mode=link gcc -module -export-dynamic build/libpythonize.lo -rpath /opt/trinity/lib64 -o build/libpythonize.la -lpython2.7 -lpthread -ldl -lutil -lm -lstdc++ -lc /usr/lib64/libgcc_s.so -R /usr/lib64
libtool: link: gcc -shared  -fPIC -DPIC  build/.libs/libpythonize.o       -Wl,-rpath -Wl,/usr/lib64/../lib -Wl,-rpath -Wl,/usr/lib64/../lib -Wl,-rpath -Wl,/usr/lib64 -lpython2.7 -lpthread -ldl -lutil /usr/lib64/../lib/libstdc++.so -lm -lc -Wl,-soname -Wl,libpythonize.so.0 -o build/.libs/libpythonize.so.0.0.0
/usr/lib64/../lib/libstdc++.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
error: command 'libtool' failed with exit status 1

The problem is that libtool tries to use '/usr/lib64/../lib/libstdc++.so' (32 bits library with a strange path) instead of /usr/lib64/libstdc++.so as it should.
Comment 1 Francois Andriot 2012-08-05 04:17:50 CDT
Created attachment 758 [details]
Removes '-lstdc++' flag to avoir build failure

Strange problem, strange solution : I just have to remove the "-lstdc++" flag from the command line to avoid FTBFS. See patch.
Comment 2 Slávek Banko 2012-08-05 04:25:16 CDT
François, you build original v3.5.13 or with patches from v3.5.13-sru branch?

http://git.trinitydesktop.org/cgit/pytdeextensions/log/?h=origin/v3.5.13-sru
Comment 3 Francois Andriot 2012-08-05 04:46:42 CDT
i'm using patches from SRU.
Comment 4 Slávek Banko 2012-08-20 12:04:17 CDT
Fixed in GIT hash 613b3322