pkg_comp icon indicating copy to clipboard operation
pkg_comp copied to clipboard

seriously incomplete builds with recent pkgsrc

Open schmonz opened this issue 4 years ago • 0 comments

Once a week or so, I run pkg_comp targeting my NetBSD server. SANDBOX_TYPE=netbsd-release, no X sets.

As of this pkgsrc/mk commit, my builds became incomplete, missing 100+ of the usual packages. (pkg_comp reported no errors, so I only noticed the problem after attempting to update my system with the new package set.) The log showed pbulk starting at [113/496] instead of the expected [1/496].

Based on the above commit, I tried adding an explicit X11_TYPE=modular in extra.mk.conf. Indeed, this restored me to complete builds.

Possibly a second causal factor here is that freefonts (one of the packages in my list) grew dependencies on encodings and mkfontscale since my last full build two weeks ago, perhaps forcing the X11 issue. Guessing this isn't particular to freefonts but more generally to do with font handling in pkgsrc.

In the condition where pbulk skips trying to build some packages, would it be possible for pkg_comp to error out -- ideally right away?

Is there a helpful-but-not-too-clever way that pkg_comp could auto-generate the needed X11_TYPE setting? Or should users perhaps be required to explicitly set it?

schmonz avatar Jul 28 '21 13:07 schmonz