Bug#834672: mapnik-vector-tile: FTBFS in testing (boost related linking error)

Santiago Vila sanvila at debian.org
Wed Aug 17 22:21:07 UTC 2016


Package: src:mapnik-vector-tile
Version: 1.1.2+dfsg-1
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --parallel
   dh_testdir -i -O--parallel
   dh_update_autotools_config -i -O--parallel
   dh_auto_configure -i -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/mapnik-vector-tile-1.1.2+dfsg'
mkdir -p deps/gyp
ln -s /usr/bin/gyp deps/gyp/gyp
mkdir -p deps/clipper/cpp
ln -s /<<BUILDDIR>>/mapnik-vector-tile-1.1.2+dfsg/debian/clipper.cpp deps/clipper/cpp/clipper.cpp
ln -s /<<BUILDDIR>>/mapnik-vector-tile-1.1.2+dfsg/debian/clipper.hpp deps/clipper/cpp/clipper.hpp
dh_auto_build

[... snipped ...]

                 from ../test/utils/geom_to_wkt.cpp:2:
/usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: note: #pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated
 # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
                                                                                    ^
In file included from /usr/include/boost/iostreams/detail/is_dereferenceable.hpp:13:0,
                 from /usr/include/boost/iostreams/detail/resolve.hpp:26,
                 from /usr/include/boost/iostreams/detail/push.hpp:24,
                 from /usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
                 from /usr/include/boost/iostreams/stream_buffer.hpp:22,
                 from /usr/include/boost/iostreams/stream.hpp:21,
                 from /usr/include/boost/spirit/home/qi/stream/detail/iterator_source.hpp:14,
                 from /usr/include/boost/spirit/home/qi/stream/stream.hpp:16,
                 from /usr/include/boost/spirit/home/qi/stream.hpp:15,
                 from /usr/include/boost/spirit/home/qi.hpp:30,
                 from /usr/include/boost/spirit/include/qi.hpp:16,
                 from /usr/include/mapnik/wkt/wkt_grammar.hpp:32,
                 from /usr/include/mapnik/wkt/wkt_factory.hpp:29,
                 from /usr/include/mapnik/util/geometry_to_wkt.hpp:27,
                 from ../test/utils/geom_to_wkt.cpp:2:
/usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: note: #pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated
 # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
                                                                                    ^
  CXX(target) Release/obj.target/tests/test/utils/encoding_util.o
  CXX(target) Release/obj.target/tests/test/utils/round_trip.o
  CXX(target) Release/obj.target/tests/test/utils/decoding_util.o
  LINK(target) Release/tests
/usr/bin/ld: warning: libboost_filesystem.so.1.58.0, needed by /usr/lib/libmapnik.so, may conflict with libboost_filesystem.so.1.61.0
/usr/bin/ld: warning: libboost_regex.so.1.58.0, needed by /usr/lib/libmapnik.so, may conflict with libboost_regex.so.1.61.0
/usr/bin/ld: warning: libicui18n.so.55, needed by /usr/lib/libmapnik.so, may conflict with libicui18n.so.57
/usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/lib/libmapnik.so, may conflict with libboost_system.so.1.61.0
/usr/bin/ld: warning: libicuuc.so.55, needed by /usr/lib/libmapnik.so, may conflict with libicuuc.so.57
/usr/bin/ld: /usr/lib/libmapnik.so: undefined reference to symbol '_ZN6icu_5513UnicodeStringC1ERKS0_'
//usr/lib/x86_64-linux-gnu/libicuuc.so.55: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gyp/tests.target.mk:253: recipe for target 'Release/tests' failed
make[3]: *** [Release/tests] Error 1
rm gyp_build_gyp_make_vector_tile_target_run_protoc.intermediate
make[3]: Leaving directory '/<<BUILDDIR>>/mapnik-vector-tile-1.1.2+dfsg/build'
Makefile:23: recipe for target 'libvtile' failed
make[2]: *** [libvtile] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/mapnik-vector-tile-1.1.2+dfsg'
dh_auto_build: make -j1 returned exit code 2
debian/rules:21: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/mapnik-vector-tile-1.1.2+dfsg'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.



More information about the Pkg-grass-devel mailing list