[Bug 293672] sysutils/coreutils: fails to build after (presumably) base 28599a1e5f1b

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Mar 2026 16:35:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293672

            Bug ID: 293672
           Summary: sysutils/coreutils: fails to build after (presumably)
                    base 28599a1e5f1b
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: 2khramtsov@gmail.com
                CC: kib@FreeBSD.org

base 28599a1e5f1b ("sys: add renameat2(2) syscall") was introduced without
bumping __FreeBSD_version thus packages do not get a rebuild in e.g. poudriere
to expose failing ports.

sysutils/coreutils apparently checks for renameat2 and expects RENAME_EXCHANGE
from Linux to be supported.

[...]
--- src/copy.o ---
src/copy.c:2154:51: error: use of undeclared identifier 'RENAME_EXCHANGE'
 2154 |                                     x->exchange ? RENAME_EXCHANGE : 0)
      |                                                   ^~~~~~~~~~~~~~~
[...]

I didn't check further due to lack of time, however building poudriere jail
prior to renameat2(2) introduction in base makes sysutils/coreutils to build
again in poudriere.

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