Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boost_python] Cannot build : unknown feature "<threadapi>" #831

Open
bmanga opened this issue Jun 16, 2019 · 1 comment
Open

[boost_python] Cannot build : unknown feature "<threadapi>" #831

bmanga opened this issue Jun 16, 2019 · 1 comment
Labels

Comments

@bmanga
Copy link

bmanga commented Jun 16, 2019

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: boost_python/1.68.0@bincrafters/stable
  • Operating System+version: Linux Ubuntu 18.04
  • Compiler+version: gcc-7.4
  • Conan version: conan 1.16.1
  • Python version: Python 3.6.0

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=7
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

conan install boost_python/1.68.0@bincrafters/stable --build boost_python

Logs (Include/Attach if Applicable)

boost_python/1.68.0@bincrafters/stable: Applying build-requirement: boost_build/1.68.0@bincrafters/testing
boost_python/1.68.0@bincrafters/stable: Copying sources to build folder
boost_python/1.68.0@bincrafters/stable: Building your package in /home/kavan/.conan/data/boost_python/1.68.0/bincrafters/stable/build/d08ed94d324b0682691aaeb8211c408d085d8b1a
boost_python/1.68.0@bincrafters/stable: Generator boost created jamroot
boost_python/1.68.0@bincrafters/stable: Generator boost created boostcpp.jam
boost_python/1.68.0@bincrafters/stable: Generator boost created project-config.jam
boost_python/1.68.0@bincrafters/stable: Generator boost created short_path.cmd
boost_python/1.68.0@bincrafters/stable: Calling build()
boost_python/1.68.0@bincrafters/stable: /home/kavan/.conan/data/boost_python/1.68.0/bincrafters/stable/build/d08ed94d324b0682691aaeb8211c408d085d8b1a: b2 -j4 -d+1 -a --hash=yes --debug-configuration --layout=system  include=graph/include include=integer/include include=multi_index/include include=parameter/include include=property_map/include include=serialization/include include=unordered/include  python-build
notice: found boost-build.jam at /usr/share/boost-build/boost-build.jam
notice: loading Boost.Build from /usr/share/boost-build/src/kernel
notice: Searching '/etc' '/home/kavan' '/usr/share/boost-build/src/kernel' '/home/kavan/.conan/data/boost_build/1.68.0/bincrafters/testing/package/44fcf6b9a7fb86b2586303e3db40189d3b511830/share/boost-build/src/kernel' '/usr/share/boost-build/src/kernel' '/usr/share/boost-build/src/util' '/usr/share/boost-build/src/build' '/usr/share/boost-build/src/tools' '/usr/share/boost-build/src/contrib' '/usr/share/boost-build/src/.' for site-config configuration file 'site-config.jam'.
notice: Configuration file 'site-config.jam' not found in '/etc' '/home/kavan' '/usr/share/boost-build/src/kernel' '/home/kavan/.conan/data/boost_build/1.68.0/bincrafters/testing/package/44fcf6b9a7fb86b2586303e3db40189d3b511830/share/boost-build/src/kernel' '/usr/share/boost-build/src/kernel' '/usr/share/boost-build/src/util' '/usr/share/boost-build/src/build' '/usr/share/boost-build/src/tools' '/usr/share/boost-build/src/contrib' '/usr/share/boost-build/src/.'.
notice: Searching '/home/kavan' '/usr/share/boost-build/src/kernel' '/home/kavan/.conan/data/boost_build/1.68.0/bincrafters/testing/package/44fcf6b9a7fb86b2586303e3db40189d3b511830/share/boost-build/src/kernel' '/usr/share/boost-build/src/kernel' '/usr/share/boost-build/src/util' '/usr/share/boost-build/src/build' '/usr/share/boost-build/src/tools' '/usr/share/boost-build/src/contrib' '/usr/share/boost-build/src/.' for user-config configuration file 'user-config.jam'.
notice: Configuration file 'user-config.jam' not found in '/home/kavan' '/usr/share/boost-build/src/kernel' '/home/kavan/.conan/data/boost_build/1.68.0/bincrafters/testing/package/44fcf6b9a7fb86b2586303e3db40189d3b511830/share/boost-build/src/kernel' '/usr/share/boost-build/src/kernel' '/usr/share/boost-build/src/util' '/usr/share/boost-build/src/build' '/usr/share/boost-build/src/tools' '/usr/share/boost-build/src/contrib' '/usr/share/boost-build/src/.'.
notice: Searching '.' for project-config configuration file 'project-config.jam'.
notice: Loading project-config configuration file 'project-config.jam' from '.'.
notice: will use 'g++-7' for gcc, condition <toolset>gcc-7
notice: using gcc libraries :: <toolset>gcc-7 :: /usr/bin /usr/lib /usr/lib32 /usr/lib64
notice: using gcc archiver :: <toolset>gcc-7 :: /usr/bin/ar
notice: using gcc ranlib :: <toolset>gcc-7 :: /usr/bin/ranlib
warning: toolset gcc initialization: can not find tool windres
warning: initialized from project-config.jam:4
notice: using rc compiler :: <toolset>gcc-7 :: /usr/bin/as
notice: [python-cfg] Configuring python...
notice: [python-cfg]   user-specified version: "2.7"
notice: [python-cfg]   user-specified cmd-or-prefix: "/usr/bin/python"
notice: [python-cfg]   user-specified includes: "/usr/include/python2.7"
notice: [python-cfg]   user-specified libraries: "/usr/lib"
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg]   interpreter command: "/usr/bin/python"
notice: [python-cfg]   include path: "/usr/include/python2.7"
notice: [python-cfg]   library path: "/usr/lib"
notice: [python-cfg] Checking for NumPy...
notice: [python-cfg] running command '/usr/bin/python -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"'
notice: [python-cfg] NumPy enabled
===============MPI Auto-configuration===============
Found recent LAM-MPI or Open MPI wrapper compiler: mpic++
MPI compilation flags: -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent -I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread
MPI link flags: -pthread -L/usr//lib -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_cxx -lmpi
MPI build features: 
<include>/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi <include>/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent <include>/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include <include>/usr/lib/x86_64-linux-gnu/openmpi/include <threading>multi <threading>multi <library-path>/usr//lib <library-path>/usr/lib/x86_64-linux-gnu/openmpi/lib <find-shared-library>mpi_cxx <find-shared-library>mpi
MPI launcher: mpirun -np
====================================================
/usr/share/boost-build/src/build/feature.jam:326: in validate-feature from module feature
error: unknown feature "<threadapi>"
/usr/share/boost-build/src/build/feature.jam:360: in expand-subfeatures-aux from module feature
/usr/share/boost-build/src/build/feature.jam:425: in expand-subfeatures from module feature
/usr/share/boost-build/src/build/feature.jam:866: in feature.expand from module feature
/usr/share/boost-build/src/build/targets.jam:1010: in evaluate-requirements from module targets
/usr/share/boost-build/src/build/targets.jam:1112: in common-properties2 from module targets
/usr/share/boost-build/src/build/targets.jam:977: in targets.common-properties from module targets
/usr/share/boost-build/src/build/targets.jam:1303: in [email protected] from module object(alias-target-class)@264
/usr/share/boost-build/src/build/targets.jam:774: in generate-really from module object(main-target)@341
/usr/share/boost-build/src/build/targets.jam:746: in [email protected] from module object(main-target)@341
/usr/share/boost-build/src/build-system.jam:714: in load from module build-system
/usr/share/boost-build/src/kernel/modules.jam:295: in import from module modules
/usr/share/boost-build/src/kernel/bootstrap.jam:139: in boost-build from module
/usr/share/boost-build/boost-build.jam:8: in module scope from module

boost_python/1.68.0@bincrafters/stable: 
boost_python/1.68.0@bincrafters/stable: ERROR: Package 'd08ed94d324b0682691aaeb8211c408d085d8b1a' build failed
boost_python/1.68.0@bincrafters/stable: WARN: Build folder /home/kavan/.conan/data/boost_python/1.68.0/bincrafters/stable/build/d08ed94d324b0682691aaeb8211c408d085d8b1a
ERROR: boost_python/1.68.0@bincrafters/stable: Error in build() method, line 142
        self._build_common()
while calling '_build_common', line 165
        self.run(" ".join(b2_command))
        ConanException: Error 256 while executing b2 -j4 -d+1 -a --hash=yes --debug-configuration --layout=system  include=graph/include include=integer/include include=multi_index/include include=parameter/include include=property_map/include include=serialization/include include=unordered/include  python-build```


Same problem with version 1.69.
@bmanga bmanga added the bug label Jun 16, 2019
@SSE4
Copy link
Member

SSE4 commented Jun 19, 2019

/cc @grafikrobot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants