Actions
Bug #3752
closedBuild failed with boost 1.61.0
Start date:
08/22/2016
Due date:
% Done:
100%
Estimated time:
Description
When I build ndn-cxx with boost 1.61.0 I have the errors below
[ 28/167] Processing sphinx_build [man]: docs/manpages/ndn-client.conf.rst docs/manpages/ndnsec-cert-dump.rst docs/manpages/ndnsec-cert-gen.rst docs/manpages/ndnsec-cert-install.rst docs/manpages/ndnsec-cert-revoke.rst docs/manpages/ndnsec-delete.rst docs/manpages/ndnsec-dsk-gen.rst docs/manpages/ndnsec-export.rst docs/manpages/ndnsec-get-default.rst docs/manpages/ndnsec-import.rst docs/manpages/ndnsec-key-gen.rst docs/manpages/ndnsec-list.rst docs/manpages/ndnsec-set-acl.rst docs/manpages/ndnsec-set-default.rst docs/manpages/ndnsec-sign-req.rst docs/manpages/ndnsec-unlock-tpm.rst docs/manpages/ndnsec.rst docs/conf.py -> build/docs/manpages/ndnsec.1 build/docs/manpages/ndnsec-cert-dump.1 build/docs/manpages/ndnsec-cert-gen.1 build/docs/manpages/ndnsec-cert-revoke.1 build/docs/manpages/ndnsec-cert-instal.1 build/docs/manpages/ndnsec-delete.1 build/docs/manpages/ndnsec-export.1 build/docs/manpages/ndnsec-get-default.1 build/docs/manpages/ndnsec-import.1 build/docs/manpages/ndnsec-key-gen.1 build/docs/manpages/ndnsec-list.1 build/docs/manpages/ndnsec-set-acl.1 build/docs/manpages/ndnsec-set-default.1 build/docs/manpages/ndnsec-sign-req.1 build/docs/manpages/ndnsec-unlock-tpm.1 build/docs/manpages/ndnsec-validator.conf.5 build/docs/manpages/ndn-client.conf.5
Traceback (most recent call last):
File "/usr/local/bin/sphinx-build", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2793, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 673, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Pygments>=1.2
In file included from <built-in>:356:
In file included from <command line>:3:
In file included from /Users/chengyu/workspace/nfd/ndn-cxx/build/../src/common-pch.hpp:46:
In file included from /usr/local/include/boost/iostreams/stream.hpp:21:
In file included from /usr/local/include/boost/iostreams/stream_buffer.hpp:22:
In file included from /usr/local/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
In file included from /usr/local/include/boost/iostreams/detail/push.hpp:24:
In file included from /usr/local/include/boost/iostreams/detail/resolve.hpp:26:
In file included from /usr/local/include/boost/iostreams/detail/is_dereferenceable.hpp:12:
/usr/local/include/boost/type_traits/detail/bool_trait_def.hpp:18:10: warning: NOTE: Use of this header (bool_trait_def.hpp) is deprecated [-W#pragma-messages]
# pragma message("NOTE: Use of this header (bool_trait_def.hpp) is deprecated")
^
In file included from <built-in>:356:
In file included from <command line>:3:
In file included from /Users/chengyu/workspace/nfd/ndn-cxx/build/../src/common-pch.hpp:46:
In file included from /usr/local/include/boost/iostreams/stream.hpp:21:
In file included from /usr/local/include/boost/iostreams/stream_buffer.hpp:22:
In file included from /usr/local/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
In file included from /usr/local/include/boost/iostreams/detail/push.hpp:24:
In file included from /usr/local/include/boost/iostreams/detail/resolve.hpp:26:
In file included from /usr/local/include/boost/iostreams/detail/is_dereferenceable.hpp:12:
In file included from /usr/local/include/boost/type_traits/detail/bool_trait_def.hpp:21:
/usr/local/include/boost/type_traits/detail/template_arity_spec.hpp:13:10: warning: NOTE: Use of this header (template_arity_spec.hpp) is deprecated [-W#pragma-messages]
# pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
^
In file included from <built-in>:356:
In file included from <command line>:3:
In file included from /Users/chengyu/workspace/nfd/ndn-cxx/build/../src/common-pch.hpp:46:
In file included from /usr/local/include/boost/iostreams/stream.hpp:21:
In file included from /usr/local/include/boost/iostreams/stream_buffer.hpp:22:
In file included from /usr/local/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
In file included from /usr/local/include/boost/iostreams/detail/push.hpp:24:
In file included from /usr/local/include/boost/iostreams/detail/resolve.hpp:26:
In file included from /usr/local/include/boost/iostreams/detail/is_dereferenceable.hpp:13:
/usr/local/include/boost/type_traits/detail/template_arity_spec.hpp:13:10: warning: NOTE: Use of this header (template_arity_spec.hpp) is deprecated [-W#pragma-messages]
# pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
^
3 warnings generated.
Updated by Davide Pesavento over 8 years ago
- Tracker changed from Task to Bug
- Category set to Build
- Target version set to v0.5
Is this OS X? What version?
The error that aborts the build is probably pkg_resources.DistributionNotFound: Pygments>=1.2
, not the #pragma message
warnings in boost headers. In any case, I don't know why you're seeing those warnings, they are not present in OS X builds on Jenkins (also with boost 1.61.0).
Updated by Chengyu Fan over 8 years ago
I use OSX 10.11.6. The failure happened after I upgrade my brew.
Updated by Chengyu Fan about 8 years ago
- % Done changed from 0 to 100
Davide is right. After I reinstall the sphinx, the build succeeds with no errors.
Actions