https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284298
epo...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |epo...@gmail.com --- Comment #6 from epo...@gmail.com --- (In reply to Mark Linimon from comment #3) Hi Siva Mahadevan & Mark Linimon Thanks your patch. I had apply and test it and got build failed as follows for reference. install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/lib/rustlib/x86_64-unknown-freebsd/bin/rust-objcopy install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/share/doc/rust/COPYRIGHT install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/share/doc/rust/LICENSE-APACHE install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/share/doc/rust/LICENSE-MIT install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/share/doc/rust/README.md install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/share/man/man1/rustc.1 install: copying file /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/share/man/man1/rustdoc.1 rustc installed. ===> Building for rust-1.86.0 Building bootstrap running: /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path /usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/src/bootstrap/Cargo.toml -Zroot-dir=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src --verbose --verbose --frozen Compiling libc v0.2.167 Compiling proc-macro2 v1.0.89 Running `CARGO=/usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/libc-0.2.167 CARGO_MANIFEST_PATH=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/libc-0.2.167/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc. ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.2.167 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=167 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps:' /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/rustc --crate-name build_script_build --edition=2021 /usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/libc-0.2.167/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=135 --crate-type bin --emit=dep-info,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=8db02bb8dabfa2bb -C extra-filename=-8815617aee9109f7 --out-dir /usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/build/libc-8815617aee9109f7 -C strip=debuginfo -L dependency=/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps --cap-lints warn -Zallow-features= -C linker=cc -Wrust_2018_idioms -Wunused_lifetimes` Running `CARGO=/usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/proc-macro2-1.0.89 CARGO_MANIFEST_PATH=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/proc-macro2-1.0.89/Cargo.toml CARGO_PKG_AUTHORS='David Tolnay <dtol...@gmail.com>:Alex Crichton <a...@alexcrichton.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple token-based libraries from the procedural macro use case.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro2' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.89 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=89 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps:' /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/rustc --crate-name build_script_build --edition=2021 /usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/proc-macro2-1.0.89/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=135 --crate-type bin --emit=dep-info,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=62220295272fafe7 -C extra-filename=-ff9f883ce77dec02 --out-dir /usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/build/proc-macro2-ff9f883ce77dec02 -C strip=debuginfo -L dependency=/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps --cap-lints warn -Zallow-features= -C linker=cc -Wrust_2018_idioms -Wunused_lifetimes` error: could not compile `proc-macro2` (build script) Caused by: process didn't exit successfully: `CARGO=/usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/proc-macro2-1.0.89 CARGO_MANIFEST_PATH=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/proc-macro2-1.0.89/Cargo.toml CARGO_PKG_AUTHORS='David Tolnay <dtol...@gmail.com>:Alex Crichton <a...@alexcrichton.com>' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple token-based libraries from the procedural macro use case.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro2' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.89 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=89 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps:' /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/rustc --crate-name build_script_build --edition=2021 /usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/proc-macro2-1.0.89/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=135 --crate-type bin --emit=dep-info,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=62220295272fafe7 -C extra-filename=-ff9f883ce77dec02 --out-dir /usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/build/proc-macro2-ff9f883ce77dec02 -C strip=debuginfo -L dependency=/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps --cap-lints warn -Zallow-features= -C linker=cc -Wrust_2018_idioms -Wunused_lifetimes` (signal: 12, SIGSYS: bad system call) warning: build failed, waiting for other jobs to finish... error: could not compile `libc` (build script) Caused by: process didn't exit successfully: `CARGO=/usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/libc-0.2.167 CARGO_MANIFEST_PATH=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/libc-0.2.167/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc. ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.2.167 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=167 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps:' /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/rustc --crate-name build_script_build --edition=2021 /usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/vendor/libc-0.2.167/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=135 --crate-type bin --emit=dep-info,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=8db02bb8dabfa2bb -C extra-filename=-8815617aee9109f7 --out-dir /usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/build/libc-8815617aee9109f7 -C strip=debuginfo -L dependency=/usr/PortsWRKDIR/usr/ports/lang/rust/work/_build/bootstrap/debug/deps --cap-lints warn -Zallow-features= -C linker=cc -Wrust_2018_idioms -Wunused_lifetimes` (signal: 12, SIGSYS: bad system call) Traceback (most recent call last): File "/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/x.py", line 53, in <module> bootstrap.main() File "/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/src/bootstrap/bootstrap.py", line 1339, in main bootstrap(args) File "/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/src/bootstrap/bootstrap.py", line 1306, in bootstrap build.build_bootstrap() File "/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/src/bootstrap/bootstrap.py", line 1010, in build_bootstrap run(args, env=env, verbose=self.verbose, cwd=self.rust_root) File "/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/src/bootstrap/bootstrap.py", line 236, in run raise RuntimeError(err) RuntimeError: failed to run: /usr/PortsWRKDIR/usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path /usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src/src/bootstrap/Cargo.toml -Zroot-dir=/usr/PortsWRKDIR/usr/ports/lang/rust/work/rustc-1.86.0-src --verbose --verbose --frozen *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/rust *** Error code 1 Stop. make: stopped in /usr/ports/lang/rust ===>>> make build failed for lang/rust ===>>> Aborting update Thanks a lot. -- You are receiving this mail because: You are on the CC list for the bug.