Advertisement
Guest User

Untitled

a guest
Mar 30th, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.20 KB | None | 0 0
  1. 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
  2. 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
  3. tar (child): Error is not recoverable: exiting now
  4. tar: Child returned status 2
  5. tar: Error is not recoverable: exiting now
  6. find: './*': No such file or directory
  7. Finished dev [unoptimized + debuginfo] target(s) in 0.19s
  8. Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
  9. Finished release [optimized] target(s) in 0.19s
  10. Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
  11. Building LLVM for x86_64-unknown-linux-gnu
  12. 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"
  13. -- The CXX compiler identification is GNU 10.2.1
  14. -- The ASM compiler identification is GNU
  15. -- Found assembler: /usr/lib64/ccache/cc
  16. -- Detecting CXX compiler ABI info
  17. -- Detecting CXX compiler ABI info - failed
  18. -- Check for working CXX compiler: /usr/lib64/ccache/c++
  19. -- Check for working CXX compiler: /usr/lib64/ccache/c++ - broken
  20. 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):
  21. The C++ compiler
  22.  
  23. "/usr/lib64/ccache/c++"
  24.  
  25. is not able to compile a simple test program.
  26.  
  27. It fails with the following output:
  28.  
  29. 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
  30.  
  31. Run Build Command(s):/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/staging_dir/hostpkg/bin/ninja cmTC_0bb19 && [1/2] Building CXX object CMakeFiles/cmTC_0bb19.dir/testCXXCompiler.cxx.o
  32. [2/2] Linking CXX executable cmTC_0bb19
  33. FAILED: cmTC_0bb19
  34. : && /usr/lib64/ccache/c++ -ffunction-sections -fdata-sections -fPIC -m64 -Wl,-Bsymbolic -static-libstdc++ CMakeFiles/cmTC_0bb19.dir/testCXXCompiler.cxx.o -o cmTC_0bb19 && :
  35. /usr/bin/ld: cannot find -lstdc++
  36. collect2: error: ld returned 1 exit status
  37. ninja: build stopped: subcommand failed.
  38.  
  39.  
  40.  
  41.  
  42.  
  43. CMake will not be able to correctly generate this project.
  44. Call Stack (most recent call first):
  45. CMakeLists.txt:57 (project)
  46.  
  47.  
  48. -- Configuring incomplete, errors occurred!
  49. 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".
  50. 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".
  51. thread 'main' panicked at '
  52. command did not execute successfully, got: exit code: 1
  53.  
  54. build script failed, must exit now', /home/ashkan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.44/src/lib.rs:885:5
  55. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  56. finished in 0.202 seconds
  57. 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
  58. Build completed unsuccessfully in 0:00:00
  59. make[3]: *** [Makefile:130: /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/.built] Error 1
  60. make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/rust'
  61. time: package/rust/host-compile#1.80#0.35#2.11
  62. ERROR: package/rust [host] failed to build.
  63. make[2]: *** [package/Makefile:112: package/rust/host/compile] Error 1
  64. make[2]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt'
  65. 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
  66. make[1]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt'
  67. make: *** [/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/include/toplevel.mk:230: world] Error 2
  68. [ashkan@localhost openwrt]$
  69.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement