Bug 294724 - pkgbase ${SRC}/release/packages/generate-ucl.lua cannot open file ${SRC}/release/packages/ucl/pkgconf-all.ucl
Summary: pkgbase ${SRC}/release/packages/generate-ucl.lua cannot open file ${SRC}/rele...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkgbase (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-23 11:58 UTC by Alastair Hogge
Modified: 2026-04-26 06:04 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2026-04-23 11:58:53 UTC
On a 16-CURRENT-33424fd50ee0 host, running ${SRC}/release/release.sh results in the following:
> /usr/src/release/packages/generate-ucl.lua: fail to parse(/usr/src/release/packages/template.ucl): cannot open file /usr/src/release/packages/ucl/pkgconf-all.ucl: No such file or directory
> *** [create-world-package-pkgconf-dbg-lib32] Error code 1
Comment 1 Lexi Winter freebsd_committer freebsd_triage 2026-04-23 12:28:24 UTC
this was broken by b8352da33f343 and should be fixed by D56589.
Comment 2 Alastair Hogge 2026-04-23 12:54:28 UTC
(In reply to Lexi Winter from comment #1)

Awesome. Testing now.
Comment 3 Alastair Hogge 2026-04-23 13:52:22 UTC
review D56589 fixes this bug.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-04-24 01:33:48 UTC
A commit in branch main references this bug:

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

commit c875afcbcdf70e61826f3461aa77008f9f08ae75
Author:     Pierre Pronchery <khorben@FreeBSD.org>
AuthorDate: 2026-04-22 20:59:55 +0000
Commit:     Pierre Pronchery <khorben@FreeBSD.org>
CommitDate: 2026-04-24 01:13:50 +0000

    packages: Register pkgconf

    This should fix the creation of the new packages introduced by the
    import of pkgconf into the base system.

    Fixes:          b8352da33f34 ("pkgconf: import into the base system")
    PR:             294724
    Reviewed by:    ivy, ngie
    Approved by:    ngie
    Sponsored by:   The FreeBSD Foundation
    Differential revision:  https://reviews.freebsd.org/D56589

 release/packages/ucl/pkgconf-all.ucl (new) | 38 ++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
Comment 5 Alastair Hogge 2026-04-25 04:03:56 UTC
Thanks.
Comment 6 Alastair Hogge 2026-04-26 03:31:05 UTC
Fix has been reverted: e0b74e7b17393988120d86e20e91bd38f03c93ad
Comment 7 Lexi Winter freebsd_committer freebsd_triage 2026-04-26 03:59:45 UTC
no, the fix is still there: https://cgit.freebsd.org/src/tree/packages/pkgconf/pkgconf.ucl

e0b74e7b17393988120d86e20e91bd38f03c93ad reverted a rebase/merge error that created a file that shouldn't exist post-D56087.

the history might look confusing as the files are now part of bb75b0d581f74e22a68d7868ad1f5da1146a8de0 (D56087), which i landed the day after.

are you still seeing the error when building with latest main?
Comment 8 Alastair Hogge 2026-04-26 04:26:42 UTC
(In reply to Lexi Winter from comment #7)

Will sync and test, cheers.
Comment 9 Alastair Hogge 2026-04-26 06:04:42 UTC
Sync'ed with 1f72d525fc7d26c1c605b50519b9da1c78fec437, and problem is still resolved.