Bug 294129 - /usr/share/atf/libatf-sh.subr missing in pkg-base install
Summary: /usr/share/atf/libatf-sh.subr missing in pkg-base install
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: 16.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Dag-Erling Smørgrav
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-30 03:23 UTC by Daniel O'Connor
Modified: 2026-04-11 19:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel O'Connor 2026-03-30 03:23:53 UTC
I setup a pkg-base VM created from FreeBSD-16.0-CURRENT-amd64-20260316-e6083790f217-284522-disc1.iso and I can't run ATF tests because /usr/share/atf/libatf-sh.subr is missing.

I copied it from another machine and it works but presumably it should be part of the FreeBSD-atf package.
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-03-30 14:05:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=0a6dbf51d8ea112a1d164be260004ec795b4368d

commit 0a6dbf51d8ea112a1d164be260004ec795b4368d
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-03-30 14:03:03 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-03-30 14:03:29 +0000

    pkgbase: Move all of ATF into the atf package

    Parts of ATF (including the licence and some of the documentation) were
    for some reason part of the tests package instead of the atf package.
    Moving them to where they logically belong poses no problem since tests
    already depends on atf.

    PR:             294129
    MFC after:      1 week
    Reviewed by:    ivy
    Differential Revision:  https://reviews.freebsd.org/D56158

 etc/mtree/BSD.usr.dist      |  4 ++--
 libexec/atf/atf-sh/Makefile |  1 -
 share/doc/atf/Makefile      | 12 ++++++------
 share/man/man1/Makefile     | 10 +++++-----
 share/man/man4/Makefile     | 10 +++++-----
 5 files changed, 18 insertions(+), 19 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-03-30 14:05:19 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=40e8afadc393a102f4199228ae2047d3e6c71251

commit 40e8afadc393a102f4199228ae2047d3e6c71251
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-03-30 14:03:18 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-03-30 14:03:29 +0000

    pkgbase: Move all of Kyua into the kyua package

    Some Kyua directories were improperly tagged as belonging to the tests
    package.  Move them to the kyua package, which contains all of the
    files found in these directories.

    PR:             294129
    MFC after:      1 week
    Reviewed by:    ivy, emaste
    Differential Revision:  https://reviews.freebsd.org/D56159

 etc/mtree/BSD.root.dist |  2 +-
 etc/mtree/BSD.usr.dist  | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-04-07 15:52:56 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=4f13c347fb31e9d463dd194d0d21115f2318a8d2

commit 4f13c347fb31e9d463dd194d0d21115f2318a8d2
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-03-30 14:03:03 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-04-07 15:52:08 +0000

    pkgbase: Move all of ATF into the atf package

    Parts of ATF (including the licence and some of the documentation) were
    for some reason part of the tests package instead of the atf package.
    Moving them to where they logically belong poses no problem since tests
    already depends on atf.

    PR:             294129
    MFC after:      1 week
    Reviewed by:    ivy
    Differential Revision:  https://reviews.freebsd.org/D56158

    (cherry picked from commit 0a6dbf51d8ea112a1d164be260004ec795b4368d)

 etc/mtree/BSD.usr.dist      |  4 ++--
 libexec/atf/atf-sh/Makefile |  1 -
 share/doc/atf/Makefile      | 12 ++++++------
 share/man/man1/Makefile     | 10 +++++-----
 share/man/man4/Makefile     | 10 +++++-----
 5 files changed, 18 insertions(+), 19 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-04-07 15:52:58 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb3538f6e634f067906a8dc937994fd8f091f905

commit fb3538f6e634f067906a8dc937994fd8f091f905
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-03-30 14:03:18 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-04-07 15:52:09 +0000

    pkgbase: Move all of Kyua into the kyua package

    Some Kyua directories were improperly tagged as belonging to the tests
    package.  Move them to the kyua package, which contains all of the
    files found in these directories.

    PR:             294129
    MFC after:      1 week
    Reviewed by:    ivy, emaste
    Differential Revision:  https://reviews.freebsd.org/D56159

    (cherry picked from commit 40e8afadc393a102f4199228ae2047d3e6c71251)

 etc/mtree/BSD.root.dist |  2 +-
 etc/mtree/BSD.usr.dist  | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)