******************************************************************************** conan install lzma_sdk/9.20@#b46e55404642a93cbecff435d939f530 --build=lzma_sdk -pr:h /Users/jenkins/w/prod/BuildSingleReference@2/240084/19a4105d-67ec-4c7c-835f-d078fd1d8bbf/profile_osx_130_libcpp_apple-clang_release_armv8..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/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -pr:b /Users/jenkins/w/prod/BuildSingleReference@2/240084/19a4105d-67ec-4c7c-835f-d078fd1d8bbf/profile_osx_130_libcpp_apple-clang_release_64..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/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod/BuildSingleReference@2/.conan/profiles/default) Found apple-clang 13.0 apple-clang>=13, using the major as version Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=13 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration (profile_host): [settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] [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 Configuration (profile_build): [settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] [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 lzma_sdk/9.20: Forced build from source Installing package: lzma_sdk/9.20 Requirements lzma_sdk/9.20 from local cache - Cache Packages lzma_sdk/9.20:a5ad5696abf650a25eea8f377806b3d5fe234e6e - Build Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK lzma_sdk/9.20: Configuring sources in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/lzma_sdk/9.20/_/_/source/src lzma_sdk/9.20: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK lzma_sdk/9.20: Copying sources to build folder lzma_sdk/9.20: Building your package in /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/lzma_sdk/9.20/_/_/build/a5ad5696abf650a25eea8f377806b3d5fe234e6e lzma_sdk/9.20: Generator txt created conanbuildinfo.txt lzma_sdk/9.20: Calling generate() lzma_sdk/9.20: Aggregating env generators [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 lzma_sdk/9.20: Calling build() ----Running------ > . "/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/lzma_sdk/9.20/_/_/build/a5ad5696abf650a25eea8f377806b3d5fe234e6e/build-release/conan/conanbuild.sh" && make -f makefile.gcc -j4 ----------------- g++ -fpermissive -c -O2 -Wall 7zMain.c g++ -fpermissive -c -O2 -Wall ../../7zAlloc.c g++ -fpermissive -c -O2 -Wall ../../7zBuf.c g++ -fpermissive -c -O2 -Wall ../../7zBuf2.c g++ -fpermissive -c -O2 -Wall ../../7zCrc.c g++ -fpermissive -c -O2 -Wall ../../7zCrcOpt.c g++ -fpermissive -c -O2 -Wall -D_7ZIP_PPMD_SUPPPORT ../../7zDec.c g++ -fpermissive -c -O2 -Wall ../../7zIn.c g++ -fpermissive -c -O2 -Wall ../../CpuArch.c g++ -fpermissive -c -O2 -Wall ../../LzmaDec.c g++ -fpermissive -c -O2 -Wall ../../Lzma2Dec.c g++ -fpermissive -c -O2 -Wall ../../Bra.c g++ -fpermissive -c -O2 -Wall ../../Bra86.c g++ -fpermissive -c -O2 -Wall ../../Bcj2.c g++ -fpermissive -c -O2 -Wall ../../Ppmd7.c g++ -fpermissive -c -O2 -Wall ../../Ppmd7Dec.c g++ -fpermissive -c -O2 -Wall ../../7zFile.c g++ -fpermissive -c -O2 -Wall ../../7zStream.c g++ -o 7zDec -isysroot /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -arch arm64 7zMain.o 7zAlloc.o 7zBuf.o 7zBuf2.o 7zCrc.o 7zCrcOpt.o 7zDec.o 7zIn.o CpuArch.o LzmaDec.o Lzma2Dec.o Bra.o Bra86.o Bcj2.o Ppmd7.o Ppmd7Dec.o 7zFile.o 7zStream.o lzma_sdk/9.20: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] ../../7zAlloc.c:23:5: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] p = p; ~ ^ ~ ../../7zAlloc.c:35:5: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] p = p; ~ ^ ~ ../../7zAlloc.c:48:5: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] p = p; ~ ^ ~ ../../7zAlloc.c:63:5: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] p = p; ~ ^ ~ 7zMain.c:129:12: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] fileMode = fileMode; ~~~~~~~~ ^ ~~~~~~~~ 7zMain.c:309:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("incorrect command"); ^ 7zMain.c:321:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("can not open input file"); ^ 7zMain.c:345:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("incorrect command"); ^ 7zMain.c:456:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("can not open output file"); ^ 4 warnings generated7zMain.c:463:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("can not write output file"); ^ 7zMain.c:469:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("can not close output file"); ^ . 7zMain.c:493:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("decoder doesn't support this archive"); ^ 7zMain.c:495:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("can not allocate memory"); ^ 7zMain.c:497:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PrintError("CRC error"); ^ clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] 10 warnings generated. clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] ld: warning: ignoring file 7zAlloc.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file 7zBuf.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file 7zBuf2.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file 7zMain.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file 7zCrc.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file 7zDec.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file 7zCrcOpt.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file LzmaDec.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file Lzma2Dec.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ld: warning: ignoring file Bra.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64ld: warning: ignoring file Bra86.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ignoring file 7zIn.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64ld: warning: ignoring file CpuArch.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file Bcj2.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file Ppmd7.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ld: warning: ignoring file 7zStream.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ignoring file 7zFile.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 ld: warning: ignoring file Ppmd7Dec.o, building for macOS-arm64 but attempting to link with file built for unknown-x86_64 Undefined symbols for architecture arm64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [7zDec] Error 1 lzma_sdk/9.20: ERROR: Package 'a5ad5696abf650a25eea8f377806b3d5fe234e6e' build failed lzma_sdk/9.20: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/lzma_sdk/9.20/_/_/build/a5ad5696abf650a25eea8f377806b3d5fe234e6e/build-release ERROR: lzma_sdk/9.20: Error in build() method, line 136 self._build_autotools() while calling '_build_autotools', line 106 autotools.make(args=args) ConanException: Error 2 while executing make -f makefile.gcc -j4