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_system] Build from source fails. #781

Open
acdemiralp opened this issue May 10, 2019 · 9 comments
Open

[boost_system] Build from source fails. #781

acdemiralp opened this issue May 10, 2019 · 9 comments
Labels

Comments

@acdemiralp
Copy link

acdemiralp commented May 10, 2019

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: boost_system/1.69.0
  • Operating System+version: Windows 10
  • Compiler+version: MSVC v142 (VS 2019)
  • Docker image: Unknown
  • Conan version: conan 1.14.4
  • Python version: Python 3.7.3

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

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[build_requires]
*: boost_build/1.69.0@bincrafters/stable, boost_generator/1.69.0@bincrafters/stable, nasm_installer/2.13.02@bincrafters/stable
[env]

Steps to reproduce (Include if Applicable)

Require ("boost_system/1.69.0@bincrafters/stable") within a VS2019 project.

Logs (Include/Attach if Applicable)

notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>arm/<address-model>32', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
===============MPI Auto-configuration===============
Did not find Microsoft MPI in C:\Program Files\Microsoft MPI
      and/or Microsoft MPI SDK in C:\Program Files (x86)\Microsoft SDKs\MPI.
Did not find Microsoft Compute Cluster Pack in C:\Program Files\Microsoft Compute Cluster Pack.
warning: toolset mpi initialization: can not find tool mpic++
warning: initialized from project-config.jam:58
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
MPI auto-detection failed: unknown wrapper compiler mpic++
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
warning: toolset mpi initialization: can not find tool mpirun
warning: initialized from project-config.jam:58
MPI launcher: mpirun -np
====================================================
don't know how to make <p/D:/.conan/dfc704/1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\vcvarsall.bat
...found 120 targets...
...updating 15 targets...
...can't find 1 target...
...can't make 2 targets...
...skipped <pbin\standalone\msvc\ab605d3a191801849fe1e1e55b908353>msvc-setup.read for lack of <p/D:/.conan/dfc704/1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\vcvarsall.bat...
...skipped <pbin\standalone\msvc\ab605d3a191801849fe1e1e55b908353>msvc-setup.bat for lack of <p/D:/.conan/dfc704/1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\bin\Hostx64\vcvarsall.bat...
...skipped <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>error_code.obj for lack of <pbin\standalone\msvc\ab605d3a191801849fe1e1e55b908353>msvc-setup.nup...
...skipped <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>libboost_system.lib for lack of <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>error_code.obj...
...skipped <psystem\lib>libboost_system.lib for lack of <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>libboost_system.lib...
common.copy system\lib\jamroot.jam
bin\d41d8cd98f00b204e9800998ecf8427e\system-lib\jamroot.jam
        1 file(s) copied.
...skipped 5 targets...
...updated 12 targets...
boost_system/1.69.0@bincrafters/stable: 
boost_system/1.69.0@bincrafters/stable: ERROR: Package '1cfc588b26e59ddc9e1094237b6c5153e7f2f0bc' build failed
boost_system/1.69.0@bincrafters/stable: WARN: Build folder D:\.conan\dfc704\1
ERROR: boost_system/1.69.0@bincrafters/stable: Error in build() method, line 147
	self._build_common()
while calling '_build_common', line 170
	self.run(" ".join(b2_command))
	ConanException: Error 1 while executing b2 -j12 -d+1 -a --hash=yes --debug-configuration --layout=system    system-build

CMake Error at cmake/conan.cmake:387 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  cmake/conan.cmake:462 (conan_cmake_install)
  CMakeLists.txt:76 (conan_cmake_run)


Configuring incomplete, errors occurred!
See also "D:/root/source/cpp/maintained/gh/build/msvc142/CMakeFiles/CMakeOutput.log".
See also "D:/root/source/cpp/maintained/gh/build/msvc142/CMakeFiles/CMakeError.log".
@acdemiralp acdemiralp added the bug label May 10, 2019
@S0PEX
Copy link

S0PEX commented May 11, 2019

Got the same error. Have the same specs of vs and python, windows etc and also installed the latest cmake.

See log below:

