Chris Knadle:
[...]
> After encapsulating CPPFLAGS in quotes ["$(CPPFLAGS)"] like the
> xca-1.0.0-2.1 NMU (otherwise the build quickly fails) the 1.3.1-1 package
> then fails to build with the following error:

Edit: the actual build failure looks like it might be lack of finding a
crypto library:

-----------------------------------------------
In file included from imgres.cpp:9:0:
imgres.cpp:8799:44: warning: 'qInitResources__init_variable__' defined but
not used [-Wunused-variab
le]
 Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources))
                                            ^
/usr/include/qt4/QtCore/qglobal.h:941:21: note: in definition of macro
'Q_CONSTRUCTOR_FUNCTION0'
    static const int AFUNC ## __init_variable__ = AFUNC();
                     ^
imgres.cpp:8799:1: note: in expansion of macro 'Q_CONSTRUCTOR_FUNCTION'
 Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources))
 ^
imgres.cpp:8799:24: note: in expansion of macro 'QT_MANGLE_NAMESPACE'
 Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources))
                        ^
for i in  /build/xca-1.3.1/img/imgres.o; do echo $i; done > .build-stamp
make[3]: Leaving directory '/build/xca-1.3.1/img'
mkdir -p misc
make -C misc -f /build/xca-1.3.1/misc/Makefile \
        VPATH=/build/xca-1.3.1/misc
make[3]: Entering directory '/build/xca-1.3.1/misc'
for i in ; do echo $i; done > .build-stamp
make[3]: Leaving directory '/build/xca-1.3.1/misc'
g++ -DXCA_PREFIX=\"/usr/share/xca\" -DETC=\"/etc\"
-DDOCDIR=\"/usr/share/doc/xca\" -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -DQT_SHARED -I/usr/include/qt4
-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore -Wall
-Wextra -O2 -Wl,-z,relro @lib/.build-stamp @widgets/.build-stamp
@img/.build-stamp @misc/.build-stamp -lltdl  -lcrypto-lQtGui -lQtCore -o xca
/usr/bin/ld: cannot find -lcrypto-lQtGui
collect2: error: ld returned 1 exit status
Makefile:68: recipe for target 'xca' failed
make[2]: *** [xca] Error 1
make[2]: Leaving directory '/build/xca-1.3.1'
dh_auto_build: make -j1 all returned exit code 2
debian/rules:14: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/xca-1.3.1'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----------------------------------------------

   -- Chris

-- 
Chris Knadle
chris.kna...@coredump.us

Reply via email to