[Pkg-kde-extras] Bug#554936: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Sat Nov 7 07:53:26 UTC 2009


Source: kbarcode
Version: 2.0.7-2
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../libtool --tag=CXX   --mode=link g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common   -L/usr/share/qt3/lib -L/usr/lib     -o kbarcode barcodecombo.o barcodedialog.o barcodedialogs.o commands.o configdialog.o confwizard.o csvimportdlg.o databasebrowser.o definition.o definitiondialog.o dsmainwindow.o kbarcode.o label.o labeleditor.o labelutils.o main.o mimesources.o multilineeditdlg.o mycanvasitem.o mycanvasview.o mydatatable.o newlabel.o previewdialog.o printersettings.o printlabeldlg.o rectsettingsdlg.o smalldialogs.o sqltables.o tokenprovider.o xmlutils.o zplutils.o measurements.o kbarcodesettings.o batchprinter.o barcodeitem.o documentitem.o lineitem.o rectitem.o tcanvasitem.o textitem.o imageitem.o documentitemdlg.o propertywidget.o tec.o barcodeprinterdlg.o textlineitem.o textlineedit.o tokendialog.o barkode.o gnubarcode.o barkodeengine.o pixmapbarcode.o batchwizard.o csvfile.o dstextedit.o encodingcombo.o purepostscript.o tbarcode2.o editoriface_skel.o kbarcodeiface_skel.o batchiface_skel.o encodingcombo.moc.o  -lkabc -lkspell -lkdeprint -lkdeui -lkjs -lpcre 
mkdir .libs
g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -o kbarcode barcodecombo.o barcodedialog.o barcodedialogs.o commands.o configdialog.o confwizard.o csvimportdlg.o databasebrowser.o definition.o definitiondialog.o dsmainwindow.o kbarcode.o label.o labeleditor.o labelutils.o main.o mimesources.o multilineeditdlg.o mycanvasitem.o mycanvasview.o mydatatable.o newlabel.o previewdialog.o printersettings.o printlabeldlg.o rectsettingsdlg.o smalldialogs.o sqltables.o tokenprovider.o xmlutils.o zplutils.o measurements.o kbarcodesettings.o batchprinter.o barcodeitem.o documentitem.o lineitem.o rectitem.o tcanvasitem.o textitem.o imageitem.o documentitemdlg.o propertywidget.o tec.o barcodeprinterdlg.o textlineitem.o textlineedit.o tokendialog.o barkode.o gnubarcode.o barkodeengine.o pixmapbarcode.o batchwizard.o csvfile.o dstextedit.o encodingcombo.o purepostscript.o tbarcode2.o editoriface_skel.o kbarcodeiface_skel.o batchiface_skel.o encodingcombo.moc.o  -L/usr/share/qt3/lib -L/usr/lib /usr/lib/libkabc.so /usr/lib/libkspell.so /usr/lib/libkdeprint.so /usr/lib/libkdeui.so /usr/lib/libkjs.so -lpcre  
/usr/bin/ld: barcodecombo.o: in function global constructors keyed to _ZN16BarcodeValidatorC2EP7QObjectPKc:./barcodecombo.moc:28: error: undefined reference to 'QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())'
/usr/bin/ld: barcodecombo.o: in function global constructors keyed to _ZN16BarcodeValidatorC2EP7QObjectPKc:./barcodecombo.moc:28: error: undefined reference to 'QMetaObjectCleanUp::~QMetaObjectCleanUp()'
/usr/bin/ld: barcodecombo.o: in function global constructors keyed to _ZN16BarcodeValidatorC2EP7QObjectPKc:./barcodecombo.moc:101: error: undefined reference to 'QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())'
/usr/bin/ld: barcodecombo.o: in function global constructors keyed to _ZN16BarcodeValidatorC2EP7QObjectPKc:./barcodecombo.moc:101: error: undefined reference to 'QMetaObjectCleanUp::~QMetaObjectCleanUp()'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::staticMetaObject():./barcodecombo.moc:127: error: undefined reference to 'QWidget::staticMetaObject()'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::staticMetaObject():./barcodecombo.moc:148: error: undefined reference to 'QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::staticMetaObject():./barcodecombo.moc:149: error: undefined reference to 'QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::trUtf8(char const*, char const*):./barcodecombo.moc:114: error: undefined reference to 'qApp'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::trUtf8(char const*, char const*):./barcodecombo.moc:115: error: undefined reference to 'QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::trUtf8(char const*, char const*):./barcodecombo.moc:117: error: undefined reference to 'QString::fromUtf8(char const*, int)'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::trUtf8(char const*, char const*):./barcodecombo.moc:41: error: undefined reference to 'qApp'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::trUtf8(char const*, char const*):./barcodecombo.moc:42: error: undefined reference to 'QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::trUtf8(char const*, char const*):./barcodecombo.moc:44: error: undefined reference to 'QString::fromUtf8(char const*, int)'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::tr(char const*, char const*):./barcodecombo.moc:106: error: undefined reference to 'qApp'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::tr(char const*, char const*):./barcodecombo.moc:107: error: undefined reference to 'QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::tr(char const*, char const*):./barcodecombo.moc:109: error: undefined reference to 'QString::fromLatin1(char const*, int)'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::tr(char const*, char const*):./barcodecombo.moc:33: error: undefined reference to 'qApp'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::tr(char const*, char const*):./barcodecombo.moc:34: error: undefined reference to 'QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::tr(char const*, char const*):./barcodecombo.moc:36: error: undefined reference to 'QString::fromLatin1(char const*, int)'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::staticMetaObject():./barcodecombo.moc:63: error: undefined reference to 'QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
/usr/bin/ld: barcodecombo.o: in function BarcodeCombo::staticMetaObject():./barcodecombo.moc:64: error: undefined reference to 'QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::slotValidateValue():/home/peter/rebuild/build/kbarcode/kbarcode-2.0.7/./kbarcode/barcodecombo.cpp:313: error: undefined reference to 'QLineEdit::hasAcceptableInput() const'
/usr/bin/ld: barcodecombo.o: in function BarcodeWidget::slotValidateValue():/home/peter/rebuild/build/kbarcode/kbarcode-2.0.7/./kbarcode/barcodecombo.cpp:313: error: undefined reference to 'Qt::red'
...





More information about the pkg-kde-extras mailing list