******************************************************************************** conan test cci-7d1e170c/recipes/f2c/all/test_package/conanfile.py f2c/20240312@#5baaf1710afad39d2a42337f6e8c6742 -pr /Users/jenkins/workspace/prod-v1/bsr/18461/ebced/profile_osx_130_libcpp_apple-clang_debug_armv8.f2c-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True -c tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Configuration: [settings] arch=armv8 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] f2c: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 f2c/20240312 (test package): Installing package Requirements f2c/20240312 from local cache - Cache Packages f2c/20240312:5fe82866d603c018b85802a3eeb48ce3481a00a0 - Cache Installing (downloading, building) binaries... f2c/20240312: Already installed! f2c/20240312 (test package): Generator 'VirtualBuildEnv' calling 'generate()' f2c/20240312 (test package): Generator 'VirtualRunEnv' calling 'generate()' f2c/20240312 (test package): Generator 'CMakeDeps' calling 'generate()' f2c/20240312 (test package): Generator txt created conanbuildinfo.txt f2c/20240312 (test package): Calling generate() f2c/20240312 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' 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=/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' f2c/20240312 (test package): Aggregating env generators f2c/20240312 (test package): Generated conaninfo.txt f2c/20240312 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/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------ > . "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conanbuild.sh" && f2c < '/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/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------ > . "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conanbuild.sh" && $FC --version ----------------- /Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/bin/fc script based on f2c: f2c (Fortran to C Translator) version 20240312. ----Running------ > . "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conanbuild.sh" && $FC /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/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="/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/." ----Running------ > . "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/." ----------------- -- Using Conan toolchain: /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The Fortran compiler identification is unknown -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - failed -- Check for working Fortran compiler: /Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/bin/fc -- Check for working Fortran compiler: /Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/bin/fc - works -- Checking whether /Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/bin/fc supports Fortran 90 -- Checking whether /Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/bin/fc supports Fortran 90 - yes -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug f2c/20240312 (test package): CMake command: cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug" '--' '-j8' ----Running------ > . "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conanbuild.sh" && cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug" '--' '-j8' ----------------- 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------ > . "/Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/generators/conanrun.sh" && /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/test_package_direct ----------------- MAIN hello: /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/./test_package.f: MAIN hello: clang: warning: -lf2c: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/lib' [-Wunused-command-line-argument] Undefined symbols for architecture arm64: "MAIN__", referenced from: -u command line option (maybe you meant: _MAIN__) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) getopt: illegal option -- E /Users/jenkins/cmake/cmake-3.20.1/share/cmake-3.20/Modules/CMakeTestGNU.c: clang: warning: -lf2c: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/lib' [-Wunused-command-line-argument] Undefined symbols for architecture arm64: "MAIN__", referenced from: -u command line option "_MAIN__", referenced from: _main in libf2c.a(main.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/test_package.f: MAIN hello: clang: warning: -lf2c: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/Users/jenkins/workspace/prod-v1/bsr/18461/deaec/.conan/data/f2c/20240312/_/_/package/5fe82866d603c018b85802a3eeb48ce3481a00a0/lib' [-Wunused-command-line-argument] clang: error: no such file or directory: 'CMakeFiles/test_package.dir/test_package.f.o' /bin/sh: /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/test_package_direct: No such file or directory 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 ERROR: f2c/20240312 (test package): Error in test() method, line 68 self.run(bin_path, env="conanrun") ConanException: Error 127 while executing /Users/jenkins/workspace/prod-v1/bsr/cci-7d1e170c/recipes/f2c/all/test_package/build/Debug/test_package_direct