tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pbulk: don't break on unresolvable dependencies



> Date: Fri, 3 Jan 2025 11:56:14 +0100
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> 
> I've modified pbulk so that by default, when it finds an unresolvable
> dependency, it marks the package depending on the unresolvable
> dependency as broken (by setting PKG_FAIL_REASON). These broken
> packages are then visible e.g. in the HTML report as
> 
>   local/py-xdist311 py313-xdist311-0.0.2        pkgsrc-users%NetBSD.org@localhost prefailed
>                    could not resolve dependency cwrappers>=20150314

This looks great!

> I did some local testing using a limited bulk build and a "full" bulk
> build where I only allowed a couple packages by restricting SUBDIRS,
> but I'd appreciate if other people could also test it.

Sure would be nice if someone set up an automatic test rig for pbulk
that could test things like this!

> - remove ignore_missing_dependencies config setting because it's now
>   unnecessary

Maybe we should make pbulk fail noisily, or at least warn noisily, if
you set ignore_missing_dependencies, now that nothing uses it?


Home | Main Index | Thread Index | Old Index