tech-pkg archive

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

Re: pbulk cyclic dependency



* On 2023-06-23 at 07:00 BST, Havard Eidnes wrote:

I'm doing pkgsrc bulk builds for NetBSD/macppc, among them still
for 8.0.  After updating to HEAD on pkgsrc in preparation for
build for pkgsrc-2023Q2, I got:

Resolving...
Building...
Cyclic dependency for package:
cwrappers-20220403
pkg_install-20211115
cwrappers-20220403

After digging around a bit, I think this is the thing which made
a difference, to avoid this chicken-and-egg issue:

--- pkgtools/pkg_install/Makefile       3 Nov 2021 13:37:25 -0000       1.236
+++ pkgtools/pkg_install/Makefile       23 Jun 2023 05:57:27 -0000
@@ -50,6 +50,9 @@
# be rethought.
USE_NATIVE_GCC=                yes

+# Try to prevent cyclic dependency loop
+USE_CWRAPPERS=         no

Presumably this is because the NetBSD 8.0 pkg_install is too old, in which case I think I'd prefer to add

  NO_PKGTOOLS_REQD_CHECK=yes

to cwrappers, as it's more important that pkg_install gets built correctly, and we really should be removing the old shell wrappers at some point.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index