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)
Sat, Jul 5, 7:42 PM
Unknown Object (File)
Fri, Jul 4, 4:54 PM
Unknown Object (File)
Tue, Jul 1, 7:04 PM
Unknown Object (File)
Tue, Jul 1, 11:18 AM
Unknown Object (File)
Tue, Jul 1, 11:18 AM
Unknown Object (File)
Tue, Jul 1, 11:18 AM
Unknown Object (File)
Tue, Jul 1, 11:18 AM
Unknown Object (File)
Tue, Jul 1, 11:18 AM
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