boost_io/1.69.0@bincrafters/stable: Already installed!
boost_static_assert/1.69.0@bincrafters/stable: Already installed!
boost_winapi/1.69.0@bincrafters/stable: Already installed!
boost_core/1.69.0@bincrafters/stable: Already installed!
boost_system/1.69.0@bincrafters/stable: Applying build-requirement: boost_generator/1.69.0@bincrafters/stable
boost_system/1.69.0@bincrafters/stable: Applying build-requirement: boost_build/1.69.0@bincrafters/stable
boost_system/1.69.0@bincrafters/stable: WARN: Build folder is dirty, removing it: C:\.conan\76d73c\1
boost_system/1.69.0@bincrafters/stable: Copying sources to build folder
boost_system/1.69.0@bincrafters/stable: Building your package in C:\.conan\76d73c\1
boost_system/1.69.0@bincrafters/stable: Generator boost created jamroot
boost_system/1.69.0@bincrafters/stable: Generator boost created boostcpp.jam
boost_system/1.69.0@bincrafters/stable: Generator boost created project-config.jam
boost_system/1.69.0@bincrafters/stable: Generator boost created short_path.cmd
boost_system/1.69.0@bincrafters/stable: Calling build()
boost_system/1.69.0@bincrafters/stable: C:\.conan\76d73c\1: b2 -j6 -d+1 -a --hash=yes --debug-configuration --layout=system    system-build
notice: found boost-build.jam at C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/boost-build.jam
notice: loading Boost.Build from C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/kernel
C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util\os.jam:50: Unescaped special character in argument ([^.]*)$
C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util\os.jam:204: Unescaped special character in argument os:
C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util\os.jam:205: Unescaped special character in argument os:
notice: Searching 'C:\Users\S0PEX' 'C:\Users\S0PEX' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src/kernel' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src\kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/build' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/tools' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/contrib' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/.' for site-config configuration file 'site-config.jam'.
notice: Configuration file 'site-config.jam' not found in 'C:\Users\S0PEX' 'C:\Users\S0PEX' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src/kernel' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src\kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/build' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/tools' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/contrib' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/.'.
notice: Searching 'C:\Users\S0PEX' 'C:\Users\S0PEX' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src/kernel' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src\kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/build' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/tools' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/contrib' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/.' for user-config configuration file 'user-config.jam'.
notice: Configuration file 'user-config.jam' not found in 'C:\Users\S0PEX' 'C:\Users\S0PEX' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src/kernel' 'C:\Users\S0PEX\.conan\data\boost_build\1.69.0\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93\share\boost-build\src\kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/kernel' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/build' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/tools' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/contrib' 'C:/Users/S0PEX/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/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 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/x64/cl.exe' for msvc, condition <toolset>msvc-16.0
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>/<address-model>', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>/<address-model>32', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>x86/<address-model>', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>x86/<address-model>32', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>/<address-model>64', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>x86/<address-model>64', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>ia64/<address-model>', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>ia64/<address-model>64', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>arm/<address-model>', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
notice: [msvc-cfg] condition: '<toolset>msvc-16.0/<architecture>arm/<address-model>32', setup: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.20.27508/bin/Hostx64/vcvarsall.bat'
===============MPI Auto-configuration===============
Did not find Microsoft MPI in C:\Program Files\Microsoft MPI
      and/or Microsoft MPI SDK in C:\Program Files (x86)\Microsoft SDKs\MPI.
Did not find Microsoft Compute Cluster Pack in C:\Program Files\Microsoft Compute Cluster Pack.
warning: toolset mpi initialization: can not find tool mpic++
warning: initialized from project-config.jam:58
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
Das System kann den angegebenen Pfad nicht finden.
MPI auto-detection failed: unknown wrapper compiler mpic++
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
warning: toolset mpi initialization: can not find tool mpirun
warning: initialized from project-config.jam:58
MPI launcher: mpirun -np
====================================================
don't know how to make <p/C:/.conan/76d73c/1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\Hostx64\vcvarsall.bat
...found 120 targets...
...updating 15 targets...
...can't find 1 target...
...can't make 2 targets...
...skipped <pbin\standalone\msvc\ab605d3a191801849fe1e1e55b908353>msvc-setup.read for lack of <p/C:/.conan/76d73c/1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\Hostx64\vcvarsall.bat...
...skipped <pbin\standalone\msvc\ab605d3a191801849fe1e1e55b908353>msvc-setup.bat for lack of <p/C:/.conan/76d73c/1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\Hostx64\vcvarsall.bat...
...skipped <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>error_code.obj for lack of <pbin\standalone\msvc\ab605d3a191801849fe1e1e55b908353>msvc-setup.nup...
...skipped <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>libboost_system.lib for lack of <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>error_code.obj...
...skipped <psystem\lib>libboost_system.lib for lack of <pbin\system\build\aca5cb0fcccc3d2990e4e006ef019df6>libboost_system.lib...
common.copy system\lib\jamroot.jam
bin\d41d8cd98f00b204e9800998ecf8427e\system-lib\jamroot.jam
        1 Datei(en) kopiert.
...skipped 5 targets...
...updated 12 targets...
boost_system/1.69.0@bincrafters/stable:
boost_system/1.69.0@bincrafters/stable: ERROR: Package '1cfc588b26e59ddc9e1094237b6c5153e7f2f0bc' build failed
boost_system/1.69.0@bincrafters/stable: WARN: Build folder C:\.conan\76d73c\1
ERROR: boost_system/1.69.0@bincrafters/stable: Error in build() method, line 147
        self._build_common()
while calling '_build_common', line 170
        self.run(" ".join(b2_command))
        ConanException: Error 1 while executing b2 -j6 -d+1 -a --hash=yes --debug-configuration --layout=system    system-build```

@weatherhead99
Copy link

I am also seeing this build error on VS 2019 with Windows 10

@gleon99
Copy link

gleon99 commented Aug 4, 2019

Hey, I'm getting exactly the same error as well. Does this one get any attention?

@cqjjjzr
Copy link

cqjjjzr commented Sep 18, 2019

I got this problem as well.

@JosephCHS
Copy link

JosephCHS commented Oct 5, 2019

Same problem here :

boost_system/1.69.0@bincrafters/stable: ERROR: Package '1cfc588b26e59ddc9e1094237b6c5153e7f2f0bc' build failed
boost_system/1.69.0@bincrafters/stable: WARN: Build folder C:\.conan\a30544\1
ERROR: boost_system/1.69.0@bincrafters/stable: Error in build() method, line 147
        self._build_common()
while calling '_build_common', line 170
        self.run(" ".join(b2_command))
        ConanException: Error 1 while executing b2 -j12 -d+1 -a --hash=yes --debug-configuration --layout=system    system-build

with this conan profil :

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.version=16
[options]
[build_requires]
[env]

@antoniovazquezblanco
Copy link

See #1054

@jiggersplat
Copy link

jiggersplat commented Sep 18, 2020

Ditto for 1.68.0. Visual Studio 16 2019.

@xahon
Copy link

xahon commented Mar 15, 2021

the same

@fire
Copy link

fire commented Jun 7, 2021

I don't expect boost_system to be fixed. Moved to boost/1.71.0.

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

10 participants