Page MenuHomeFreeBSD

tools/build: Disable copying file flags during toolchain bootstrapping
Needs ReviewPublic

Authored by hrs on Jun 12 2025, 8:39 PM.
Tags
None
Referenced Files
F140661318: D50822.id156938.diff
Fri, Dec 26, 1:50 PM
Unknown Object (File)
Tue, Dec 23, 10:49 PM
Unknown Object (File)
Tue, Dec 23, 12:21 AM
Unknown Object (File)
Nov 26 2025, 4:39 PM
Unknown Object (File)
Nov 20 2025, 4:54 PM
Unknown Object (File)
Nov 3 2025, 10:15 PM
Unknown Object (File)
Oct 31 2025, 3:28 AM
Unknown Object (File)
Oct 29 2025, 10:26 PM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Some files in the build tools use file flags not supported on non-UFS/ZFS file systems, such as NFS, and a buildworld fails at the bootstrap stage due to them like the following. This patch should fix this problem.

  • host-symlinks ---

Linking host tools into /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin
cp: chflags: /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin/bzip2: Operation not supported

  • [host-symlinks] Error code 1
  • _bootstrap-tools-link-lex ---

cp: chflags: /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin/lex: Operation not supported

  • [_bootstrap-tools-link-lex] Error code 1

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 64829
Build 61712: arc lint + arc unit