Package: src:openvdb Version: 3.1.0-2 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --parallel --with python2 dh_testdir -i -O--parallel dh_auto_configure -i -O--parallel debian/rules override_dh_auto_build-indep make[1]: Entering directory '/<<PKGBUILDDIR>>' /usr/bin/make doc make[2]: Entering directory '/<<PKGBUILDDIR>>' Generating documentation because of doxygen-config and others echo 'OUTPUT_DIRECTORY=./doc' | cat doxygen-config - | doxygen - > /dev/null make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' fakeroot debian/rules binary-indep dh binary-indep --parallel --with python2 dh_testroot -i -O--parallel dh_prep -i -O--parallel debian/rules override_dh_auto_install make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_install -- BOOST_PYTHON_LIB=-lboost_python-py27 PYTHON_VERSION=2.7 PYTHON_INCL_DIR=/usr/include/python2.7 NUMPY_INCL_DIR2=/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ NUMPY_INCL_DIR=/usr/share/pyshared/numpy/core/include/numpy/ HFS=/removeme HT=/usr HDSO=/usr/lib EXR_INCL_DIR=/usr/include/OpenEXR CPPUNIT_INCL_DIR=/usr/include CPPUNIT_LIB_DIR=/usr/lib LOG4CPLUS_INCL_DIR=/usr/include LOG4CPLUS_LIB_DIR=/usr/lib GLFW_INCL_DIR=/usr/include/GL GLFW_LIB_DIR=/usr/lib LIBS_RPATH='-Wl,-z,relro -Wl,--as-needed -ldl -lm -lz -lHalf -ltbb -latomic -lblosc -llog4cplus -lboost_filesystem -lboost_system -lboost_iostreams' LIBOPENVDB_RPATH= PYTHON_SONAME_FLAGS= BOOST_PYTHON_LIB=-lboost_python-py27 verbose=yes debug=yes rpath=no shared=yes DESTDIR=/<<PKGBUILDDIR>>/debian/tmp/usr DESTDIR_LIB_DIR=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no BOOST_PYTHON_LIB=-lboost_python-py27 PYTHON_VERSION=2.7 PYTHON_INCL_DIR=/usr/include/python2.7 NUMPY_INCL_DIR2=/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ NUMPY_INCL_DIR=/usr/share/pyshared/numpy/core/include/numpy/ HFS=/removeme HT=/usr HDSO=/usr/lib EXR_INCL_DIR=/usr/include/OpenEXR CPPUNIT_INCL_DIR=/usr/include CPPUNIT_LIB_DIR=/usr/lib LOG4CPLUS_INCL_DIR=/usr/include LOG4CPLUS_LIB_DIR=/usr/lib GLFW_INCL_DIR=/usr/include/GL GLFW_LIB_DIR=/usr/lib "LIBS_RPATH=-Wl,-z,relro -Wl,--as-needed -ldl -lm -lz -lHalf -ltbb -latomic -lblosc -llog4cplus -lboost_filesystem -lboost_system -lboost_iostreams" LIBOPENVDB_RPATH= PYTHON_SONAME_FLAGS= BOOST_PYTHON_LIB=-lboost_python-py27 verbose=yes debug=yes rpath=no shared=yes DESTDIR=/<<PKGBUILDDIR>>/debian/tmp/usr DESTDIR_LIB_DIR=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu make[2]: Entering directory '/<<PKGBUILDDIR>>' Building Grid.o because of Grid.cc g++ -c -DOPENVDB_PRIVATE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -pthread -g -I . -I .. -isystem /usr/include -isystem /usr/include/OpenEXR -isystem /usr/include -isystem /usr/include -isystem /usr/include -DOPENVDB_USE_BLOSC -DOPENVDB_USE_LOG4CPLUS -DOPENVDB_USE_GLFW_3 -fPIC -o Grid.o Grid.cc In file included from Grid.cc:31:0: Grid.h:40:27: fatal error: openvdb/Types.h: No such file or directory compilation terminated. Makefile:671: recipe for target 'Grid.o' failed make[2]: *** [Grid.o] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_install: make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no BOOST_PYTHON_LIB=-lboost_python-py27 PYTHON_VERSION=2.7 PYTHON_INCL_DIR=/usr/include/python2.7 NUMPY_INCL_DIR2=/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ NUMPY_INCL_DIR=/usr/share/pyshared/numpy/core/include/numpy/ HFS=/removeme HT=/usr HDSO=/usr/lib EXR_INCL_DIR=/usr/include/OpenEXR CPPUNIT_INCL_DIR=/usr/include CPPUNIT_LIB_DIR=/usr/lib LOG4CPLUS_INCL_DIR=/usr/include LOG4CPLUS_LIB_DIR=/usr/lib GLFW_INCL_DIR=/usr/include/GL GLFW_LIB_DIR=/usr/lib LIBS_RPATH=-Wl,-z,relro -Wl,--as-needed -ldl -lm -lz -lHalf -ltbb -latomic -lblosc -llog4cplus -lboost_filesystem -lboost_system -lboost_iostreams LIBOPENVDB_RPATH= PYTHON_SONAME_FLAGS= BOOST_PYTHON_LIB=-lboost_python-py27 verbose=yes debug=yes rpath=no shared=yes DESTDIR=/<<PKGBUILDDIR>>/debian/tmp/usr DESTDIR_LIB_DIR=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu returned exit code 2 debian/rules:62: recipe for target 'override_dh_auto_install' failed make[1]: *** [override_dh_auto_install] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:42: recipe for target 'binary-indep' failed make: *** [binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.