kontrolpack 3.0.0-0ubuntu1 failed to build on amd64

Bug #877643 reported by Ilya Barygin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kontrolpack (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

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.

Changed in kontrolpack (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Colin Watson (cjwatson) wrote :

You need to add a separate linux-g++-64 block as well. (Yes, it's annoying.)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kontrolpack - 3.0.0-0ubuntu2

---------------
kontrolpack (3.0.0-0ubuntu2) precise; urgency=low

  * Fix FTBFS on amd64 (LP: #877643).
 -- Ilya Barygin <email address hidden> Thu, 20 Oct 2011 21:08:56 +0400

Changed in kontrolpack (Ubuntu Precise):
status: Confirmed → Fix Released
Revision history for this message
Ilya Barygin (randomaction) wrote :

Thanks for the hint Colin!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.