Bug#798499: thin-provisioning-tools: FTBFS: "If you want to output boost::optional, include header <boost/optional/optional_io.hpp>"

Chris Lamb lamby at debian.org
Wed Sep 9 22:56:09 UTC 2015


Source: thin-provisioning-tools
Version: 0.3.2-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,

thin-provisioning-tools fails to build from source in unstable/amd64:

  [..]

  g++ -c -I. -I. -I./thin-provisioning -Wdate-time -D_FORTIFY_SOURCE=2
  -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
  -o thin-provisioning/human_readable_format.o
  thin-provisioning/human_readable_format.cc
  In file included from /usr/include/boost/optional/optional.hpp:28:0,
                   from /usr/include/boost/optional.hpp:15,
                   from thin-provisioning/emitter.h:23,
                   from thin-provisioning/human_readable_format.h:22,
                   from thin-provisioning/human_readable_format.cc:19:
  /usr/include/boost/optional/optional.hpp: In instantiation of
  'std::basic_ostream<_CharT, _Traits>&
  boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const
  boost::optional_detail::optional_tag&) [with CharType = char;
  CharTrait = std::char_traits<char>]':
  thin-provisioning/human_readable_format.cc:47:21:   required from here
  /usr/include/boost/optional/optional.hpp:1256:3: error: invalid
  application of 'sizeof' to incomplete type
  'boost::STATIC_ASSERTION_FAILURE<false>'
     BOOST_STATIC_ASSERT_MSG(sizeof(CharType) == 0, "If you want to
     output boost::optional, include header
     <boost/optional/optional_io.hpp>"); 
     ^
  Makefile:144: recipe for target
  'thin-provisioning/human_readable_format.o' failed
  make[1]: *** [thin-provisioning/human_readable_format.o] Error 1
  make[1]: Leaving directory '/tmp/buildd/thin-provisioning-tools-0.3.2'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:8: 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/thin-provisioning-tools_0.3.2-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: thin-provisioning-tools.0.3.2-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20150909/60f5d8eb/attachment-0001.txt>


More information about the pkg-lvm-maintainers mailing list