[Bug 714556] New: Tens of packages fail in Factory with linker error
https://bugzilla.novell.com/show_bug.cgi?id=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c0 Summary: Tens of packages fail in Factory with linker error Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: anixx@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-1.2 SeaMonkey/2.0.14 Tens of packages fail in Factory after this week's update with the same error. See below some examples: /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: main.o: undefined reference to symbol 'boost::system::system_category()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib/libboost_system.so.1.46.1 so try adding it to the linker command line /usr/lib/libboost_system.so.1.46.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [lyx-qt] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: src/dcopIface_skel.o: undefined reference to symbol 'typeinfo for DCOPObject' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'typeinfo for DCOPObject' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [src/abakus] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: sbctester.o: undefined reference to symbol 'sqrt@@GLIBC_2.0' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line /lib/libm.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [sbctester] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: ./celengine/libcelengine.a(glext.o): undefined reference to symbol 'dlopen@@GLIBC_2.1' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line /lib/libdl.so.2: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[4]: *** [celestia] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: build/app/mainWindow.o: undefined reference to symbol 'XSync' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'XSync' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [build/app/codeine] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: hubwdgt.o: undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [dc_qt] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: flagStonePort/transform-cxx-bsd/transform/libtransform.a(FSTransform.o): undefined reference to symbol 'uncompress' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'uncompress' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line /lib/libz.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [../bin/f4l] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: arts.o: undefined reference to symbol 'Arts::Dispatcher::~Dispatcher()' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'Arts::Dispatcher::~Dispatcher()' is defined in DSO /opt/kde3/lib/libmcop.so.1 so try adding it to the linker command line /opt/kde3/lib/libmcop.so.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [fleur2] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: gui.o: undefined reference to symbol 'operator new(unsigned int)@@GLIBCXX_3.4' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'operator new(unsigned int)@@GLIBCXX_3.4' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [kamix] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: kasablanca.all_cpp.o: undefined reference to symbol 'BIO_new_socket' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'BIO_new_socket' is defined in DSO /lib/libcrypto.so.1.0.0 so try adding it to the linker command line /lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [kasablanca] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: katalogservice/katalogservicedlg.o: undefined reference to symbol 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'KMessageBox::error(QWidget*, QString const&, QString const&, int)' is defined in DSO /opt/kde3/lib/libkdeui.so.4 so try adding it to the linker command line /opt/kde3/lib/libkdeui.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status scons: *** [katalogservice/katalogservice] Error 1 /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: CMakeFiles/kbfxconfigapp.dir/kbfxconfigapp.o: undefined reference to symbol 'DCOPRef::DCOPRef(QCString const&, QCString const&)' /usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'DCOPRef::DCOPRef(QCString const&, QCString const&)' is defined in DSO /opt/kde3/lib/libDCOP.so.4 so try adding it to the linker command line /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [bin/kbfxconfigapp] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c1 --- Comment #1 from Ilya Chernykh <anixx@opensuse.org> 2011-08-28 21:26:38 UTC --- Totally 49 packages fail due to this issue in KDE:KDE3 repository. Reportedly this was caused by a change by Christian Rodriguez' suggestion to enable --only-copy-dt-needed in the linker, thus making Makefiles generated by autotools incompatible with the new linker options. So please either patch Autotools to generate the compatible Makefiles or revert the change. -- 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=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |matz@suse.com |ovo.novell.com | -- 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=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c2 --- Comment #2 from Richard Guenther <rguenther@suse.com> 2011-08-30 08:02:53 UTC --- It is not a autotools issue but a package problem to collect required libraries to link to. The /opt/kde3/lib/libDCOP.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status errors are odd though, I'll try to see why we print that confusing message (seems harmless though). -- 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=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c3 --- Comment #3 from Richard Guenther <rguenther@suse.com> 2011-08-30 08:31:47 UTC --- Just for information, it's elf_link_add_object_symbols doing /* A symbol from a library loaded via DT_NEEDED of some other library is referenced by a regular object. Add a DT_NEEDED entry for it. Issue an error if --no-add-needed is used and the reference was not a weak one. */ if (undef_bfd != NULL && (elf_dyn_lib_class (abfd) & DYN_NO_NEEDED) != 0) { (*_bfd_error_handler) (_("%B: undefined reference to symbol '%s'"), undef_bfd, name); (*_bfd_error_handler) (_("note: '%s' is defined in DSO %B so try adding it to the linker command line"), abfd, name); bfd_set_error (bfd_error_invalid_operation); goto error_free_vers; and the caller, gld${EMULATION_NAME}_try_needed issueing /* Add this file into the symbol table. */ if (! bfd_link_add_symbols (abfd, &link_info)) einfo ("%F%B: could not read symbols: %E\n", abfd); we could guard the latter with bfd_get_error () != bfd_error_invalid_operation or not set an error and guard it with bfd_get_error () != bfd_error_no_error. But it's probably not worth fixing (didn't find an upstream bug either). I have filed http://sourceware.org/bugzilla/show_bug.cgi?id=13141 -- 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=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c4 Michael Matz <matz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|matz@suse.com |anixx@opensuse.org Severity|Normal |Major --- Comment #4 from Michael Matz <matz@suse.com> 2011-08-30 11:41:31 UTC --- This must be assigned to the respective package maintainers, to mention all necessary libraries for binaries. Ilya, it seems you're bugowner of KDE:KDE3, so please do so. -- 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=714556 https://bugzilla.novell.com/show_bug.cgi?id=714556#c5 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #5 from Ilya Chernykh <anixx@opensuse.org> 2011-10-09 18:41:25 UTC --- I fixed KDE:KDE3 packages. -- 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.
participants (1)
-
bugzilla_noreply@novell.com