[Reproducible-builds] Bug#796544: osrm: FTBFS: undefined reference to `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'

Chris Lamb lamby at debian.org
Sat Aug 22 12:45:14 UTC 2015


Source: osrm
Version: 4.6.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

osrm fails to build from source in unstable/amd64:

  [..]

  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::StringTable::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xd0d2): undefined reference to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::StringTable::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xd1ba): undefined reference to
  `google::protobuf::internal::StringTypeHandlerBase::New()'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::StringTable::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xd1db): undefined reference to
  `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*,
  std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::Info::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xd2b9): undefined reference to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::DenseInfo::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xd78a): undefined reference to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::ChangeSet::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xe196): undefined reference to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::Node::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xe33c): undefined reference to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function
  `OSMPBF::DenseNodes::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
  (.text+0xea14): undefined reference to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.text+0xf164):
  more undefined references to
  `google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
  follow
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):
  In function `void
  google::protobuf::internal::RepeatedPtrFieldBase::MergeFrom<google::protobuf::RepeatedPtrField<std::string>::TypeHandler>(google::protobuf::internal::RepeatedPtrFieldBase
  const&)':
  (.text._ZN6google8protobuf8internal20RepeatedPtrFieldBase9MergeFromINS0_16RepeatedPtrFieldISsE11TypeHandlerEEEvRKS2_[_ZN6google8protobuf8internal20RepeatedPtrFieldBase9MergeFromINS0_16RepeatedPtrFieldISsE11TypeHandlerEEEvRKS2_]+0x6a):
  undefined reference to
  `google::protobuf::internal::StringTypeHandlerBase::New()'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.data.rel.ro._ZTVN6OSMPBF11HeaderBlockE[_ZTVN6OSMPBF11HeaderBlockE]+0x40):
  undefined reference to
  `google::protobuf::MessageLite::InitializationErrorString() const'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.data.rel.ro._ZTVN6OSMPBF10HeaderBBoxE[_ZTVN6OSMPBF10HeaderBBoxE]+0x40):
  undefined reference to
  `google::protobuf::MessageLite::InitializationErrorString() const'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.data.rel.ro._ZTVN6OSMPBF14PrimitiveBlockE[_ZTVN6OSMPBF14PrimitiveBlockE]+0x40):
  undefined reference to
  `google::protobuf::MessageLite::InitializationErrorString() const'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.data.rel.ro._ZTVN6OSMPBF14PrimitiveGroupE[_ZTVN6OSMPBF14PrimitiveGroupE]+0x40):
  undefined reference to
  `google::protobuf::MessageLite::InitializationErrorString() const'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.data.rel.ro._ZTVN6OSMPBF11StringTableE[_ZTVN6OSMPBF11StringTableE]+0x40):
  undefined reference to
  `google::protobuf::MessageLite::InitializationErrorString() const'
  /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosmpbf.a(osmformat.pb.o):(.data.rel.ro._ZTVN6OSMPBF4InfoE[_ZTVN6OSMPBF4InfoE]+0x40):
  more undefined references to
  `google::protobuf::MessageLite::InitializationErrorString() const'
  follow
  collect2: error: ld returned 1 exit status
  CMakeFiles/osrm-extract.dir/build.make:275: recipe for target
  'osrm-extract' failed
  make[3]: *** [osrm-extract] Error 1
  make[3]: Leaving directory
  '/tmp/buildd/osrm-4.6.1/obj-x86_64-linux-gnu'
  CMakeFiles/Makefile2:754: recipe for target
  'CMakeFiles/osrm-extract.dir/all' failed
  make[2]: *** [CMakeFiles/osrm-extract.dir/all] Error 2
  make[2]: Leaving directory
  '/tmp/buildd/osrm-4.6.1/obj-x86_64-linux-gnu'
  Makefile:119: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory
  '/tmp/buildd/osrm-4.6.1/obj-x86_64-linux-gnu'
  dh_auto_build: make -j23 returned exit code 2
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/osrm_4.6.1-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osrm.4.6.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150822/3d547518/attachment.txt>


More information about the Reproducible-builds mailing list