******************************************************************************** conan test conan-center-index/recipes/flex/all/test_package/conanfile.py flex/2.6.4@#0e5b0972ab992ea11f538ff49f8683e6 -pr:h /Users/jenkins/w/prod/BuildSingleReference@2/129895/196233cc-8741-4072-b66e-e485717e274f/profile_osx_120_libcpp_apple-clang_release_armv8.flex-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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -pr:b /Users/jenkins/w/prod/BuildSingleReference@2/129895/196233cc-8741-4072-b66e-e485717e274f/profile_osx_120_libcpp_apple-clang_release_64.flex-shared-False.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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] flex: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/12/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=12.0 os=Macos [options] flex: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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk flex/2.6.4 (test package): Installing package Requirements flex/2.6.4 from local cache - Cache m4/1.4.19 from 'conan-center' - Cache Packages flex/2.6.4:08b63e87dd6803cb925df6e854a79a2d61c32575 - Cache m4/1.4.19:3eb32b976fb0626f3c40a8b87ace72156aa44204 - Cache Build requirements flex/2.6.4 from local cache - Cache m4/1.4.19 from 'conan-center' - Cache Build requirements packages flex/2.6.4:ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf - Cache m4/1.4.19:801752c0480319b8e090188c566245a78e9abcf4 - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/m4/1.4.19/_/_/package/3eb32b976fb0626f3c40a8b87ace72156aa44204/bin m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/m4/1.4.19/_/_/package/801752c0480319b8e090188c566245a78e9abcf4/bin flex/2.6.4: Already installed! flex/2.6.4: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/08b63e87dd6803cb925df6e854a79a2d61c32575/bin flex/2.6.4: Setting LEX environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/08b63e87dd6803cb925df6e854a79a2d61c32575/bin/flex flex/2.6.4: Setting FLEX_ROOT environment variable: {flex_root} flex/2.6.4: Already installed! flex/2.6.4: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin flex/2.6.4: Setting LEX environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin/flex flex/2.6.4: Setting FLEX_ROOT environment variable: {flex_root} flex/2.6.4 (test package): Applying build-requirement: flex/2.6.4 flex/2.6.4 (test package): Applying build-requirement: m4/1.4.19 flex/2.6.4 (test package): Generator txt created conanbuildinfo.txt flex/2.6.4 (test package): Calling generate() flex/2.6.4 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' flex/2.6.4 (test package): 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@2/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' flex/2.6.4 (test package): Aggregating env generators flex/2.6.4 (test package): Generated conaninfo.txt flex/2.6.4 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conan.lock' Using cached profile from lockfile [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 flex/2.6.4 (test package): Calling build() ----Running------ > . "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && flex --version ----------------- flex 2.6.4 /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin:/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/m4/1.4.19/_/_/package/801752c0480319b8e090188c566245a78e9abcf4/bin:/Users/jenkins/cmake/cmake-3.20.1/bin:/Users/jenkins/env_py_3_7_conan_1_53_0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin flex/2.6.4 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/." ----Running------ > . "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/." ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/12/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/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found FLEX: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin/flex (found version "2.6.4") -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/Release flex/2.6.4 (test package): CMake command: cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/Release" '--' '-j4' ----Running------ > . "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/Release" '--' '-j4' ----------------- [ 20%] [FLEX][flex_scanner] Building scanner with flex 2.6.4 [ 40%] Building C object CMakeFiles/test_yywrap.dir/test_yywrap.c.o [ 60%] Building CXX object CMakeFiles/test_package.dir/basic_nr.cpp.o [ 80%] Linking C executable test_yywrap [100%] Linking CXX executable test_package [100%] Built target test_package ld: warning: ignoring file /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/lib/libfl.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_yywrap", referenced from: _main in test_yywrap.c.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [test_yywrap] Error 1 make[1]: *** [CMakeFiles/test_yywrap.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ld: warning: ignoring file /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/lib/libfl.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 make: *** [all] Error 2 ERROR: flex/2.6.4 (test package): Error in build() method, line 44 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_package/build/Release" '--' '-j4' ******************************************************************************** conan test conan-center-index/recipes/flex/all/test_v1_package/conanfile.py flex/2.6.4@#0e5b0972ab992ea11f538ff49f8683e6 -pr:h /Users/jenkins/w/prod/BuildSingleReference@2/129895/196233cc-8741-4072-b66e-e485717e274f/profile_osx_120_libcpp_apple-clang_release_armv8.flex-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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -pr:b /Users/jenkins/w/prod/BuildSingleReference@2/129895/196233cc-8741-4072-b66e-e485717e274f/profile_osx_120_libcpp_apple-clang_release_64.flex-shared-False.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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] flex: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/12/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=12.0 os=Macos [options] flex: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/12/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk flex/2.6.4 (test package): Installing package Requirements flex/2.6.4 from local cache - Cache m4/1.4.19 from 'conan-center' - Cache Packages flex/2.6.4:08b63e87dd6803cb925df6e854a79a2d61c32575 - Cache m4/1.4.19:3eb32b976fb0626f3c40a8b87ace72156aa44204 - Cache Build requirements flex/2.6.4 from local cache - Cache m4/1.4.19 from 'conan-center' - Cache Build requirements packages flex/2.6.4:ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf - Cache m4/1.4.19:801752c0480319b8e090188c566245a78e9abcf4 - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/m4/1.4.19/_/_/package/801752c0480319b8e090188c566245a78e9abcf4/bin m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/m4/1.4.19/_/_/package/3eb32b976fb0626f3c40a8b87ace72156aa44204/bin flex/2.6.4: Already installed! flex/2.6.4: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/08b63e87dd6803cb925df6e854a79a2d61c32575/bin flex/2.6.4: Setting LEX environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/08b63e87dd6803cb925df6e854a79a2d61c32575/bin/flex flex/2.6.4: Setting FLEX_ROOT environment variable: {flex_root} flex/2.6.4: Already installed! flex/2.6.4: Appending PATH environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin flex/2.6.4: Setting LEX environment variable: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin/flex flex/2.6.4: Setting FLEX_ROOT environment variable: {flex_root} flex/2.6.4 (test package): Applying build-requirement: flex/2.6.4 flex/2.6.4 (test package): Applying build-requirement: m4/1.4.19 flex/2.6.4 (test package): Generator txt created conanbuildinfo.txt flex/2.6.4 (test package): Generator cmake created conanbuildinfo.cmake flex/2.6.4 (test package): Aggregating env generators flex/2.6.4 (test package): Generated conaninfo.txt flex/2.6.4 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_v1_package/build/f9ca0596374772703f06ba761ef3c39012cf16ef/conan.lock' Using cached profile from lockfile [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 flex/2.6.4 (test package): Calling build() ----Running------ > flex --version ----------------- flex 2.6.4 /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin:/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/m4/1.4.19/_/_/package/801752c0480319b8e090188c566245a78e9abcf4/bin:/Users/jenkins/cmake/cmake-3.20.1/bin:/Users/jenkins/env_py_3_7_conan_1_53_0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin ----Running------ > cd '/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_v1_package/build/f9ca0596374772703f06ba761ef3c39012cf16ef' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_v1_package/build/f9ca0596374772703f06ba761ef3c39012cf16ef/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DFLEX_ROOT="/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/08b63e87dd6803cb925df6e854a79a2d61c32575" -Wno-dev '/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_v1_package' ----------------- -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/12/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/12/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found FLEX: /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/ef2ed909580d08f58dee7d2eaa04c4b8c95b08cf/bin/flex (found version "2.6.4") -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library fl found /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/flex/2.6.4/_/_/package/08b63e87dd6803cb925df6e854a79a2d61c32575/lib/libfl.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_v1_package/build/f9ca0596374772703f06ba761ef3c39012cf16ef ----Running------ > cmake --build '/Users/jenkins/w/prod/BuildSingleReference@2/conan-center-index/recipes/flex/all/test_v1_package/build/f9ca0596374772703f06ba761ef3c39012cf16ef' '--' '-j4' ----------------- [ 20%] [FLEX][flex_scanner] Building scanner with flex 2.6.4 [ 40%] Building C object CMakeFiles/test_yywrap.dir/test_yywrap.c.o [ 60%] Building CXX object CMakeFiles/test_package.dir/basic_nr.cpp.o [ 80%] Linking C executable bin/test_yywrap [ 80%] Built target test_yywrap [100%] Linking CXX executable bin/test_package [100%] Built target test_package flex/2.6.4 (test package): Running test() CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR