[Bug 270271] lang/rust: Applying extra patch no-hardlinks/patch-src_bootstrap_native.rs with rust-1.68.0 fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Mar 2023 16:08:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270271

            Bug ID: 270271
           Summary: lang/rust: Applying extra patch
                    no-hardlinks/patch-src_bootstrap_native.rs with
                    rust-1.68.0 fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: fabian@wenks.ch
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)

===>   rust-1.68.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rust-1.68.0 for building
===>  Extracting for rust-1.68.0
=> SHA256 Checksum OK for rust/rustc-1.68.0-src.tar.xz.
=> SHA256 Checksum OK for
rust/2023-02-09/rustc-1.67.1-x86_64-unknown-freebsd.tar.xz.
=> SHA256 Checksum OK for
rust/2023-02-09/rust-std-1.67.1-x86_64-unknown-freebsd.tar.xz.
=> SHA256 Checksum OK for
rust/2023-02-09/cargo-1.67.1-x86_64-unknown-freebsd.tar.xz.
===>  Patching for rust-1.68.0
===>  Applying extra patch patches for rust-1.68.0 from
/usr/ports/lang/rust/files/no-hardlinks
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to src/bootstrap/native.rs.rej
===>  FAILED Applying extra patch patch-src_bootstrap_native.rs
===> Cleanly applied extra patch patch(es)  patch-src_bootstrap_lib.rs
===> FAILED to apply cleanly extra patch patch(es) 
patch-src_bootstrap_native.rs
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/rust
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20230316-74194-mz0wwh env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=rust-1.67.1
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! lang/rust (rust-1.67.1)       (patch error)


After I have removed
/usr/ports/lang/rust/files/no-hardlinks/patch-src_bootstrap_native.rs all
patches applied. Building Port is currently running.

-- 
You are receiving this mail because:
You are the assignee for the bug.