Advertisement
Guest User

Untitled

a guest
Mar 30th, 2021
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.30 KB | None | 0 0
  1. SHELL= flock /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/tmp/.expat-2.2.10.tar.xz.flock -c ' /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/scripts/download.pl "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl" "expat-2.2.10.tar.xz" "5dfe538f8b5b63f03e98edac520d7d9a6a4d22e482e5c96d4d06fcc5485c25f2" "" "@SF/expat" '
  2. make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/feeds/packages/libs/expat'
  3. time: package/feeds/packages/expat/host-compile#0.28#0.20#0.44
  4. make[3]: Entering directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/feeds/packages/libs/libffi'
  5. mkdir -p /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl
  6. SHELL= flock /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/tmp/.libffi-3.3.tar.gz.flock -c ' /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/scripts/download.pl "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl" "libffi-3.3.tar.gz" "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056" "" "https://sourceware.org/pub/libffi/" '
  7. make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/feeds/packages/libs/libffi'
  8. time: package/feeds/packages/libffi/host-compile#0.27#0.17#0.40
  9. make[3]: Entering directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/utils/bzip2'
  10. mkdir -p /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl
  11. SHELL= flock /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/tmp/.bzip2-1.0.8.tar.gz.flock -c ' /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/scripts/download.pl "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl" "bzip2-1.0.8.tar.gz" "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" "" "https://sourceware.org/pub/bzip2" '
  12. make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/utils/bzip2'
  13. time: package/utils/bzip2/host-compile#0.36#0.21#0.52
  14. make[3]: Entering directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/feeds/packages/lang/python/python3'
  15. mkdir -p /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl
  16. SHELL= flock /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/tmp/.Python-3.9.2.tar.xz.flock -c ' /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/scripts/download.pl "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl" "Python-3.9.2.tar.xz" "3c2034c54f811448f516668dce09d24008a0716c3a794dd8639b5388cbde247d" "" "https://www.python.org/ftp/python/3.9.2" '
  17. make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/feeds/packages/lang/python/python3'
  18. time: package/feeds/packages/python3/host-compile#0.41#0.21#0.53
  19. make[3]: Entering directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/rust'
  20. cd /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0 && [ false ] && ( /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/rust/install_binaries.sh /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/tmp/rust-install /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl/rust-1.50.0-x86_64-unknown-linux-gnu-install.tar.xz /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/staging_dir/hostpkg && python x.py --config ./config.toml dist std ) || python x.py --config ./config.toml dist cargo extended library/std llvm-tools miri
  21. tar (child): /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/dl/rust-1.50.0-x86_64-unknown-linux-gnu-install.tar.xz: Cannot open: No such file or directory
  22. tar (child): Error is not recoverable: exiting now
  23. tar: Child returned status 2
  24. tar: Error is not recoverable: exiting now
  25. find: './*': No such file or directory
  26. Finished dev [unoptimized + debuginfo] target(s) in 0.22s
  27. Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
  28. Finished release [optimized] target(s) in 0.31s
  29. Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
  30. Building LLVM for x86_64-unknown-linux-gnu
  31. running: "cmake" "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/src/llvm-project/llvm" "-G" "Ninja" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_TARGETS_TO_BUILD=AArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_INCLUDE_BENCHMARKS=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_ENABLE_BINDINGS=OFF" "-DLLVM_ENABLE_Z3_SOLVER=OFF" "-DLLVM_PARALLEL_COMPILE_JOBS=6" "-DLLVM_TARGET_ARCH=x86_64" "-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu" "-DLLVM_ENABLE_ZLIB=ON" "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Bsymbolic -static-libstdc++" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_VERSION_SUFFIX=-rust-1.50.0-nightly" "-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER_LAUNCHER=ccache" "-DCMAKE_CXX_COMPILER_LAUNCHER=ccache" "-DCMAKE_C_COMPILER=cc" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_COMPILER=cc" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_INSTALL_PREFIX=/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/build/x86_64-unknown-linux-gnu/llvm" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_BUILD_TYPE=Release"
  32. -- The CXX compiler identification is GNU 10.2.1
  33. -- The ASM compiler identification is GNU
  34. -- Found assembler: /usr/lib64/ccache/cc
  35. -- Detecting CXX compiler ABI info
  36. -- Detecting CXX compiler ABI info - failed
  37. -- Check for working CXX compiler: /usr/lib64/ccache/c++
  38. -- Check for working CXX compiler: /usr/lib64/ccache/c++ - broken
  39. CMake Error at /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/staging_dir/host/share/cmake-3.19/Modules/CMakeTestCXXCompiler.cmake:59 (message):
  40. The C++ compiler
  41.  
  42. "/usr/lib64/ccache/c++"
  43.  
  44. is not able to compile a simple test program.
  45.  
  46. It fails with the following output:
  47.  
  48. Change Dir: /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/build/x86_64-unknown-linux-gnu/llvm/build/CMakeFiles/CMakeTmp
  49.  
  50. Run Build Command(s):/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/staging_dir/hostpkg/bin/ninja cmTC_d9e2f && [1/2] Building CXX object CMakeFiles/cmTC_d9e2f.dir/testCXXCompiler.cxx.o
  51. [2/2] Linking CXX executable cmTC_d9e2f
  52. FAILED: cmTC_d9e2f
  53. : && /usr/lib64/ccache/c++ -ffunction-sections -fdata-sections -fPIC -m64 -Wl,-Bsymbolic -static-libstdc++ CMakeFiles/cmTC_d9e2f.dir/testCXXCompiler.cxx.o -o cmTC_d9e2f && :
  54. /usr/bin/ld: cannot find -lstdc++
  55. collect2: error: ld returned 1 exit status
  56. ninja: build stopped: subcommand failed.
  57.  
  58.  
  59.  
  60.  
  61.  
  62. CMake will not be able to correctly generate this project.
  63. Call Stack (most recent call first):
  64. CMakeLists.txt:57 (project)
  65.  
  66.  
  67. -- Configuring incomplete, errors occurred!
  68. See also "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/build/x86_64-unknown-linux-gnu/llvm/build/CMakeFiles/CMakeOutput.log".
  69. See also "/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/build/x86_64-unknown-linux-gnu/llvm/build/CMakeFiles/CMakeError.log".
  70. thread 'main' panicked at '
  71. command did not execute successfully, got: exit code: 1
  72.  
  73. build script failed, must exit now', /home/ashkan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.44/src/lib.rs:885:5
  74. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  75. finished in 0.209 seconds
  76. failed to run: /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/build/bootstrap/debug/bootstrap --config ./config.toml dist cargo extended library/std llvm-tools miri
  77. Build completed unsuccessfully in 0:00:01
  78. make[3]: *** [Makefile:133: /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/.built] Error 1
  79. make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/rust'
  80. time: package/rust/host-compile#1.95#0.43#2.35
  81. ERROR: package/rust [host] failed to build.
  82. make[2]: *** [package/Makefile:112: package/rust/host/compile] Error 1
  83. make[2]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt'
  84. make[1]: *** [package/Makefile:108: /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
  85. make[1]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt'
  86. make: *** [/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/include/toplevel.mk:230: world] Error 2
  87.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement