Bug#907827: orocos-kdl: FTBFS (kdl/jntarray.hpp: No such file or directory)
Santiago Vila
sanvila at debian.org
Sun Sep 2 17:45:34 BST 2018
Package: src:orocos-kdl
Version: 1.4.0-4
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster and sid but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules binary-arch
dh binary-arch --buildsystem=cmake --with python3
dh_update_autotools_config -a -O--buildsystem=cmake
dh_autoreconf -a -O--buildsystem=cmake
dh_auto_configure -a -O--buildsystem=cmake
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" ..
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
[... snipped ...]
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/c++ -Dorocos_kdl_EXPORTS -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3 -o CMakeFiles/orocos-kdl.dir/velocityprofile.cpp.o -c /<<PKGBUILDDIR>>/orocos_kdl/src/velocityprofile.cpp
[ 78%] Building CXX object orocos_kdl/src/CMakeFiles/orocos-kdl.dir/velocityprofile_dirac.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/c++ -Dorocos_kdl_EXPORTS -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3 -o CMakeFiles/orocos-kdl.dir/velocityprofile_dirac.cpp.o -c /<<PKGBUILDDIR>>/orocos_kdl/src/velocityprofile_dirac.cpp
[ 80%] Building CXX object orocos_kdl/src/CMakeFiles/orocos-kdl.dir/velocityprofile_rect.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/c++ -Dorocos_kdl_EXPORTS -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3 -o CMakeFiles/orocos-kdl.dir/velocityprofile_rect.cpp.o -c /<<PKGBUILDDIR>>/orocos_kdl/src/velocityprofile_rect.cpp
[ 81%] Building CXX object orocos_kdl/src/CMakeFiles/orocos-kdl.dir/velocityprofile_spline.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/c++ -Dorocos_kdl_EXPORTS -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3 -o CMakeFiles/orocos-kdl.dir/velocityprofile_spline.cpp.o -c /<<PKGBUILDDIR>>/orocos_kdl/src/velocityprofile_spline.cpp
[ 83%] Building CXX object orocos_kdl/src/CMakeFiles/orocos-kdl.dir/velocityprofile_trap.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/c++ -Dorocos_kdl_EXPORTS -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3 -o CMakeFiles/orocos-kdl.dir/velocityprofile_trap.cpp.o -c /<<PKGBUILDDIR>>/orocos_kdl/src/velocityprofile_trap.cpp
[ 84%] Building CXX object orocos_kdl/src/CMakeFiles/orocos-kdl.dir/velocityprofile_traphalf.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/c++ -Dorocos_kdl_EXPORTS -I/usr/include/eigen3 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/eigen3 -o CMakeFiles/orocos-kdl.dir/velocityprofile_traphalf.cpp.o -c /<<PKGBUILDDIR>>/orocos_kdl/src/velocityprofile_traphalf.cpp
[ 85%] Linking CXX shared library liborocos-kdl.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/orocos-kdl.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -shared -Wl,-soname,liborocos-kdl.so.1.4 -o liborocos-kdl.so.1.4.0 CMakeFiles/orocos-kdl.dir/articulatedbodyinertia.cpp.o CMakeFiles/orocos-kdl.dir/chain.cpp.o CMakeFiles/orocos-kdl.dir/chaindynparam.cpp.o CMakeFiles/orocos-kdl.dir/chainfksolverpos_recursive.cpp.o CMakeFiles/orocos-kdl.dir/chainfksolvervel_recursive.cpp.o CMakeFiles/orocos-kdl.dir/chainidsolver_recursive_newton_euler.cpp.o CMakeFiles/orocos-kdl.dir/chainidsolver_vereshchagin.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolverpos_lma.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolverpos_nr.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolverpos_nr_jl.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolvervel_pinv.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolvervel_pinv_givens.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolvervel_pinv_nso.cpp.o CMakeFiles/orocos-kdl.dir/chainiksolvervel_wdls.cpp.o CMakeFiles/orocos-kdl.dir/chainjnttojacdotsolver.cpp.o CMakeFiles/orocos-kdl.dir/chainjnttojacsolver.cpp.o CMakeFiles/orocos-kdl.dir/frameacc.cpp.o CMakeFiles/orocos-kdl.dir/frames.cpp.o CMakeFiles/orocos-kdl.dir/frames_io.cpp.o CMakeFiles/orocos-kdl.dir/framevel.cpp.o CMakeFiles/orocos-kdl.dir/jacobian.cpp.o CMakeFiles/orocos-kdl.dir/jntarray.cpp.o CMakeFiles/orocos-kdl.dir/jntarrayacc.cpp.o CMakeFiles/orocos-kdl.dir/jntarrayvel.cpp.o CMakeFiles/orocos-kdl.dir/jntspaceinertiamatrix.cpp.o CMakeFiles/orocos-kdl.dir/joint.cpp.o CMakeFiles/orocos-kdl.dir/kinfam_io.cpp.o CMakeFiles/orocos-kdl.dir/path.cpp.o CMakeFiles/orocos-kdl.dir/path_circle.cpp.o CMakeFiles/orocos-kdl.dir/path_composite.cpp.o CMakeFiles/orocos-kdl.dir/path_cyclic_closed.cpp.o CMakeFiles/orocos-kdl.dir/path_line.cpp.o CMakeFiles/orocos-kdl.dir/path_point.cpp.o CMakeFiles/orocos-kdl.dir/path_roundedcomposite.cpp.o CMakeFiles/orocos-kdl.dir/rigidbodyinertia.cpp.o CMakeFiles/orocos-kdl.dir/rotational_interpolation.cpp.o CMakeFiles/orocos-kdl.dir/rotational_interpolation_sa.cpp.o CMakeFiles/orocos-kdl.dir/rotationalinertia.cpp.o CMakeFiles/orocos-kdl.dir/segment.cpp.o CMakeFiles/orocos-kdl.dir/trajectory.cpp.o CMakeFiles/orocos-kdl.dir/trajectory_composite.cpp.o CMakeFiles/orocos-kdl.dir/trajectory_segment.cpp.o CMakeFiles/orocos-kdl.dir/trajectory_stationary.cpp.o CMakeFiles/orocos-kdl.dir/tree.cpp.o CMakeFiles/orocos-kdl.dir/treefksolverpos_recursive.cpp.o CMakeFiles/orocos-kdl.dir/treeiksolverpos_nr_jl.cpp.o CMakeFiles/orocos-kdl.dir/treeiksolverpos_online.cpp.o CMakeFiles/orocos-kdl.dir/treeiksolvervel_wdls.cpp.o CMakeFiles/orocos-kdl.dir/treejnttojacsolver.cpp.o CMakeFiles/orocos-kdl.dir/utilities/error_stack.cxx.o CMakeFiles/orocos-kdl.dir/utilities/svd_HH.cpp.o CMakeFiles/orocos-kdl.dir/utilities/svd_eigen_HH.cpp.o CMakeFiles/orocos-kdl.dir/utilities/utility.cxx.o CMakeFiles/orocos-kdl.dir/utilities/utility_io.cxx.o CMakeFiles/orocos-kdl.dir/velocityprofile.cpp.o CMakeFiles/orocos-kdl.dir/velocityprofile_dirac.cpp.o CMakeFiles/orocos-kdl.dir/velocityprofile_rect.cpp.o CMakeFiles/orocos-kdl.dir/velocityprofile_spline.cpp.o CMakeFiles/orocos-kdl.dir/velocityprofile_trap.cpp.o CMakeFiles/orocos-kdl.dir/velocityprofile_traphalf.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/src && /usr/bin/cmake -E cmake_symlink_library liborocos-kdl.so.1.4.0 liborocos-kdl.so.1.4 liborocos-kdl.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 85%] Built target orocos-kdl
make -f python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/build.make python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 87%] Generating PyKDL/sipPyKDLpart0.cpp, PyKDL/sipPyKDLpart1.cpp, PyKDL/sipPyKDLpart2.cpp, PyKDL/sipPyKDLpart3.cpp, PyKDL/sipPyKDLpart4.cpp, PyKDL/sipPyKDLpart5.cpp, PyKDL/sipPyKDLpart6.cpp, PyKDL/sipPyKDLpart7.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl && /usr/bin/cmake -E echo
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl && touch /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart0.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart1.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart2.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart3.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart4.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart5.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart6.cpp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart7.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl && /usr/bin/sip -o -j 8 -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL /<<PKGBUILDDIR>>/python_orocos_kdl/PyKDL/PyKDL.sip
sip: Deprecation warning: /<<PKGBUILDDIR>>/python_orocos_kdl/PyKDL/PyKDL.sip:23: %Module version numbers are deprecated and ignored
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/python_orocos_kdl /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/DependInfo.cmake --color=
Scanning dependencies of target python_module_PyKDL
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/build.make python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 88%] Building CXX object python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/PyKDL/sipPyKDLpart0.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl && /usr/bin/c++ -Dpython_module_PyKDL_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/../orocos_kdl/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/orocos_kdl/../../../include -I/usr/include/eigen3 -I/usr/include/python3.6m -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/python_module_PyKDL.dir/PyKDL/sipPyKDLpart0.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python_orocos_kdl/PyKDL/sipPyKDLpart0.cpp
/<<PKGBUILDDIR>>/python_orocos_kdl/PyKDL/kinfam.sip:172:10: fatal error: kdl/jntarray.hpp: No such file or directory
#include <kdl/jntarray.hpp>
^~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/build.make:93: python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/PyKDL/sipPyKDLpart0.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:285: python_orocos_kdl/CMakeFiles/python_module_PyKDL.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:133: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:9: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
To reproduce, please try building with sbuild on a single-CPU machine,
where it fails 100% of the time (i.e. always) for me.
I'm using amd64, but a similar error happens here for the hurd-i386 architecture:
https://buildd.debian.org/status/fetch.php?pkg=orocos-kdl&arch=hurd-i386&ver=1.4.0-4&stamp=1526944038&raw=0
which suggests this is not really architecture-specific.
If you could not reproduce it using sbuild on a single-CPU machine,
please contact me privately and I would gladly provide ssh access
to a machine where this failure happens 100% of the time.
BTW: There is another bug in heimdal which is very similar to this one:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906623
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the debian-science-maintainers
mailing list