******************************************************************************** conan install libqasm/0.5.7@#0b77c879af53946fde9ec08e4d82ed18 --build=libqasm -pr:h /Users/jenkins/w/prod/BuildSingleReference@3/244768/6be9be81-63ac-4e06-9680-7a809e05ef83/profile_osx_130_libcpp_apple-clang_release_armv8.libqasm-shared-True.txt -c:h tools.system.package_manager:mode=install -c:h tools.system.package_manager:sudo=True -c:h tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -pr:b /Users/jenkins/w/prod/BuildSingleReference@3/244768/6be9be81-63ac-4e06-9680-7a809e05ef83/profile_osx_130_libcpp_apple-clang_release_64..txt -c:b tools.system.package_manager:mode=install -c:b tools.system.package_manager:sudo=True -c:b tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod/BuildSingleReference@3/.conan/profiles/default) Found apple-clang 13.0 apple-clang>=13, using the major as version Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=13 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod/BuildSingleReference@3/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration (profile_host): [settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] libqasm:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk Configuration (profile_build): [settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk libqasm/0.5.7: Forced build from source m4/1.4.19: Not found in local cache, looking in remotes... m4/1.4.19: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz m4/1.4.19: Downloaded recipe revision c1c4b1ee919e34630bb9b50046253d3c flex/2.6.4: Not found in local cache, looking in remotes... flex/2.6.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz flex/2.6.4: Downloaded recipe revision e35bc44b3fcbcd661e0af0dc5b5b1ad4 bison/3.8.2: Not found in local cache, looking in remotes... bison/3.8.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bison/3.8.2: Downloaded recipe revision a8e86b304f8085ddbb22395c99a9a0a8 Installing package: libqasm/0.5.7 Requirements libqasm/0.5.7 from local cache - Cache Packages libqasm/0.5.7:2b2201f54b77f855edf1189196431cb2e3f87839 - Build Build requirements bison/3.8.2 from 'conan-center' - Downloaded flex/2.6.4 from 'conan-center' - Downloaded m4/1.4.19 from 'conan-center' - Downloaded Build requirements packages bison/3.8.2:edb849b32a3012807478f9145d55014db81c2247 - Download flex/2.6.4:edb849b32a3012807478f9145d55014db81c2247 - Download m4/1.4.19:801752c0480319b8e090188c566245a78e9abcf4 - Download Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... m4/1.4.19: Retrieving package 801752c0480319b8e090188c566245a78e9abcf4 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz m4/1.4.19: Package installed 801752c0480319b8e090188c566245a78e9abcf4 m4/1.4.19: Downloaded package revision ec9a57328cc8f4bb89449545996b9571 bison/3.8.2: Retrieving package edb849b32a3012807478f9145d55014db81c2247 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bison/3.8.2: Package installed edb849b32a3012807478f9145d55014db81c2247 bison/3.8.2: Downloaded package revision f7241cf2cfe919d6813be2250652a75f flex/2.6.4: Retrieving package edb849b32a3012807478f9145d55014db81c2247 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz flex/2.6.4: Package installed edb849b32a3012807478f9145d55014db81c2247 flex/2.6.4: Downloaded package revision 00557918182e5a57e9704f330007ce9d m4/1.4.19: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/m4/1.4.19/_/_/package/801752c0480319b8e090188c566245a78e9abcf4/bin flex/2.6.4: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/flex/2.6.4/_/_/package/edb849b32a3012807478f9145d55014db81c2247/bin flex/2.6.4: Setting LEX environment variable: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/flex/2.6.4/_/_/package/edb849b32a3012807478f9145d55014db81c2247/bin/flex libqasm/0.5.7: Applying build-requirement: flex/2.6.4 libqasm/0.5.7: Applying build-requirement: bison/3.8.2 libqasm/0.5.7: Applying build-requirement: m4/1.4.19 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libqasm/0.5.7: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/source/. libqasm/0.5.7: libqasm/0.5.7: Unzipping 3.5MB, this can take a while libqasm/0.5.7: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK libqasm/0.5.7: Copying sources to build folder libqasm/0.5.7: Building your package in /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839 libqasm/0.5.7: Generator txt created conanbuildinfo.txt libqasm/0.5.7: Calling generate() libqasm/0.5.7: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' libqasm/0.5.7: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libqasm/0.5.7: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libqasm/0.5.7: Calling build() libqasm/0.5.7: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/package/2b2201f54b77f855edf1189196431cb2e3f87839" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/package/2b2201f54b77f855edf1189196431cb2e3f87839" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/." ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is AppleClang 13.0.0.13000029 -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - 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: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found BISON: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/bison/3.8.2/_/_/package/edb849b32a3012807478f9145d55014db81c2247/bin/bison (found suitable version "3.8.2", minimum required is "3.0") -- Found FLEX: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/flex/2.6.4/_/_/package/edb849b32a3012807478f9145d55014db81c2247/bin/flex (found suitable version "2.6.4", minimum required is "2.6.1") -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release libqasm/0.5.7: CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release" '--' '-j4' ----Running------ > cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release" '--' '-j4' ----------------- [ 2%] [BISON][tree-gen-parser] Building parser with bison 3.8.2 [ 1%] [FLEX][tree-gen-lexer] Building scanner with flex 2.6.4 [ 5%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-lib-obj.dir/src/tree-all.cpp.o [ 5%] Building CXX object src/func-gen/CMakeFiles/func-gen.dir/func-gen.cpp.o [ 7%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-gen.dir/parser.cpp.o [ 8%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-gen.dir/lexer.cpp.o [ 10%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-gen.dir/generator/tree-gen.cpp.o [ 11%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-gen.dir/generator/tree-gen-cpp.cpp.o [ 12%] Linking CXX executable func-gen [ 12%] Built target func-gen [ 14%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-gen.dir/generator/tree-gen-python.cpp.o [ 14%] Built target tree-lib-obj [ 15%] Linking CXX shared library libtree-lib.dylib [ 15%] Built target tree-lib [ 17%] Linking CXX executable tree-gen [ 17%] Built target tree-gen [ 20%] Generating ../include/v1/cqasm-ast-gen.hpp, v1/cqasm-ast-gen.cpp, ../py_gen/v1/cqasm-ast-gen.py [ 20%] Generating ../include/v1/cqasm-functions-gen.hpp, v1/cqasm-functions-gen.cpp [ 21%] Generating ../include/v3/cqasm-values-gen.hpp, v3/cqasm-values-gen.cpp, ../py_gen/v3/cqasm-values-gen.py [ 22%] Generating ../include/v1/cqasm-semantic-gen.hpp, v1/cqasm-semantic-gen.cpp, ../py_gen/v1/cqasm-semantic-gen.py libqasm/0.5.7: /bin/sh: func-gen/func-gen: Bad CPU type in executable /bin/sh: ../_deps/tree-gen-build/tree-gen: Bad CPU type in executable /bin/sh: ../_deps/tree-gen-build/tree-gen: Bad CPU type in executable make[2]: *** [include/v3/cqasm-values-gen.hpp] Error 126 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [include/v1/cqasm-functions-gen.hpp] Error 126 make[2]: *** [include/v1/cqasm-ast-gen.hpp] Error 126 /bin/sh: ../_deps/tree-gen-build/tree-gen: Bad CPU type in executable make[2]: *** [include/v1/cqasm-semantic-gen.hpp] Error 126 make[1]: *** [src/CMakeFiles/cqasm-lib-obj.dir/all] Error 2 make: *** [all] Error 2 libqasm/0.5.7: ERROR: Package '2b2201f54b77f855edf1189196431cb2e3f87839' build failed libqasm/0.5.7: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release ERROR: libqasm/0.5.7: Error in build() method, line 98 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/2b2201f54b77f855edf1189196431cb2e3f87839/build/Release" '--' '-j4'