[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#391933: packagesearch - FTBFS: cannot find -lsqlite



Hello,

attached you find a bug report about a linker error that occured when
building packagesearch. 
This build error surfaced only recently (and happens also on i386 and
probably all other architectures) and occurs only on systems with an up
to date set of packages. A diff of a successful and a non-successful
buildlog showed, that the most notable differences, which seemed related
to the bug report, were in using the latest QT4 and libmysqlclient15
packages:
        QT 4.1.4 (worked) vs. QT 4.2 libraries (failed)
and
        libmysqlclient15 5.0.24a-7 (worked) vs. libmysqlclient15 5.0.24a-9 (failed)

since there was nothing mentioned in a NEWS file, I suspect, that there
was an error introduces in one of those packages.

If the bug is caused by a bad/missing dependency in packagesearch please
let me know.
Note that I am using qmake for building my package.

The full bug log can be found at http://bugs.debian.org/391933

Please respond as soon as possible, since I will be gone soon and the
freeze of etch is at the doorstep.

I have attached the successfull and not-successful builddlogs for
packagesearch on s390.

Thanks,

Benjamin 

On Mon, 2006-10-09 at 15:56 +0200, Bastian Blank wrote:
> Package: packagesearch
> Version: 2.1.1-0.1
> Severity: serious
> 
> There was an error while trying to autobuild your package:
> 
> > Automatic build of packagesearch_2.1.1-0.1 on debian-31 by sbuild/s390 85
> [...]
> > /usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I.moc -I.ui runcommandwidget.h -o .moc/moc_runcommandwidget.cpp
> > g++ -c -pipe -O2 `pkg-config --cflags libapt-front libtagcoll` -D_REENTRANT -Wall -W  -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I.moc -I.ui -o .obj/moc_runcommandwidget.o .moc/moc_runcommandwidget.cpp
> > g++ -Wl,-export-dynamic -o packagesearch .obj/main.o .obj/packagesearchimpl.o .obj/history.o .obj/runcommand.o .obj/runcommandinxterm.o .obj/extalgorithm.o .obj/applicationfactory.o .obj/exception.o .obj/plugincontainer.o .obj/plugin.o .obj/singleton.o .obj/runcommandinwindow.o .obj/runcommandforoutput.o .obj/xmldata.o .obj/pluginmanager.o .obj/pluginlistitem.o .obj/pluginsettingsdlg.o .obj/plugininformer.o .obj/baseplugincontainer.o .obj/packagenotfoundexception.o .obj/packagelistviewitem.o .obj/packagenameplugin.o .obj/progressdisplaydlg.o .obj/customizablelistview.o .obj/processcontainer.o .obj/scoredisplayplugin.o .obj/scoreplugin.o .obj/scorecalculationstrategybase.o .obj/columncontroldlg.o .obj/runcommandwidget.o .obj/action.o .obj/actionplugin.o .obj/packagesearchaboutdlg.o .obj/moc_packagesearchimpl.o .obj/moc_runcommand.o .obj/moc_runcommandinxterm.o .obj/moc_searchplugin.o .obj/moc_runcommandinwindow.o .obj/moc_runcommandforoutput.o .obj/moc_pluginmanager.o .obj/moc_pluginlistitem.o .obj/moc_pluginsettingsdlg.o .obj/moc_progressdisplaydlg.o .obj/moc_customizablelistview.o .obj/moc_processcontainer.o .obj/moc_columncontroldlg.o .obj/moc_runcommandwidget.o    -L/usr/lib -lstdc++ `pkg-config --libs libapt-front libtagcoll` -lrt -lQt3Support -L/build/buildd/qt4-x11-4.2.0/lib -lQtSql -L/usr/lib -L/usr/lib/mysql -lpq -lmysqlclient_r -lsqlite -L/usr/X11R6/lib -lQtNetwork -lQtXml -lQtGui -laudio -lXt -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lXext -lX11 -lQtCore -lfontconfig -lz -lm -lglib-2.0 -lpthread -ldl
> > /usr/bin/ld: cannot find -lsqlite
> > collect2: ld returned 1 exit status
> > make[2]: *** [packagesearch] Error 1
> > make[2]: Leaving directory `/build/buildd/packagesearch-2.1.1/src'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/build/buildd/packagesearch-2.1.1'
> > make: *** [build-stamp] Error 2
> > ******************************************************************************
> > Build finished at 20061009-0946
> > FAILED [dpkg-buildpackage died]
> 
> All the other arches don't try to link libsqlite directly, so this may a
> problems with a dependency.
> 
> Bastian
> 

Attachment: fail-log-packagesearch_2.1.1-0.1_s390-Oct9-09_47.html.gz
Description: GNU Zip compressed data

Attachment: success-log-packagesearch_2.1.1-0.1_s390-Oct6-16_55.html.gz
Description: GNU Zip compressed data


Reply to: