While trying on my laptop, I wish that "bob rebuild" works, since I have
constant failures to build it (more below), so I have to tweak and
retry, and it will only rebuild if you "bob clean" first, which then
needs to do a re-scan: (to make this quicker I am using zoo as a test
target)
loelappie:~/bob$ sudo bob rebuild archivers/zoo
Found 6 cached package paths
All 6 package paths already scanned
Resolving dependencies...
Loaded 5 cached build results
Build Summary
=============
Succeeded: 0
Failed: 0
Up-to-date: 0
Pre-failed: 0
Indirect failed: 0
Indirect prefailed: 0
Building fails (after a bob clean) (and this has me really stumped)
loelappie:~/bob$ sudo bob clean
Cleared 6 cached scan entries and 5 cached build entries
loelappie:~/bob$ sudo bob rebuild archivers/zoo
Creating sandbox...
Scanning packages...
Scanned 9 in 2s (9 succeeded, 0 cached, 0 failed, 0 skipped)
Resolving dependencies...
Creating sandboxes...
Building packages...
Skipped libnbcompat-20251029 (up-to-date)
Failed cwrappers-20220403 (3s)
Built 2 in 5s (0 succeeded, 0 cached, 1 failed, 1 skipped)
Saving 6 build results... done (0.0s)
Build Summary
=============
Succeeded: 0
Failed: 1
Up-to-date: 1
Pre-failed: 0
Indirect failed: 4
Indirect prefailed: 0
loelappie:~/bob$ cat logs/
bob/ configure.log cwrappers-20220403/ report.html
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/libnbcompat
make[1]: don't know how to make /nonexistent. Stop
make[1]: stopped in /usr/pkgsrc/pkgtools/libnbcompat
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/pkgtools/cwrappers
loelappie:~/bob$
It did manage to build libnbcompat-20251029.tgz though but still
something thinks it isn't there? I would expect that the package gets
installed into the sandbox but I saw no sign of that. (And I'm not sure
why zoo or cwrappers would depend on libnbcompat in the first place, really)
If I remove the libnbcompat package, it gets rebuilt, but no logs of the
configure phase survive, so I can't see what happened to the
DEPENDS_TARGET=/nonexistent thing.
(I do notice the pkgtools/cwrappers/Makefile contains USE_FEATURES=
nbcompat... is that a new thing? If I remove it, then the dependency on
libnbcompat disappears. But building fails because #include <nbcompat.h>
fails. And if I replace it with DEPENDS +=
libnbcompat>=20221013:../../pkgtools/libnbcompat it still fails in the
original way, and I see no sign of the libnbcompat package getting installed)
(this is how far I got)
-Olaf.
--
___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work. --I. Rose
Attachment:
signature.asc
Description: PGP signature