* On 2026-01-08 at 22:25 GMT, Jonathan Perkin wrote:
* On 2026-01-08 at 22:16 GMT, Rhialto wrote:loelappie:~/bob$ cat logs/cwrappers-20220403/configure.log => "/usr/bin/make" ["-C", "/usr/pkgsrc/pkgtools/cwrappers", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "WRKLOG=/home/rhialto/bob/logs/cwrappers-20220403/work.log"] ===> depends-message [cwrappers-20220403] ===> Installing dependencies for cwrappers-20220403 => Build dependency libnbcompat>=20221013: NOT found => Verifying /nonexistent for ../../pkgtools/libnbcompatWhat's in depends.log? This would suggest that libnbcompat was not installed correctly. Maybe a difference between PACKAGES set in mk.conf and pkgsrc.packages in config.lua?
Going back and looking at the mk.conf you sent me, I think this is most likely caused by your PKG_DBDIR setting that differs from the default, so pkg_add will be writing to one location and then 'make' will be looking in another.
I'll need to have a think about the best way to handle this. bob works in a default environment, but pkgsrc offers a lot of ways to change things in unexpected ways, and I'll need to make sure they are all in sync, or at least identified and a suitable warning issued. One of my goals was to reduce a lot of the duplication in pbulk where you have to set lots of these variables in both mk.conf and pbulk.conf, and where differences between them lead to unexpected failures just like this one.
-- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com