tech-pkg archive

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

pbulk cyclic dependency



Hi,

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
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OS_VARIANT} == "SCOOSR5"

(I also did delete the bulklog (both with and without .old), but
I think the above was the crucial change.)

Is anyone else seeing this issue?  Does the above look OK to
commit?

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index