mkdir -p "."
cd . && qmake 'QMAKE_CC = cc' 'QMAKE_CXX = g++' 'QMAKE_CFLAGS_RELEASE = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wall' 'QMAKE_CXXFLAGS_RELEASE = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wall'
/usr/bin/make -C .
make[1]: Entering directory `/build/buildd/kontrolpack-3.0.0'
cd libsecuretcp/ && /usr/bin/qmake /build/buildd/kontrolpack-3.0.0/libsecuretcp/libsecuretcp.pro QMAKE_CC\ =\ cc QMAKE_CXX\ =\ g++ QMAKE_CFLAGS_RELEASE\ =\ \ -g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -D_FORTIFY_SOURCE=2\ -Wformat\ -Wformat-security\ -Werror=format-security\ -g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -D_FORTIFY_SOURCE=2\ -Wformat\ -Wformat-security\ -Werror=format-security\ -Wall QMAKE_CXXFLAGS_RELEASE\ =\ \ -g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -D_FORTIFY_SOURCE=2\ -Wformat\ -Wformat-security\ -Werror=format-security\ -g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -D_FORTIFY_SOURCE=2\ -Wformat\ -Wformat-security\ -Werror=format-security\ -Wall -o Makefile
cd libsecuretcp/ && /usr/bin/make -f Makefile
make[2]: Entering directory `/build/buildd/kontrolpack-3.0.0/libsecuretcp'
g++ -c -m64 -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wall -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../tmp -o ../tmp/auth_tcp_client.o auth/auth_tcp_client.cpp
In file included from auth/auth_tcp_client.h:42:0,
from auth/auth_tcp_client.cpp:21:
auth/../xml/xml_parser.h:28:30: fatal error: libxml/xmlmemory.h: No such file or directory
compilation terminated.
make[2]: *** [../tmp/auth_tcp_client.o] Error 1
make[2]: Leaving directory `/build/buildd/kontrolpack-3.0.0/libsecuretcp'
make[1]: *** [sub-libsecuretcp-make_default-ordered] Error 2
make[1]: Leaving directory `/build/buildd/kontrolpack-3.0.0'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
This FTBFS is amd64 only. Complier flags weren't picked up from *.pro file which looks like
win32 {
INCLUDEPATH += C:\\OpenSSL\\include C:\libxml2\lib\include\libxml2
LIBS += -LC:\libxml2\lib\lib -lxml2 -LC:\\OpenSSL\\lib\\MinGW -leay32 -LC:\Qt\2010.02.1\mingw\lib -lws2_32 -lwsock32
}
linux-g++ {
INCLUDEPATH += /usr/include/openssl /usr/include/libxml2
LIBS += -L/usr/lib -lssl -lxml2
}
macx {
INCLUDEPATH += /usr/include/openssl /usr/include/libxml2
LIBS += -L/usr/lib -lcrypto -lxml2
}
So this may be a qt4-qmake problem.
You need to add a separate linux-g++-64 block as well. (Yes, it's annoying.)