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)
Sun, Jun 21, 2:19 AM
Unknown Object (File)
Fri, Jun 19, 4:26 AM
Unknown Object (File)
Sat, Jun 6, 3:13 AM
Unknown Object (File)
Thu, Jun 4, 8:58 PM
Unknown Object (File)
Thu, Jun 4, 5:06 AM
Unknown Object (File)
May 14 2026, 6:14 AM
Unknown Object (File)
May 14 2026, 2:52 AM
Unknown Object (File)
May 11 2026, 3:48 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