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

[package] boost/1/.74: dows not compile on windows no more #3869

Closed
qwertzui11 opened this issue Dec 12, 2020 · 1 comment · Fixed by #3872
Closed

[package] boost/1/.74: dows not compile on windows no more #3869

qwertzui11 opened this issue Dec 12, 2020 · 1 comment · Fixed by #3872
Labels
bug Something isn't working

Comments

@qwertzui11
Copy link

Hi there

12 hours again #2097 got merged. since then I get an assert error for windows on our CI. Still works for linux and mac. I believe the error occurs due to boost:layout=tagged. Sadly tagged is mandatory to our project so meson can find it.

https://github.com/conan-io/conan-center-index/blame/d956a467dab31503f0054face5c09f83b7a05f68/recipes/boost/all/conanfile.py#L1164

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: boost/1.74.0
  • Operating System+version: Windows 10
  • Compiler+version: msvc 16
  • Conan version: conan 1.31.0
  • Python version: Python 3.8.5

Conan profile

[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=16
os=Windows
os_build=Windows
[options]
boost:layout=tagged
boost:shared=False
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

just compile boost with the above profile.

Logs

Click to expand log
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=16
os=Windows
os_build=Windows
[options]
boost:layout=tagged
boost:shared=False
[build_requires]
[env]

conanfile.py (fubble/1.0.0): Installing package
Requirements
    boost/1.73.0 from 'conan-center' - Cache
    bzip2/1.0.8 from 'conan-center' - Cache
    libiconv/1.16 from 'conan-center' - Cache
    zlib/1.2.11 from 'conan-center' - Cache
Packages
    boost/1.73.0:afa006006e3a60ee2a7c1fabd0501e5902b0e681 - Cache
    bzip2/1.0.8:d16a91eadaaf5829b928b12d2f836ff7680d3df5 - Cache
    libiconv/1.16:3fb49604f9c2f729b85ba3115852006824e72cab - Cache
    zlib/1.2.11:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

Installing (downloading, building) binaries...
bzip2/1.0.8: Already installed!
libiconv/1.16: Already installed!
libiconv/1.16: Appending PATH environment var: D:\conan\libiconv\1.16\_\_\package\3fb49604f9c2f729b85ba3115852006824e72cab\bin
zlib/1.2.11: Already installed!
boost/1.73.0: Already installed!
boost/1.73.0: Disabled magic autolinking (smart and magic decisions)
boost/1.73.0: WARN: Can't update, no package in remote
ERROR: boost/1.73.0: Error in package_info() method, line 1164
	assert len(non_used) == 0, "These libraries were not used in conan components: {}".format(non_used)
	AssertionError: These libraries were not used in conan components: {'libboost_type_erasure-mt-x64', 'libboost_stacktrace_windbg-mt-x64', 'libboost_test_exec_monitor-mt-x64', 'libboost_exception-mt-x64', 'libboost_chrono-mt-x64', 'libboost_locale-mt-x64', 'libboost_prg_exec_monitor-mt-x64', 'libboost_program_options-mt-x64', 'libboost_serialization-mt-x64', 'libboost_log_setup-mt-x64', 'libboost_coroutine-mt-x64', 'libboost_thread-mt-x64', 'libboost_unit_test_framework-mt-x64', 'libboost_stacktrace_windbg_cached-mt-x64', 'libboost_filesystem-mt-x64', 'libboost_context-mt-x64', 'libboost_random-mt-x64', 'libboost_system-mt-x64', 'libboost_wserialization-mt-x64', 'libboost_container-mt-x64', 'libboost_atomic-mt-x64', 'libboost_fiber-mt-x64', 'libboost_contract-mt-x64', 'libboost_math_c99l-mt-x64', 'libboost_math_c99-mt-x64', 'libboost_nowide-mt-x64', 'libboost_math_tr1f-mt-x64', 'libboost_wave-mt-x64', 'libboost_log-mt-x64', 'libboost_graph-mt-x64', 'libboost_timer-mt-x64', 'libboost_date_time-mt-x64', 'libboost_math_tr1l-mt-x64', 'libboost_math_c99f-mt-x64', 'libboost_math_tr1-mt-x64', 'libboost_stacktrace_noop-mt-x64', 'libboost_regex-mt-x64', 'libboost_iostreams-mt-x64'}

Thanks for your time!

@qwertzui11 qwertzui11 added the bug Something isn't working label Dec 12, 2020
@madebr madebr mentioned this issue Dec 12, 2020
4 tasks
@gummif
Copy link
Contributor

gummif commented Dec 15, 2020

I have the same issue on linux with conan 1.32

ERROR: boost/1.74.0: Error in package_info() method, line 1164
        assert len(non_used) == 0, "These libraries were not used in conan components: {}".format(non_used)
        AssertionError: These libraries were not used in conan components: {'boost_nowide'}
CMake Error at cmake/conan.cmake:402 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  cmake/conan.cmake:497 (conan_cmake_install)
  CMakeLists.txt:44 (conan_cmake_run)

with these options

boost:shared=False
boost:asio_no_deprecated=True
boost:system_no_deprecated=True
boost:without_system=False    # only system
boost:without_atomic=True
boost:without_chrono=True
boost:without_container=True
boost:without_context=True
boost:without_contract=True
boost:without_coroutine=True
boost:without_date_time=True
boost:without_exception=True
boost:without_fiber=True
boost:without_filesystem=True
boost:without_graph_parallel=True
boost:without_graph=True
boost:without_iostreams=True
boost:without_locale=True
boost:without_log=True
boost:without_math=True
boost:without_mpi=True
#boost:without_nowide=True
boost:without_program_options=True
boost:without_python=True
boost:without_random=True
boost:without_regex=True
boost:without_serialization=True
boost:without_stacktrace=True
boost:without_test=True
boost:without_thread=True
boost:without_timer=True
boost:without_type_erasure=True
boost:without_wave=True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants