conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
948 stars 1.73k forks source link

[package] yasm/1.3.0: can't build when MinGW is set as build profile #13574

Closed kambala-decapitator closed 1 year ago

kambala-decapitator commented 1 year ago

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:

[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]

Steps to reproduce

conan install libvpx/1.11.0@ --build=missing --profile:host=mingw --profile:build=mingw

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: [2022-10-18 12:45:51,865] yasm/1.3.0: Not found in local cache, looking in remotes... yasm/1.3.0: Trying with 'conancenter'... DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/latest [2022-10-18 12:45:51,886] DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/files [2022-10-18 12:45:51,956] DEBUG :file_downloader.py[130]: DOWNLOAD: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/files/conanmanifest.txt [2022-10-18 12:45:52,326] Downloading conanmanifest.txt completed [0.18k] DEBUG :file_downloader.py[130]: DOWNLOAD: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/files/conanfile.py [2022-10-18 12:45:52,524] Downloading conanfile.py completed [3.13k] DEBUG :file_downloader.py[130]: DOWNLOAD: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/files/conan_export.tgz [2022-10-18 12:45:52,725] Downloading conan_export.tgz completed [0.32k] Decompressing conan_export.tgz completed [0.00k] yasm/1.3.0: Downloaded recipe revision 1f630c6862ec367e66b9e6d2dc5afb57 DEBUG :graph_builder.py[462]: GRAPH: new_node: yasm/1.3.0 [2022-10-18 12:45:52,784] DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/packages/63c5d5dc6eb958dab897e143053e17f583d55879/latest [2022-10-18 12:45:52,793] DEBUG :rest_client_common.py[30]: REST ERROR: [2022-10-18 12:45:52,962] Installing package: libvpx/1.11.0 Requirements libvpx/1.11.0 from 'conancenter' - Cache Packages libvpx/1.11.0:914932d05506548362530b294f1593008d7d57a7 - Build Build requirements yasm/1.3.0 from 'conancenter' - Downloaded Build requirements packages yasm/1.3.0:63c5d5dc6eb958dab897e143053e17f583d55879 - Build Installing (downloading, building) binaries... DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/files [2022-10-18 12:45:53,010] DEBUG :file_downloader.py[130]: DOWNLOAD: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/files/conan_sources.tgz [2022-10-18 12:45:53,322] Downloading conan_sources.tgz completed [0.75k] Decompressing conan_sources.tgz completed [0.00k] yasm/1.3.0: Configuring sources in D:\conan-data\yasm\1.3.0\_\_\source\. DEBUG :file_downloader.py[130]: DOWNLOAD: http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz [2022-10-18 12:45:54,219] Downloading yasm-1.3.0.tar.gz completed [1457.18k] yasm/1.3.0: 3.0: yasm/1.3.0: yasm/1.3.0: Copying sources to build folder DEBUG :installer.py [128]: BUILD: Copied to D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879 [2022-10-18 12:46:02,359] DEBUG :installer.py [129]: BUILD: Files copied ABOUT-NLS,aclocal.m4,Artistic.txt,AUTHORS,BSD.txt,ChangeLog,cmake,CMakeLists.txt,config,config.h.cmake,config.h.in,configure,configure.ac,ConfigureChecks.cmake,COPYING,frontends,genstring.c,GNU_GPL-2.0,GNU_LGPL-2.0,INSTALL,libyasm,libyasm-stdint.h.cmake,libyasm.h,m4,Makefile.am,Makefile.in,Mkfiles,modules,NEWS,out_test.sh,patches,plugins,po,README,splint.sh,test_hd.c,tools,util.h,version,x86insns.c,x86insn_gas.gperf,x86insn_nasm.gperf,YASM-VERSION-GEN.sh,yasm.1,yasm_arch.7,yasm_dbgfmts.7,yasm_objfmts.7,yasm_parsers.7 [2022-10-18 12:46:02,360] yasm/1.3.0: Building your package in D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879 INFO :installer.py [133]: GENERATORS: Writing generators [2022-10-18 12:46:02,365] yasm/1.3.0: Generator txt created conanbuildinfo.txt INFO :installer.py [137]: TOOLCHAIN: Writing toolchain [2022-10-18 12:46:02,368] yasm/1.3.0: Calling generate() yasm/1.3.0: Aggregating env generators DEBUG :build.py [11]: Call conanfile.build() with files in build folder: ['conan', 'conanbuildinfo.txt'] [2022-10-18 12:46:02,381] yasm/1.3.0: Calling build() yasm/1.3.0: Apply patch (conan): CMake 3.0+ compatibility yasm/1.3.0: Calling: > "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\./configure" --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --enable-debug=no --disable-rpath --disable-nls ----Running------ > "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build-release\conan\conanbuild.bat" && "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\./configure" --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --enable-debug=no --disable-rpath --disable-nls ----------------- '"D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\./configure"' is not recognized as an internal or external command, operable program or batch file. yasm/1.3.0: yasm/1.3.0: ERROR: Package '63c5d5dc6eb958dab897e143053e17f583d55879' build failed yasm/1.3.0: WARN: Build folder D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build-release ERROR: yasm/1.3.0: Error in build() method, line 75 autotools.configure() ConanException: Error 1 while executing "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\./configure" --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --enable-debug=no --disable-rpath --disable-nls ```
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: [2022-10-18 12:46:58,923] DEBUG :graph_builder.py[462]: GRAPH: new_node: yasm/1.3.0 [2022-10-18 12:46:58,951] yasm/1.3.0: WARN: Package binary is corrupted, removing: 63c5d5dc6eb958dab897e143053e17f583d55879 DEBUG :rest_client_common.py[188]: REST: get: https://center.conan.io/v2/conans/yasm/1.3.0/_/_/revisions/1f630c6862ec367e66b9e6d2dc5afb57/packages/63c5d5dc6eb958dab897e143053e17f583d55879/latest [2022-10-18 12:46:58,960] DEBUG :rest_client_common.py[30]: REST ERROR: [2022-10-18 12:46:59,137] Installing package: libvpx/1.11.0 Requirements libvpx/1.11.0 from 'conancenter' - Cache Packages libvpx/1.11.0:914932d05506548362530b294f1593008d7d57a7 - Build Build requirements yasm/1.3.0 from 'conancenter' - Cache Build requirements packages yasm/1.3.0:63c5d5dc6eb958dab897e143053e17f583d55879 - Build Installing (downloading, building) binaries... yasm/1.3.0: WARN: Build folder is dirty, removing it: D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879 yasm/1.3.0: Copying sources to build folder DEBUG :installer.py [128]: BUILD: Copied to D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879 [2022-10-18 12:47:01,132] DEBUG :installer.py [129]: BUILD: Files copied ABOUT-NLS,aclocal.m4,Artistic.txt,AUTHORS,BSD.txt,ChangeLog,cmake,CMakeLists.txt,config,config.h.cmake,config.h.in,configure,configure.ac,ConfigureChecks.cmake,COPYING,frontends,genstring.c,GNU_GPL-2.0,GNU_LGPL-2.0,INSTALL,libyasm,libyasm-stdint.h.cmake,libyasm.h,m4,Makefile.am,Makefile.in,Mkfiles,modules,NEWS,out_test.sh,patches,plugins,po,README,splint.sh,test_hd.c,tools,util.h,version,x86insns.c,x86insn_gas.gperf,x86insn_nasm.gperf,YASM-VERSION-GEN.sh,yasm.1,yasm_arch.7,yasm_dbgfmts.7,yasm_objfmts.7,yasm_parsers.7 [2022-10-18 12:47:01,133] yasm/1.3.0: Building your package in D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879 INFO :installer.py [133]: GENERATORS: Writing generators [2022-10-18 12:47:01,138] yasm/1.3.0: Generator txt created conanbuildinfo.txt INFO :installer.py [137]: TOOLCHAIN: Writing toolchain [2022-10-18 12:47:01,141] yasm/1.3.0: Calling generate() INFO :runners.py [87]: Calling command: "C:\Program Files\Microsoft Visual Studio\Installer\vswhere.exe" -format json -legacy -nologo > "C:\Users\KAMBA_~1\AppData\Local\Temp\tmp6i1ddn6b\output" [2022-10-18 12:47:01,266] INFO :runners.py [90]: Return code: 0 [2022-10-18 12:47:01,329] INFO :runners.py [98]: Output: in file:[ { "instanceId": "fee8c4cb", "installDate": "2021-10-20T11:04:09Z", "installationName": "VisualStudio/16.11.17+32630.194", "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2019\\Community", "installationVersion": "16.11.32630.194", "productId": "Microsoft.VisualStudio.Product.Community", "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Communityÿ2019", "description": "Œ®é­ ï ¨­â¥£à¨à®¢ ­­ ï á।  ࠧࠡ®âª¨, ¡¥á¯« â­ ï ¤«ï áâ㤥­â®¢, ãç áâ­¨ª®¢ ¯à®¥ªâ®¢ á ®âªàëâë¬ ª®¤®¬ ¨ ®â¤¥«ì­ëå ¯®«ì§®¢ â¥«¥©.", "channelId": "VisualStudio.16.Release", "channelUri": "https://aka.ms/vs/16/release/channel", "enginePath": "C:\\Program Files\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.17", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909", "updateDate": "2022-07-13T13:32:31.8287797Z", "catalog": { "buildBranch": "d16.11", "buildVersion": "16.11.32630.194", "id": "VisualStudio/16.11.17+32630.194", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "16.11.17", "productLine": "Dev16", "productLineVersion": "2019", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "17", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "16.11.17+32630.194", "requiredEngineVersion": "2.11.69.53063" }, "properties": { "campaignId": "2011", "channelManifestId": "VisualStudio.16.Release/16.11.17+32630.194", "nickname": "", "setupEngineFilePath": "C:\\Program Files\\Microsoft Visual Studio\\Installer\\setup.exe" } } ] stdout: None stderr:b'' [2022-10-18 12:47:01,331] INFO :runners.py [87]: Calling command: "C:\Program Files\Microsoft Visual Studio\Installer\vswhere.exe" -format json -products * -nologo > "C:\Users\KAMBA_~1\AppData\Local\Temp\tmpiqj5p6ry\output" [2022-10-18 12:47:01,349] INFO :runners.py [90]: Return code: 0 [2022-10-18 12:47:01,410] INFO :runners.py [98]: Output: in file:[ { "instanceId": "fee8c4cb", "installDate": "2021-10-20T11:04:09Z", "installationName": "VisualStudio/16.11.17+32630.194", "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2019\\Community", "installationVersion": "16.11.32630.194", "productId": "Microsoft.VisualStudio.Product.Community", "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Communityÿ2019", "description": "Œ®é­ ï ¨­â¥£à¨à®¢ ­­ ï á।  ࠧࠡ®âª¨, ¡¥á¯« â­ ï ¤«ï áâ㤥­â®¢, ãç áâ­¨ª®¢ ¯à®¥ªâ®¢ á ®âªàëâë¬ ª®¤®¬ ¨ ®â¤¥«ì­ëå ¯®«ì§®¢ â¥«¥©.", "channelId": "VisualStudio.16.Release", "channelUri": "https://aka.ms/vs/16/release/channel", "enginePath": "C:\\Program Files\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.17", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909", "updateDate": "2022-07-13T13:32:31.8287797Z", "catalog": { "buildBranch": "d16.11", "buildVersion": "16.11.32630.194", "id": "VisualStudio/16.11.17+32630.194", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "16.11.17", "productLine": "Dev16", "productLineVersion": "2019", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "17", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "16.11.17+32630.194", "requiredEngineVersion": "2.11.69.53063" }, "properties": { "campaignId": "2011", "channelManifestId": "VisualStudio.16.Release/16.11.17+32630.194", "nickname": "", "setupEngineFilePath": "C:\\Program Files\\Microsoft Visual Studio\\Installer\\setup.exe" } } ] stdout: None stderr:b'' [2022-10-18 12:47:01,411] yasm/1.3.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' yasm/1.3.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\generators\conan_toolchain.cmake -DYASM_BUILD_TESTS=OFF -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' yasm/1.3.0: Aggregating env generators DEBUG :build.py [11]: Call conanfile.build() with files in build folder: ['conanbuildinfo.txt'] [2022-10-18 12:47:01,441] yasm/1.3.0: Calling build() yasm/1.3.0: Apply patch (conan): CMake 3.0+ compatibility yasm/1.3.0: CMake command: cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="D:/conan-data/yasm/1.3.0/_/_/build/63c5d5dc6eb958dab897e143053e17f583d55879/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879" -DYASM_BUILD_TESTS="OFF" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\." ----Running------ > "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\generators\conanbuild.bat" && cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="D:/conan-data/yasm/1.3.0/_/_/build/63c5d5dc6eb958dab897e143053e17f583d55879/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879" -DYASM_BUILD_TESTS="OFF" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\." ----------------- ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.0 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x86' -- Using Conan toolchain: D:/conan-data/yasm/1.3.0/_/_/build/63c5d5dc6eb958dab897e143053e17f583d55879/build/generators/conan_toolchain.cmake -- The C compiler identification is MSVC 19.29.30146.0 -- The CXX compiler identification is MSVC 19.29.30146.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x86/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for locale.h -- Looking for locale.h - found -- Looking for libgen.h -- Looking for libgen.h - not found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for direct.h -- Looking for direct.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for abort -- Looking for abort - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for toascii -- Looking for toascii - not found -- Looking for dlopen in dl -- Looking for dlopen in dl - not found -- Found PythonInterp: C:/python/3.10/python.exe (found version "3.10") -- Standard modules: arch_lc3b;arch_x86;listfmt_nasm;parser_gas;parser_nasm;preproc_nasm;preproc_raw;preproc_cpp;preproc_gas;dbgfmt_cv8;dbgfmt_dwarf2;dbgfmt_null;dbgfmt_stabs;objfmt_dbg;objfmt_bin;objfmt_elf;objfmt_elf32;objfmt_elf64;objfmt_elfx32;objfmt_coff;objfmt_win32;objfmt_win64;objfmt_macho;objfmt_macho32;objfmt_macho64;objfmt_rdf;objfmt_xdf -- Generating standard plugin initialization file -- Configuring done -- Generating done -- Build files have been written to: D:/conan-data/yasm/1.3.0/_/_/build/63c5d5dc6eb958dab897e143053e17f583d55879/build/Release yasm/1.3.0: CMake command: cmake --build "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\Release" -- -j2 ----Running------ > "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\generators\conanbuild.bat" && cmake --build "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\Release" -- -j2 ----------------- ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.0 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x86' [11/127] Building C object tools\re2c\CMakeFiles\re2c.dir\dfa.c.obj D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\tools\re2c\dfa.c(154): warning C4244: '=': conversion from 'unsigned short' to 'Char', possible loss of data [30/127] Building C object libyasm\CMakeFiles\libyasm.dir\errwarn.c.obj D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\libyasm\errwarn.c(41): warning C4005: 'toascii': macro redefinition C:\Program Files\Windows Kits\10\include\10.0.19041.0\ucrt\ctype.h(297): note: see previous definition of 'toascii' [62/127] Generating x86insn_gas.c fail to map group of size 2 for tab size 512 [127/127] Linking C executable vsyasm.exe yasm/1.3.0: Package '63c5d5dc6eb958dab897e143053e17f583d55879' built yasm/1.3.0: Build folder D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\Release yasm/1.3.0: Generated conaninfo.txt yasm/1.3.0: Generated conanbuildinfo.txt yasm/1.3.0: Generating the package yasm/1.3.0: Package folder D:\conan-data\yasm\1.3.0\_\_\package\63c5d5dc6eb958dab897e143053e17f583d55879 yasm/1.3.0: Calling package() yasm/1.3.0: Copied 1 '.txt' file: BSD.txt yasm/1.3.0: Copied 1 file: COPYING yasm/1.3.0: CMake command: cmake --install "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\Release" --prefix "D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879" ----Running------ > "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\generators\conanbuild.bat" && cmake --install "D:\conan-data\yasm\1.3.0\_\_\build\63c5d5dc6eb958dab897e143053e17f583d55879\build\Release" --prefix "D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879" ----------------- ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.0 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x86' -- Install configuration: "Release" -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm-stdint.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/lib/yasm.lib -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/bin/yasm.dll -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/arch.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/assocdat.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/bitvect.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/bytecode.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/compat-queue.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/coretype.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/dbgfmt.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/errwarn.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/expr.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/file.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/floatnum.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/hamt.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/insn.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/intnum.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/inttree.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/linemap.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/listfmt.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/md5.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/module.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/objfmt.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/parser.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/phash.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/preproc.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/section.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/symrec.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/valparam.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/include/libyasm/value.h -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/bin/yasmstd.dll -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/bin/yasm.exe -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/bin/ytasm.exe -- Installing: D:/conan-data/yasm/1.3.0/_/_/package/63c5d5dc6eb958dab897e143053e17f583d55879/bin/vsyasm.exe DEBUG :package.py [73]: PACKAGE: Creating config files to D:\conan-data\yasm\1.3.0\_\_\package\63c5d5dc6eb958dab897e143053e17f583d55879 [2022-10-18 12:48:10,169] yasm/1.3.0 package(): Packaged 3 '.exe' files: vsyasm.exe, yasm.exe, ytasm.exe yasm/1.3.0 package(): Packaged 2 '.dll' files: yasm.dll, yasmstd.dll yasm/1.3.0 package(): Packaged 1 '.txt' file: BSD.txt yasm/1.3.0 package(): Packaged 1 file: COPYING yasm/1.3.0: Package '63c5d5dc6eb958dab897e143053e17f583d55879' created yasm/1.3.0: Created package revision fb75ddbbd408dc07ab793b30446cc22e yasm/1.3.0: Appending PATH environment variable: D:\conan-data\yasm\1.3.0\_\_\package\63c5d5dc6eb958dab897e143053e17f583d55879\bin libvpx/1.11.0: Applying build-requirement: yasm/1.3.0 ... ```
SpaceIm commented 1 year ago

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