[Bug 708935] New: openSUSE:11.4/libtool: Bug
https://bugzilla.novell.com/show_bug.cgi?id=708935 https://bugzilla.novell.com/show_bug.cgi?id=708935#c0 Summary: openSUSE:11.4/libtool: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: pth@novell.com ReportedBy: novell@ghalkes.nl QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- Compiling C++ libraries using libtool fails because the compiler is not actually called: Command: $ libtool --mode=link --tag=CXX g++ -shared -version-info 0:0:0 -o src/libt3widget.la src/colorscheme.lo [snip] src/wrapinfo.lo -lsigc-2.0 -L/usr/lib -ltranscript -L/usr/lib -lt3unicode -L/usr/lib -lt3key -L/usr/lib -lt3window -lpcre -pthread -rpath /usr/lib64 Output: libtool: link: (cd "src/.libs" && rm -f "libt3widget.so.0" && ln -s "libt3widget.so.0.0.0" "libt3widget.so.0") libtool: link: (cd "src/.libs" && rm -f "libt3widget.so" && ln -s "libt3widget.so.0.0.0" "libt3widget.so") libtool: link: ( cd "src/.libs" && rm -f "libt3widget.la" && ln -s "../libt3widget.la" "libt3widget.la" ) In the above I have removed a list of object files and replaced them with [snip] for readability. The first line of the output should read something like: libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtbeginS.o .libs/test.o -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../.. -L/usr/lib/x86_64-linux-gnu -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crtn.o -Wl,-soname -Wl,libtest.so.0 -o .libs/libtest.so.0.0.0 (Note that this is on a different machine with Ubuntu 10.10, compiling a different source) The problem is caused by the fact that libtool was built on a system without g++ installed. Adding a BuildRequires: gcc-c++ line to the spec file will resolve this problem. The problem has been noticed before by others as well: http://linux.derkeiler.com/Mailing-Lists/SuSE/2010-12/msg00655.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c1
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c2
Gertjan Halkes
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c3
--- Comment #3 from Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c4
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c5
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c6
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c7
--- Comment #7 from Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c8
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c9
--- Comment #9 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c10
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c11
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=708935
https://bugzilla.novell.com/show_bug.cgi?id=708935#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com