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

[question] b2 recipe needs to be rebuild every time before building boost recipe for Windows #24373

Open
lapujain1991 opened this issue Jun 18, 2024 · 2 comments
Labels
question Further information is requested

Comments

@lapujain1991
Copy link

What is your question?

b2 recipe needs to be rebuild every time before building boost recipe and this problem occurred only for windows platform, macos, linux platforms works fine without the need to rebuild b2 every time. Attaching the log file and b2 conan file for reference which contains:

  1. command to build boost
  2. host/build profile
  3. errors/exception

conanfile.zip

Error summary:

`don't know how to make pE:\gh\_work\conan-recipes\conan-recipes\.home\p\b\boosta0c21f8ce1bd9\b\build-release\boost\bin.v2\libs\container\build-install\boost_container-config.cmake-object(print-scanner)@137297print.jam

...skipped pE:\gh\_work\conan-recipes\conan-recipes\.home\p\b\boosta0c21f8ce1bd9\b\build-release\boost\bin.v2\libs\exception\buildinstall\boost_exception-config.cmake for lack of pE:\gh\_work\conan-recipes\conan-recipes\.home\p\b\boosta0c21f8ce1bd9\b\build-release\boost\bin.v2\libs\exception\build-install\boost_exception-config.cmake-object(print-scanner)@137297print.jam...

boost/1.82.0: ERROR:
Package '62c7b111f2e0465e3b1beea786865b374fbcf103' build failed
boost/1.82.0: WARN: Build folder E:\gh_work\conan-recipes\conan-recipes.home\p\b\boosta0c21f8ce1bd9\b\build-release
ERROR: boost/1.82.0: Error in build() method, line 1107
self.run(full_command)
ConanException: Error 1 while executing`

@lapujain1991 lapujain1991 added the question Further information is requested label Jun 18, 2024
@jcar87
Copy link
Contributor

jcar87 commented Jun 18, 2024

Hi @lapujain1991 - thanks for raising this issue.

The boost recipe is set to reduce the verbosity of the build log, so there aren't really any details.

Could you please pass the debug_level option to boost (which affects the build log)
-o "boost/*:debug_level=5

I think something 4 or higher might work: https://www.boost.org/doc/libs/1_85_0/tools/build/doc/html/index.html

then it should show you which command in the build is failing, and with what errors

in the log you have uploaded, I can see that b2 is already in the cache - not seeing any errors related to b2 having to be built from source?

@lapujain1991
Copy link
Author

b2 is building fine, without any errors. Here is the new log file with more debug_levels (-d2 d+4)

boost_log_file_high_debug_level.txt

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

No branches or pull requests

2 participants