tech-pkg archive

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

Re: Cyclic dependency on NetBSD



Thus wrote Thomas Mueller (mueller6725%twc.com@localhost):

> > Hello,
> > on the NetBSD build guests (running 8.0_STABLE/i386 or 9.0_STABLE/amd64),
> > the pbulk build fails to start with:
> > Cyclic dependency for package:
> > cwrappers-20180325
> > pkg_install-20201218
> > cwrappers-20180325
>  
> > Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> 
> What happens if you first build and install cwrappers, or cwrappers and pkg_install, with USE_CWRAPPERS=no (on command line or would it be in /etc/mk.conf?)?

Same issue, with both pkg_install-20201218 and cwrappers-20180325 binary
packages being present in the local packages path.

Same issue with
# /usr/sbin/pkg_admin -V
20201218

Same issue, trying to install pkg_install-20201218.tgz before starting
the build (the first thing pbulk does is clean out all installed packages).

Not only that it should work without hacks, it's actively resisting
obvious hacks.

I suspect the error is that pbulk looks at the dependency graph,
finds a cycle and gives up. pkg_install-20201218 is already built, it could
just install it, but it doesn't. With that, adding a build instruction
not to use cwrappers would not help. Not requiring pkg_install or not
having pkg_install depend on cwrappers or making a new version of pbulk
that ignores this specific cyclic dependency could help.

regards,
	spz


Home | Main Index | Thread Index | Old Index