pbulk-FAQ
From NetBSD Wiki
The documentation for pbulk is in the man pages and the pbulk.conf file (installed with pkgtools/pbulk) and pkgsrc/doc/HOWTO-pbulk.
Q: How do I restart an interrupted pbulk build?
A: By explicitly calling the build phase of pbulk: If you have the pbulk infrastructure installed in $PBULK_PREFIX, this would be $PBULK_PREFIX/libexec/pbulk/build.
Q: A package had failed and I have fixed it. How can I continue the pbulk build as if the package had been successfully built from the beginning?
A: Remove the package name from $bulk_log/meta/error and restart the build phase (see above).
Q: How do I create the environment in which a certain package is built?
A: In pbulk.conf, set keep_wkrdir and keep_prefix to yes.
Q: How do I use pbulk to build meta-pkgs/kde3 and all its dependencies? I need it now and don't care about all the other packages.
A: In pbulk.conf, set the limited_list variable to the filename of a file containing a list of packages, one package per line (e.g. meta-pkgs/kde3 as only line in this case).
Q: During the scan phase, I get the following error message. To which package directory does it belong?
.................................................. 2300/8793 ....................bmake: "/usr/pkg/sbin/pkg_info -K /usr/pkg/var/db/pkg -E asciidoc" returned non-zero status bmake: "/usr/pkg/sbin/pkg_info -K /usr/pkg/var/db/pkg -E docbook-xsl" returned non-zero status .............................. 2350/8793
Q: How can I keep the build logs of packages that succeeded to build? Currently they are removed.
