From owner-freebsd-ports-bugs@freebsd.org Sat Mar 20 20:20:27 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 355835B34A6 for ; Sat, 20 Mar 2021 20:20:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2sZg0rZbz3CHM for ; Sat, 20 Mar 2021 20:20:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B1A95B305C; Sat, 20 Mar 2021 20:20:27 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AE0E5B32BB for ; Sat, 20 Mar 2021 20:20:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F2sZg0C2jz3Cdr for ; Sat, 20 Mar 2021 20:20:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E9EBC5EBB for ; Sat, 20 Mar 2021 20:20:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12KKKQbc019565 for ; Sat, 20 Mar 2021 20:20:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12KKKQcX019564 for ports-bugs@FreeBSD.org; Sat, 20 Mar 2021 20:20:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Sat, 20 Mar 2021 20:20:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@sysctl.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2021 20:20:27 -0000 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 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.=