Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 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
- tar (child): Error is not recoverable: exiting now
- tar: Child returned status 2
- tar: Error is not recoverable: exiting now
- find: './*': No such file or directory
- Finished dev [unoptimized + debuginfo] target(s) in 0.19s
- Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
- Finished release [optimized] target(s) in 0.19s
- Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
- Building LLVM for x86_64-unknown-linux-gnu
- 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"
- -- The CXX compiler identification is GNU 10.2.1
- -- The ASM compiler identification is GNU
- -- Found assembler: /usr/lib64/ccache/cc
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - failed
- -- Check for working CXX compiler: /usr/lib64/ccache/c++
- -- Check for working CXX compiler: /usr/lib64/ccache/c++ - broken
- 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):
- The C++ compiler
- "/usr/lib64/ccache/c++"
- is not able to compile a simple test program.
- It fails with the following output:
- 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
- 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
- [2/2] Linking CXX executable cmTC_0bb19
- FAILED: cmTC_0bb19
- : && /usr/lib64/ccache/c++ -ffunction-sections -fdata-sections -fPIC -m64 -Wl,-Bsymbolic -static-libstdc++ CMakeFiles/cmTC_0bb19.dir/testCXXCompiler.cxx.o -o cmTC_0bb19 && :
- /usr/bin/ld: cannot find -lstdc++
- collect2: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
- CMake will not be able to correctly generate this project.
- Call Stack (most recent call first):
- CMakeLists.txt:57 (project)
- -- Configuring incomplete, errors occurred!
- 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".
- 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".
- thread 'main' panicked at '
- command did not execute successfully, got: exit code: 1
- build script failed, must exit now', /home/ashkan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.44/src/lib.rs:885:5
- note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
- finished in 0.202 seconds
- 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
- Build completed unsuccessfully in 0:00:00
- make[3]: *** [Makefile:130: /run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/build_dir/hostpkg/rust-1.50.0/.built] Error 1
- make[3]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/package/rust'
- time: package/rust/host-compile#1.80#0.35#2.11
- ERROR: package/rust [host] failed to build.
- make[2]: *** [package/Makefile:112: package/rust/host/compile] Error 1
- make[2]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt'
- 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
- make[1]: Leaving directory '/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt'
- make: *** [/run/media/ashkan/4fc2de3a-b5af-4536-a60d-d8f999e830f3/openwrt/openwrt/include/toplevel.mk:230: world] Error 2
- [ashkan@localhost openwrt]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement