[Pkg-kde-extras] Bug#610212: FTBFS with gold / ld --no-add-needed

Felix Geyer debfx-pkg at fobos.de
Sun Jan 16 09:46:46 UTC 2011


Source: kftpgrabber
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: peter.fritzsche at gmx.de
Usertags: no-add-needed
Version: 0.8.99~svn1044538-3
Severity: minor
Tags: patch fixed-upstream

The attached patch makes kftpgrabber build with ld --no-add-needed and
--as-needed.

> /usr/bin/g++   -g -O2 -g -Wall -O2 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG  -Wl,--enable-new-dtags -Wl,-Bsymbolic-functions CMakeFiles/kftpgrabber.dir/kftpgrabber_automoc.o CMakeFiles/kftpgrabber.dir/main.o CMakeFiles/kftpgrabber.dir/mainwindow.o CMakeFiles/kftpgrabber.dir/checksumverifier.o CMakeFiles/kftpgrabber.dir/kftpbookmarks.o CMakeFiles/kftpgrabber.dir/kftpqueue.o CMakeFiles/kftpgrabber.dir/kftpqueueprocessor.o CMakeFiles/kftpgrabber.dir/kftpsession.o CMakeFiles/kftpgrabber.dir/kftpqueueconverter.o CMakeFiles/kftpgrabber.dir/kftptransfer.o CMakeFiles/kftpgrabber.dir/kftptransferfile.o CMakeFiles/kftpgrabber.dir/kftptransferdir.o CMakeFiles/kftpgrabber.dir/fileexistsactions.o CMakeFiles/kftpgrabber.dir/statistics.o CMakeFiles/kftpgrabber.dir/site.o CMakeFiles/kftpgrabber.dir/queueobject.o CMakeFiles/kftpgrabber.dir/queuegroup.o CMakeFiles/kftpgrabber.dir/directoryscanner.o  -o kftpgrabber -rdynamic -L"/build/user-kftpgrabber_0.8.99~svn1044538-3-i386-WIYEKo/kftpgrabber-0.8.99~svn1044538/obj-i686-linux-gnu/lib" /usr/lib/libkdecore.so.5.6.0 /usr/lib/libkdnssd.so.4.6.0 /usr/lib/libkde3support.so.4.6.0 /usr/lib/libkutils.so.4.6.0 /usr/lib/libkfile.so.4.6.0 -lssh2 -lssl ../lib/libbrowser.a ../lib/libbookmarkwidgets.a ../lib/libqueueviewwidget.a ../lib/libfailedtransferswidget.a ../lib/libwidgets.a ../lib/libengine.a ../lib/libmisc.a ../lib/libcustomcommands.a ../lib/libui.a ../lib/libkftpinterfaces.so.4.6.0 /usr/lib/libQt3Support.so /usr/lib/libkemoticons.so.4.6.0 /usr/lib/libkio.so.5.6.0 /usr/lib/libQtNetwork.so /usr/lib/libQtXml.so /usr/lib/libkidletime.so.4.6.0 /usr/lib/libkcmutils.so.4.6.0 /usr/lib/libkprintutils.so.4.6.0 /usr/lib/libkdeui.so.5.6.0 /usr/lib/libkdecore.so.5.6.0 /usr/lib/libQtDBus.so /usr/lib/libQtCore.so /usr/lib/libQtSvg.so /usr/lib/libQtGui.so -lssh2 
> /usr/bin/ld: ../lib/libmisc.a(pluginmanager.o): undefined reference to symbol 'typeinfo for KParts::Part'
> /usr/bin/ld: note: 'typeinfo for KParts::Part' is defined in DSO /usr/lib/libkparts.so.4 so try adding it to the linker command line
> /usr/lib/libkparts.so.4: could not read symbols: Invalid operation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12_fix_ftbfs_no-add-needed.diff
Type: text/x-diff
Size: 1148 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20110116/adead5fe/attachment.diff>


More information about the pkg-kde-extras mailing list