Summary: | Release generation targets are broken after r336526 | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Roger Pau Monné <royger> | ||||
Component: | misc | Assignee: | Roger Pau Monné <royger> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | ian | ||||
Priority: | --- | Keywords: | patch, regression | ||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Roger Pau Monné
2018-08-08 15:58:43 UTC
Created attachment 196009 [details]
add DB_FROM_SRC when building mergemaster temproot for release
Give this patch a try. I doubt it's sufficient, but it may move things along to find the next similar glitch.
I had a feeling trying to automatically add DB_FROM_SRC in Makefile.inc1 wasn't going to be sufficient. I suspect this change isn't sufficient either, there will likely be other places in the release building process that need this flag added.
I wonder how this ever worked in the past. It's only been a couple years since we last added a new user (I think unbound was the last one).
(In reply to Ian Lepore from comment #1) Thanks! I've expanded your patch and now it seems to WFM. I've created a review at: https://reviews.freebsd.org/D16638 A commit references this bug: Author: royger Date: Fri Aug 17 07:27:16 UTC 2018 New revision: 337960 URL: https://svnweb.freebsd.org/changeset/base/337960 Log: build: skip the database check when generating install media There are several scripts and targets solely used to generate install media, make sure DB_FROM_SRC is used in that case in order to prevent checking the host database, which is irrelevant when generating install binaries. Sponsored by: Citrix Systems R&D PR: 230459 Reviewed by: gjb Differential revision: https://reviews.freebsd.org/D16638 Changes: head/Makefile.inc1 head/release/Makefile head/release/scripts/mm-mtree.sh |