Date: Sat, 20 Mar 2021 20:20:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254442] lang/rust 1.50.0 fails to build on 12.2-RELEASE Message-ID: <bug-254442-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254442 Bug ID: 254442 Summary: lang/rust 1.50.0 fails to build on 12.2-RELEASE Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: rust@FreeBSD.org Reporter: freebsd@sysctl.cz Flags: maintainer-feedback?(rust@FreeBSD.org) Assignee: rust@FreeBSD.org Hi, i have issue with compilation lang/rust Building LLVM for x86_64-unknown-freebsd running: "cmake" "/usr/ports/lang/rust/work/rustc-1.50.0-src/src/llvm-project/llvm" "-G" "Ni= nja" "-DLLVM_ENABLE_ASSERTIONS=3DOFF" "-DLLVM_TARGETS_TO_BUILD=3DAArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RI= SCV;Sparc;SystemZ;WebAssembly;X86" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=3DAVR" "-DLLVM_INCLUDE_EXAMPLES=3DOFF" "-DLLVM_INCLUDE_TESTS=3DOFF" "-DLLVM_INCLUDE_DOCS=3DOFF" "-DLLVM_INCLUDE_BENCHMARKS=3DOFF" "-DLLVM_ENABLE_TERMINFO=3DOFF" "-DLLVM_ENABLE_LIBEDIT=3DOFF" "-DLLVM_ENABLE_BINDINGS=3DOFF" "-DLLVM_ENABLE_Z3_SOLVER=3DOFF" "-DLLVM_PARALLEL_COMPILE_JOBS=3D8" "-DLLVM_TARGET_ARCH=3Dx86_64" "-DLLVM_DEFAULT_TARGET_TRIPLE=3Dx86_64-unknown-freebsd" "-DLLVM_ENABLE_ZLIB= =3DON" "-DLLVM_ENABLE_LIBXML2=3DOFF" "-DLLVM_VERSION_SUFFIX=3D-rust-1.50.0-stable" "-DCMAKE_INSTALL_MESSAGE=3DLAZY" "-DCMAKE_C_COMPILER=3Dclang" "-DCMAKE_CXX_COMPILER=3Dclang++" "-DCMAKE_ASM_COMPILER=3Dclang" "-DCMAKE_C_FLAGS=3D-ffunction-sections -fdata-sections -fPIC --target=3Dx86_64-unknown-freebsd -pipe -fstack-protector-strong -fno-strict-aliasing" "-DCMAKE_CXX_FLAGS=3D-ffunction-sections -fdata-secti= ons -fPIC --target=3Dx86_64-unknown-freebsd -pipe -fstack-protector-strong -fno-strict-aliasing" "-DCMAKE_INSTALL_PREFIX=3D/usr/ports/lang/rust/work/rustc-1.50.0-src/build/= x86_64-unknown-freebsd/llvm" "-DCMAKE_ASM_FLAGS=3D -ffunction-sections -fdata-sections -fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing" "-DCMAKE_BUILD_TYPE=3DReleas= e" -- The CXX compiler identification is Clang 10.0.1 -- The ASM compiler identification is Clang -- Found assembler: /usr/bin/clang -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ - broken CMake Error at /usr/local/share/cmake/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: /usr/ports/lang/rust/work/rustc-1.50.0-src/build/x86_64-unknown-freebsd/llv= m/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/local/bin/ninja cmTC_fa9d4 && [1/2] Building = CXX object CMakeFiles/cmTC_fa9d4.dir/testCXXCompiler.cxx.o [2/2] Linking CXX executable cmTC_fa9d4 FAILED: cmTC_fa9d4=20 : && /usr/bin/clang++ -ffunction-sections -fdata-sections -fPIC --target=3Dx86_64-unknown-freebsd -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong CMakeFiles/cmTC_fa9d4.dir/testCXXCompiler.cxx.o -o cmTC_fa9d4 && : ld: error: unable to find library -lstdc++ clang++: error: linker command failed with exit code 1 (use -v to see invocation) 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 "/usr/ports/lang/rust/work/rustc-1.50.0-src/build/x86_64-unknown-freebsd/ll= vm/build/CMakeFiles/CMakeOutput.log". See also "/usr/ports/lang/rust/work/rustc-1.50.0-src/build/x86_64-unknown-freebsd/ll= vm/build/CMakeFiles/CMakeError.log". thread 'main' panicked at ' command did not execute successfully, got: exit code: 1 build script failed, must exit now', /usr/ports/lang/rust/work/rustc-1.50.0-src/vendor/cmake/src/lib.rs:885:5 stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=3Dfull` for a verb= ose backtrace. finished in 0.287 seconds Traceback (most recent call last): File "x.py", line 11, in <module> bootstrap.main() File "/usr/ports/lang/rust/work/rustc-1.50.0-src/src/bootstrap/bootstrap.= py", line 1094, in main bootstrap(help_triggered) File "/usr/ports/lang/rust/work/rustc-1.50.0-src/src/bootstrap/bootstrap.= py", line 1080, in bootstrap run(args, env=3Denv, verbose=3Dbuild.verbose) File "/usr/ports/lang/rust/work/rustc-1.50.0-src/src/bootstrap/bootstrap.= py", line 153, in run raise RuntimeError(err) RuntimeError: failed to run: /usr/ports/lang/rust/work/rustc-1.50.0-src/build/bootstrap/debug/bootstrap build --jobs=3D8 *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254442-7788>