******************************************************************************** conan test conan-center-index/recipes/flex/all/test_package/conanfile.py flex/2.6.4@#5e623b35883ac51f92e78c7eeb9cab5f -pr /home/conan/w/prod/BuildSingleReference/136828/98b87927-64d7-4043-8dd3-614aff44e54d/profile_linux_11_libstdcpp11_gcc_debug_64.flex-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] flex:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True 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:fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae - Cache m4/1.4.19:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Cache Installing (downloading, building) binaries... m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/m4/1.4.19/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin flex/2.6.4: Already installed! flex/2.6.4: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin flex/2.6.4: Setting LEX environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin/flex flex/2.6.4: Setting FLEX_ROOT environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae 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 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' 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=/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' 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: '/home/conan/w/prod/BuildSingleReference/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------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && flex --version ----------------- flex 2.6.4 /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin:/home/conan/w/prod/BuildSingleReference/.conan/data/m4/1.4.19/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin:/opt/pyenv/versions/3.7.13/bin:/opt/pyenv/libexec:/opt/pyenv/plugins/python-build/bin:/opt/pyenv/plugins/pyenv-virtualenv/bin:/opt/pyenv/plugins/pyenv-update/bin:/opt/pyenv/plugins/pyenv-installer/bin:/opt/pyenv/plugins/pyenv-doctor/bin:/opt/pyenv/shims:/opt/conan/binutils/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin flex/2.6.4 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/." ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conan_toolchain.cmake -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found FLEX: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin/flex (found version "2.6.4") -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/Debug flex/2.6.4 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/Debug" '--' '-j3' ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/Debug" '--' '-j3' ----------------- [ 20%] [FLEX][flex_scanner] Building scanner with flex 2.6.4 Scanning dependencies of target test_yywrap [ 40%] Building C object CMakeFiles/test_yywrap.dir/test_yywrap.c.o Scanning dependencies of target test_package [ 60%] Building CXX object CMakeFiles/test_package.dir/basic_nr.cpp.o [ 80%] Linking C executable test_yywrap [ 80%] Built target test_yywrap [100%] Linking CXX executable test_package [100%] Built target test_package flex/2.6.4 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/Debug/test_package /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/./basic_nr.txt ----------------- name foo =string "bar" name num =number 43 name setting =name false ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/generators/conanbuild.sh" && /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_package/build/Debug/test_yywrap ----------------- yywrap() returned: 1. flex/2.6.4 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior flex/2.6.4 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ******************************************************************************** conan test conan-center-index/recipes/flex/all/test_v1_package/conanfile.py flex/2.6.4@#5e623b35883ac51f92e78c7eeb9cab5f -pr /home/conan/w/prod/BuildSingleReference/136828/98b87927-64d7-4043-8dd3-614aff44e54d/profile_linux_11_libstdcpp11_gcc_debug_64.flex-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] flex:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True 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:fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae - Cache m4/1.4.19:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Cache Installing (downloading, building) binaries... m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/m4/1.4.19/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin flex/2.6.4: Already installed! flex/2.6.4: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin flex/2.6.4: Setting LEX environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin/flex flex/2.6.4: Setting FLEX_ROOT environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae 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: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package/build/21cd09909cf5f27bf89a14ffb547e1f91159cc7f/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 /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/bin:/home/conan/w/prod/BuildSingleReference/.conan/data/m4/1.4.19/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin:/opt/pyenv/versions/3.7.13/bin:/opt/pyenv/libexec:/opt/pyenv/plugins/python-build/bin:/opt/pyenv/plugins/pyenv-virtualenv/bin:/opt/pyenv/plugins/pyenv-update/bin:/opt/pyenv/plugins/pyenv-installer/bin:/opt/pyenv/plugins/pyenv-doctor/bin:/opt/pyenv/shims:/opt/conan/binutils/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package/build/21cd09909cf5f27bf89a14ffb547e1f91159cc7f' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package/build/21cd09909cf5f27bf89a14ffb547e1f91159cc7f/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="/home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package' ----------------- -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found FLEX: /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/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 /home/conan/w/prod/BuildSingleReference/.conan/data/flex/2.6.4/_/_/package/fdc3d4c4d0d800b3f563bc3dc887cdcaa960b0ae/lib/libfl.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package/build/21cd09909cf5f27bf89a14ffb547e1f91159cc7f ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package/build/21cd09909cf5f27bf89a14ffb547e1f91159cc7f' '--' '-j3' ----------------- [ 20%] [FLEX][flex_scanner] Building scanner with flex 2.6.4 Scanning dependencies of target test_yywrap [ 40%] Building C object CMakeFiles/test_yywrap.dir/test_yywrap.c.o Scanning dependencies of target test_package [ 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() ----Running------ > bin/test_package /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/flex/all/test_v1_package/basic_nr.txt ----------------- name foo =string "bar" name num =number 43 name setting =name false ----Running------ > bin/test_yywrap ----------------- yywrap() returned: 1. 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