Closed kambala-decapitator closed 2 years ago
When MinGW is set as build profile, yasm can't be built. If I set msvc as build profile, then it builds. In both cases host profile is MinGW, but I think it doesn't matter.
MinGW:
[settings] os=Windows os_build=Windows arch=x86 arch_build=x86 compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8.3 build_type=Release [options] [build_requires] [buildenv] PATH=/c/Strawberry/c/bin:$PATH [conf] tools.env.virtualenv:auto_use = True
msvc:
[settings] os=Windows os_build=Windows arch=x86 arch_build=x86 compiler=Visual Studio compiler.version=16 build_type=Release [options] [build_requires] [env]
conan install libvpx/1.11.0@ --build=missing --profile:host=mingw --profile:build=mingw
Yes it's a regression coming from https://github.com/conan-io/conan-center-index/pull/13185. Fixed by https://github.com/conan-io/conan-center-index/pull/13573
Description
When MinGW is set as build profile, yasm can't be built. If I set msvc as build profile, then it builds. In both cases host profile is MinGW, but I think it doesn't matter.
Package and Environment Details
Conan profile
MinGW:
msvc:
Steps to reproduce
Logs
Build profile MinGW
``` $ conan install libvpx/1.11.0@ --build=missing --profile:host=mingw --profile:build=mingw DEBUG :conan_api.py [176]: INIT: Using config 'C:\Users\kamba_000\.conan\conan.conf' [2022-10-18 12:45:50,810] DEBUG :tracer.py [156]: CONAN_API: install_reference(settings=None,options=None,env=None,conf=None,profile_names=['mingw'],profile_build=ProfileData(profiles=['mingw'], settings=None, options=None, env=None, conf=None),remote_name=None,verify=None,manifests=None,manifests_interactive=None,build=['missing'],update=False,generators=None,install_folder=None,lockfile=None,lockfile_out=None,lockfile_node_id=None,is_build_require=False,require_overrides=None) [2022-10-18 12:45:50,815] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\default [2022-10-18 12:45:50,824] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\mingw [2022-10-18 12:45:50,827] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\default [2022-10-18 12:45:50,997] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\mingw [2022-10-18 12:45:50,999] Configuration (profile_host): [settings] arch=x86 arch_build=x86 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8.3 os=Windows os_build=Windows [options] [build_requires] [env] [conf] tools.cmake.cmaketoolchain:generator=Ninja tools.gnu:make_program=/c/Strawberry/c/bin/gmake.exe tools.microsoft.bash:path=c:\Program Files\Git\bin\bash.exe tools.microsoft.bash:subsystem=msys2 tools.env.virtualenv:auto_use=True [buildenv] PATH=/c/Strawberry/c/bin:$PATH Configuration (profile_build): [settings] arch=x86 arch_build=x86 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8.3 os=Windows os_build=Windows [options] [build_requires] [env] [conf] tools.cmake.cmaketoolchain:generator=Ninja tools.gnu:make_program=/c/Strawberry/c/bin/gmake.exe tools.microsoft.bash:path=c:\Program Files\Git\bin\bash.exe tools.microsoft.bash:subsystem=msys2 tools.env.virtualenv:auto_use=True [buildenv] PATH=/c/Strawberry/c/bin:$PATH DEBUG :graph_builder.py[462]: GRAPH: new_node: libvpx/1.11.0 [2022-10-18 12:45:51,220] DEBUG :graph_builder.py[69]: GRAPH: Time to load deps 0.0240018367767334 [2022-10-18 12:45:51,223] libvpx/1.11.0: WARN: Package binary is corrupted, removing: 914932d05506548362530b294f1593008d7d57a7 DEBUG :rest_client_common.py[160]: REST: ping: https://center.conan.io/v1/ping [2022-10-18 12:45:51,233] DEBUG :rest_client.py [58]: REST: Cached capabilities for the remote: ['complex_search', 'checksum_deploy', 'revisions', 'matrix_params'] [2022-10-18 12:45:51,787] DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/libvpx/1.11.0/_/_/revisions/3b749cb1ab45185c17ccba52ae2dabe7/packages/914932d05506548362530b294f1593008d7d57a7/latest [2022-10-18 12:45:51,790] DEBUG :rest_client_common.py[30]: REST ERROR:Build profile msvc
``` $ conan install libvpx/1.11.0@ --build=missing --profile:host=mingw DEBUG :conan_api.py [176]: INIT: Using config 'C:\Users\kamba_000\.conan\conan.conf' [2022-10-18 12:46:57,963] DEBUG :tracer.py [156]: CONAN_API: install_reference(settings=None,options=None,env=None,conf=None,profile_names=['mingw'],profile_build=ProfileData(profiles=None, settings=None, options=None, env=None, conf=None),remote_name=None,verify=None,manifests=None,manifests_interactive=None,build=['missing'],update=False,generators=None,install_folder=None,lockfile=None,lockfile_out=None,lockfile_node_id=None,is_build_require=False,require_overrides=None) [2022-10-18 12:46:57,968] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\default [2022-10-18 12:46:57,976] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\mingw [2022-10-18 12:46:57,979] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\default [2022-10-18 12:46:58,158] DEBUG :profile_loader.py[120]: PROFILE LOAD: C:\Users\kamba_000\.conan\profiles\default [2022-10-18 12:46:58,162] INFO :settings_preprocessor.py[56]: Setting 'compiler.runtime' not declared, automatically adjusted to 'MD' [2022-10-18 12:46:58,347] Configuration (profile_host): [settings] arch=x86 arch_build=x86 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8.3 os=Windows os_build=Windows [options] [build_requires] [env] [conf] tools.cmake.cmaketoolchain:generator=Ninja tools.gnu:make_program=/c/Strawberry/c/bin/gmake.exe tools.microsoft.bash:path=c:\Program Files\Git\bin\bash.exe tools.microsoft.bash:subsystem=msys2 tools.env.virtualenv:auto_use=True [buildenv] PATH=/c/Strawberry/c/bin:$PATH Configuration (profile_build): [settings] arch=x86 arch_build=x86 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [options] [build_requires] [env] [conf] tools.cmake.cmaketoolchain:generator=Ninja tools.gnu:make_program=/c/Strawberry/c/bin/gmake.exe tools.microsoft.bash:path=c:\Program Files\Git\bin\bash.exe tools.microsoft.bash:subsystem=msys2 DEBUG :graph_builder.py[462]: GRAPH: new_node: libvpx/1.11.0 [2022-10-18 12:46:58,391] DEBUG :graph_builder.py[69]: GRAPH: Time to load deps 0.026001930236816406 [2022-10-18 12:46:58,392] DEBUG :rest_client_common.py[160]: REST: ping: https://center.conan.io/v1/ping [2022-10-18 12:46:58,401] DEBUG :rest_client.py [58]: REST: Cached capabilities for the remote: ['complex_search', 'checksum_deploy', 'revisions', 'matrix_params'] [2022-10-18 12:46:58,845] DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/libvpx/1.11.0/_/_/revisions/3b749cb1ab45185c17ccba52ae2dabe7/packages/914932d05506548362530b294f1593008d7d57a7/latest [2022-10-18 12:46:58,848] DEBUG :rest_client_common.py[30]: REST ERROR: