Package: libguytools1 Version: 1.0.4-1 Severity: important Tags: patch Justification: fails to build from source
https://bugs.launchpad.net/ubuntu/+source/libguytools1/+bug/509450 Binary package hint: libguytools1 libguytoolsysinfo.so (one of the libraries built by this package) fails to build: make[1]: Entering directory `/tmp/buildd/libguytools1-1.0.4/sysinfo' g++ -c -pipe -O2 -O3 -D_REENTRANT -Wall -W -fmessage-length=0 -fPIC -DLIBGUYTOOLS_VERSION=\"1.0.4\" -DQT_NO_DEBUG -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/QtGui -I/usr/include/qt4 -I../include -I. -o toolsysinfo.o toolsysinfo.cpp toolsysinfo.cpp: In function 'APIRET ToolSysInfoGetMacAddr(t_ToolSysInfoMacAddr*)': toolsysinfo.cpp:90: error: 'sprintf' was not declared in this scope make[1]: *** [toolsysinfo.o] Error 1 make[1]: Leaving directory `/tmp/buildd/libguytools1-1.0.4/sysinfo' However, this qmake-qt4-based build continues anyway and completes "successfully", just omitting the broken libguytoolsysinfo.so library. Packages which depend on libguytools1 for this library will therefore FTBFS, e.g. package 'guymager' http://launchpadlibrarian.net/35999162/buildlog_ubuntu-lucid-amd64.guymager_0.4.2-1_FAILEDTOBUILD.txt.gz : [guymager...FAILEDTOBUILD.txt.gz]: /usr/bin/ld: cannot find -lguytoolsysinfo Attached patch adds the missing #include <stdio.h> to fix the problem.
# libguytools1 (1.0.4-1ubuntu1) lucid; urgency=low # # * sysinfo/toolsysinfo.cpp: added #include <stdio> for sprintf (LP: #509450). # # -- Kamal Mostafa <[email protected]> Mon, 18 Jan 2010 14:10:57 -0800 # === modified file 'sysinfo/toolsysinfo.cpp' --- a/sysinfo/toolsysinfo.cpp 2009-08-19 11:09:24 +0000 +++ b/sysinfo/toolsysinfo.cpp 2010-01-19 02:58:16 +0000 @@ -9,6 +9,7 @@ // Module: System information // **************************************************************************** +#include <stdio.h> #include <limits.h> #include <math.h> #include <cstdarg>
_______________________________________________ forensics-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/forensics-devel
