******************************************************************************** conan test cci-fb423bdf/recipes/f2c/all/test_package/conanfile.py f2c/20240312@#b7ae52699aae5ac0509612105f0d3ea7 -pr /home/conan/workspace/prod-v1/bsr/18275/ceceb/profile_linux_11_libstdcpp11_gcc_release_64.f2c-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] f2c:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True f2c/20240312 (test package): Installing package Requirements f2c/20240312 from local cache - Cache Packages f2c/20240312:3c3ea34795cce960f656fcfcbec32e58ab4d7cbb - Cache Installing (downloading, building) binaries... f2c/20240312: Already installed! f2c/20240312 (test package): Generator 'VirtualBuildEnv' calling 'generate()' f2c/20240312 (test package): Generator 'CMakeDeps' calling 'generate()' f2c/20240312 (test package): Generator 'VirtualRunEnv' calling 'generate()' f2c/20240312 (test package): Generator txt created conanbuildinfo.txt f2c/20240312 (test package): Calling generate() f2c/20240312 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' f2c/20240312 (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/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' f2c/20240312 (test package): Aggregating env generators f2c/20240312 (test package): Generated conaninfo.txt f2c/20240312 (test package): Generated graphinfo Using lockfile: '/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/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 f2c/20240312 (test package): Calling build() ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanbuild.sh" && f2c < '/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/./test_package.f' ----------------- /* -- translated by f2c (version 20240312). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the command line, as in cc *.o -lf2c -lm Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., http://www.netlib.org/f2c/libf2c.zip */ #include "f2c.h" /* Table of constant values */ static integer c__9 = 9; static integer c__1 = 1; /* Main program */ int MAIN__(void) { /* Builtin functions */ integer s_wsle(cilist *), do_lio(integer *, integer *, char *, ftnlen), e_wsle(void); /* Subroutine */ int s_stop(char *, ftnlen); /* Fortran I/O blocks */ static cilist io___1 = { 0, 6, 0, 0, 0 }; s_wsle(&io___1); do_lio(&c__9, &c__1, "f2c: Hello, World!", (ftnlen)18); e_wsle(); s_stop("", (ftnlen)0); return 0; } /* MAIN__ */ /* Main program alias */ int hello_ () { MAIN__ (); return 0; } ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanbuild.sh" && $FC --version ----------------- /home/conan/workspace/prod-v1/bsr/18275/aeacc/.conan/data/f2c/20240312/_/_/package/3c3ea34795cce960f656fcfcbec32e58ab4d7cbb/bin/fc script based on f2c: f2c (Fortran to C Translator) version 20240312. ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanbuild.sh" && $FC /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/./test_package.f -o test_package_direct ----------------- f2c/20240312 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/." ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conan_toolchain.cmake -- The Fortran compiler identification is unknown -- Check for working Fortran compiler: /home/conan/workspace/prod-v1/bsr/18275/aeacc/.conan/data/f2c/20240312/_/_/package/3c3ea34795cce960f656fcfcbec32e58ab4d7cbb/bin/fc -- Check for working Fortran compiler: /home/conan/workspace/prod-v1/bsr/18275/aeacc/.conan/data/f2c/20240312/_/_/package/3c3ea34795cce960f656fcfcbec32e58ab4d7cbb/bin/fc -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - failed -- Checking whether /home/conan/workspace/prod-v1/bsr/18275/aeacc/.conan/data/f2c/20240312/_/_/package/3c3ea34795cce960f656fcfcbec32e58ab4d7cbb/bin/fc supports Fortran 90 -- Checking whether /home/conan/workspace/prod-v1/bsr/18275/aeacc/.conan/data/f2c/20240312/_/_/package/3c3ea34795cce960f656fcfcbec32e58ab4d7cbb/bin/fc supports Fortran 90 -- yes -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release f2c/20240312 (test package): CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release" '--' '-j3' ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanbuild.sh" && cmake --build "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building Fortran object CMakeFiles/test_package.dir/test_package.f.o [100%] Linking Fortran executable test_package [100%] Built target test_package f2c/20240312 (test package): Running test() ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanrun.sh" && /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/test_package_direct ----------------- f2c: Hello, World! ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/generators/conanrun.sh" && /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/build/Release/test_package ----------------- f2c: Hello, World! MAIN hello: /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/./test_package.f: MAIN hello: getopt: invalid option -- 'E' /usr/share/cmake-3.15/Modules/CMakeTestGNU.c: CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /home/conan/workspace/prod-v1/bsr/cci-fb423bdf/recipes/f2c/all/test_package/test_package.f: MAIN hello: f2c/20240312 (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 f2c/20240312 (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