******************************************************************************** conan test conan-center-index/recipes/binutils/all/test_package/conanfile.py binutils/2.37@#a1054dd1bfcf7b3e8b91a4064d11e5a3 -pr /home/conan/w/prod/BuildSingleReference/159115/9f6a6fcb-6c50-40a7-ba88-8ee4101a43b6/profile_linux_5_libstdcpp11_gcc_debug_64..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=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True binutils/2.37: binutils:target_arch=x86_64 binutils/2.37: binutils:target_os=Linux binutils/2.37: binutils:target_triplet=x86_64-pc-linux-gnu binutils/2.37 (test package): Installing package Requirements Packages Build requirements binutils/2.37 from local cache - Cache zlib/1.2.13 from 'conan-center' - Cache Build requirements packages binutils/2.37:3889333944e109e6dfb7f5b29d60f1653227d7cb - Cache zlib/1.2.13:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Cache Installing (downloading, building) binaries... zlib/1.2.13: Already installed! binutils/2.37: Already installed! binutils/2.37: GNU triplet=x86_64-pc-linux-gnu binutils/2.37: executable prefix=x86_64-pc-linux-gnu- binutils/2.37 (test package): Applying build-requirement: binutils/2.37 binutils/2.37 (test package): Applying build-requirement: zlib/1.2.13 binutils/2.37 (test package): Generator txt created conanbuildinfo.txt binutils/2.37 (test package): Aggregating env generators binutils/2.37 (test package): Generated conaninfo.txt binutils/2.37 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/binutils/all/test_package/build/59a35b998cbd9c94b3be7171da17873e602cd574/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 binutils/2.37 (test package): Calling build() ERROR: binutils/2.37 (test package): Error in build() method, line 49 if not os.path.isfile(self._test_package_assembly_source): while calling '_test_package_assembly_source', line 37 part_arch = self._target_arch while calling '_target_arch', line 22 return str(self.dependencies.direct_build[self.tested_reference_str].options.target_arch) AttributeError: 'NoneType' object has no attribute 'dependencies' ******************************************************************************** conan test conan-center-index/recipes/binutils/all/test_v1_package/conanfile.py binutils/2.37@#a1054dd1bfcf7b3e8b91a4064d11e5a3 -pr /home/conan/w/prod/BuildSingleReference/159115/9f6a6fcb-6c50-40a7-ba88-8ee4101a43b6/profile_linux_5_libstdcpp11_gcc_debug_64..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=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True binutils/2.37: binutils:target_arch=x86_64 binutils/2.37: binutils:target_os=Linux binutils/2.37: binutils:target_triplet=x86_64-pc-linux-gnu binutils/2.37 (test package): Installing package Requirements binutils/2.37 from local cache - Cache zlib/1.2.13 from 'conan-center' - Cache Packages binutils/2.37:3889333944e109e6dfb7f5b29d60f1653227d7cb - Cache zlib/1.2.13:b1b85bfdc2206d81b3ed6a49e78498182bb98ef3 - Cache Installing (downloading, building) binaries... zlib/1.2.13: Already installed! binutils/2.37: Already installed! binutils/2.37: GNU triplet=x86_64-pc-linux-gnu binutils/2.37: executable prefix=x86_64-pc-linux-gnu- binutils/2.37 (test package): Generator txt created conanbuildinfo.txt binutils/2.37 (test package): Aggregating env generators binutils/2.37 (test package): Generated conaninfo.txt binutils/2.37 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/binutils/all/test_v1_package/build/59a35b998cbd9c94b3be7171da17873e602cd574/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 binutils/2.37 (test package): Calling build() ----Running------ > x86_64-pc-linux-gnu-as /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/binutils/all/test_v1_package/Linux-x86_64.s -o /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/binutils/all/test_v1_package/build/59a35b998cbd9c94b3be7171da17873e602cd574/object.o ----------------- ----Running------ > x86_64-pc-linux-gnu-ld /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/binutils/all/test_v1_package/build/59a35b998cbd9c94b3be7171da17873e602cd574/object.o -o /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/binutils/all/test_v1_package/build/59a35b998cbd9c94b3be7171da17873e602cd574/bin/test_package ----------------- binutils/2.37 (test package): Running test() ----Running------ > python -m unittest conanfile.py --verbose ----------------- ----Running------ > bin/test_package ----------------- Hello, world! binutils/2.37 (test package): Found ar at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ar ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ar --version ----------------- GNU ar (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found nm at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/nm ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/nm --version ----------------- GNU nm (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found objcopy at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/objcopy ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/objcopy --version ----------------- GNU objcopy (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found objdump at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/objdump ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/objdump --version ----------------- GNU objdump (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found ranlib at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ranlib ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ranlib --version ----------------- GNU ranlib (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found readelf at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/readelf ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/readelf --version ----------------- GNU readelf (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found strip at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/strip ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/strip --version ----------------- GNU strip (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. binutils/2.37 (test package): Found as at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/as ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/as --version ----------------- GNU assembler (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `x86_64-pc-linux-gnu'. binutils/2.37 (test package): Found ld at /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ld ----Running------ > /home/conan/w/prod/BuildSingleReference/.conan/data/binutils/2.37/_/_/package/3889333944e109e6dfb7f5b29d60f1653227d7cb/bin/exec_prefix/x86_64-pc-linux-gnu/bin/ld --version ----------------- GNU ld (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. test_android_armv7 (conanfile._TestOsArch2GNUTriplet) ... ok test_android_armv8 (conanfile._TestOsArch2GNUTriplet) ... ok test_android_x86 (conanfile._TestOsArch2GNUTriplet) ... ok test_android_x86_64 (conanfile._TestOsArch2GNUTriplet) ... ok test_baremetal_armv7 (conanfile._TestOsArch2GNUTriplet) ... ok test_baremetal_armv8 (conanfile._TestOsArch2GNUTriplet) ... ok test_baremetal_riscv32 (conanfile._TestOsArch2GNUTriplet) ... ok test_baremetal_riscv64 (conanfile._TestOsArch2GNUTriplet) ... ok test_baremetal_x86 (conanfile._TestOsArch2GNUTriplet) ... ok test_baremetal_x86_64 (conanfile._TestOsArch2GNUTriplet) ... ok test_freebsd_x86_64 (conanfile._TestOsArch2GNUTriplet) ... ok test_linux_armv7 (conanfile._TestOsArch2GNUTriplet) ... ok test_linux_armv7hf (conanfile._TestOsArch2GNUTriplet) ... ok test_linux_x86 (conanfile._TestOsArch2GNUTriplet) ... ok test_linux_x86_64 (conanfile._TestOsArch2GNUTriplet) ... ok test_macos_x86_64 (conanfile._TestOsArch2GNUTriplet) ... ok test_windows_x86 (conanfile._TestOsArch2GNUTriplet) ... ok test_windows_x86_64 (conanfile._TestOsArch2GNUTriplet) ... ok ---------------------------------------------------------------------- Ran 18 tests in 0.002s OK