******************************************************************************** conan install libqasm/0.5.7@#0b77c879af53946fde9ec08e4d82ed18 --build=libqasm -pr:h /Users/jenkins/w/prod/BuildSingleReference@3/244768/e34314ea-27b0-4545-9fff-3db785cf51eb/profile_osx_130_libcpp_apple-clang_debug_armv8.libqasm-shared-False.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/e34314ea-27b0-4545-9fff-3db785cf51eb/profile_osx_130_libcpp_apple-clang_debug_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=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] libqasm:shared=False [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=Debug 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:42a10e89ce278d2cf0fa1c09abdd40b137b6e79b - 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:61053b74780e15957d09b787cf51ee4e6d72e07d - Download flex/2.6.4:61053b74780e15957d09b787cf51ee4e6d72e07d - Download m4/1.4.19:907cb07dbeb8f7bacd51a5119560f14986d21b20 - Download Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... m4/1.4.19: Retrieving package 907cb07dbeb8f7bacd51a5119560f14986d21b20 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz m4/1.4.19: Package installed 907cb07dbeb8f7bacd51a5119560f14986d21b20 m4/1.4.19: Downloaded package revision 2ee331bc2bf81821207d08ed4ca193b2 bison/3.8.2: Retrieving package 61053b74780e15957d09b787cf51ee4e6d72e07d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bison/3.8.2: Package installed 61053b74780e15957d09b787cf51ee4e6d72e07d bison/3.8.2: Downloaded package revision 7069171351f1cf71b2b31c2c556c1490 flex/2.6.4: Retrieving package 61053b74780e15957d09b787cf51ee4e6d72e07d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz flex/2.6.4: Package installed 61053b74780e15957d09b787cf51ee4e6d72e07d flex/2.6.4: Downloaded package revision 6e4852ab8b0813879ec5e699c80f5e58 m4/1.4.19: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/m4/1.4.19/_/_/package/907cb07dbeb8f7bacd51a5119560f14986d21b20/bin flex/2.6.4: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/flex/2.6.4/_/_/package/61053b74780e15957d09b787cf51ee4e6d72e07d/bin flex/2.6.4: Setting LEX environment variable: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/flex/2.6.4/_/_/package/61053b74780e15957d09b787cf51ee4e6d72e07d/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/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b libqasm/0.5.7: Generator txt created conanbuildinfo.txt libqasm/0.5.7: Calling generate() libqasm/0.5.7: Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' 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/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' libqasm/0.5.7: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [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/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/package/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/package/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/." ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- 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/61053b74780e15957d09b787cf51ee4e6d72e07d/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/61053b74780e15957d09b787cf51ee4e6d72e07d/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/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug libqasm/0.5.7: CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug" '--' '-j4' ----Running------ > cmake --build "/Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug" '--' '-j4' ----------------- [ 1%] [BISON][tree-gen-parser] Building parser with bison 3.8.2 [ 2%] [FLEX][tree-gen-lexer] Building scanner with flex 2.6.4 [ 4%] Building CXX object src/func-gen/CMakeFiles/func-gen.dir/func-gen.cpp.o [ 5%] Building CXX object _deps/tree-gen-build/CMakeFiles/tree-lib-obj.dir/src/tree-all.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 static library libtree-lib.a [ 15%] Built target tree-lib [ 17%] Linking CXX executable tree-gen [ 17%] Built target tree-gen [ 22%] Generating ../include/v3/cqasm-values-gen.hpp, v3/cqasm-values-gen.cpp, ../py_gen/v3/cqasm-values-gen.py [ 22%] Generating ../include/v1/cqasm-functions-gen.hpp, v1/cqasm-functions-gen.cpp [ 22%] Generating ../include/v1/cqasm-ast-gen.hpp, v1/cqasm-ast-gen.cpp, ../py_gen/v1/cqasm-ast-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 make[2]: *** [include/v1/cqasm-functions-gen.hpp] Error 126 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [include/v1/cqasm-semantic-gen.hpp] Error 126 /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]: *** [include/v1/cqasm-ast-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 '42a10e89ce278d2cf0fa1c09abdd40b137b6e79b' build failed libqasm/0.5.7: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@3/.conan/data/libqasm/0.5.7/_/_/build/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug 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/42a10e89ce278d2cf0fa1c09abdd40b137b6e79b/build/Debug" '--' '-j4'