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
Unknown Object (File)
Sep 9 2025, 11:24 PM
Unknown Object (File)
Sep 7 2025, 1:30 PM
Unknown Object (File)
Sep 2 2025, 7:39 AM
Unknown Object (File)
Aug 22 2025, 4:23 PM
Unknown Object (File)
Aug 18 2025, 5:11 PM
Unknown Object (File)
Aug 1 2025, 4:18 PM
Unknown Object (File)
Jul 27 2025, 4:44 PM
Unknown Object (File)
Jul 21 2025, 4:22 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