Subject: Re: bulk build of pkgsrc-2004Q3?
To: Hauke Fath <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 09/29/2004 12:51:09
On Wed, 29 Sep 2004, Hauke Fath wrote:
> Usage: pkg_view [-n] [-v] [-i ignore] [-k pkg_dbdir_dflt] [-w viewname]
> [-d stowdir] [-W viewbase] add|check|delete pkgname... perl: not found
> Null message body; hope that's ok
> Bulk build ended: Wed Sep 29 03:58:42 CEST 2004
> And the promised $REPORT (build.conf) is never written.
> What is happening here?

I have no idea about the pkg_view part.

About the perl part, the end of the pkgsrc/mk/bulk/build script has:

 	( cd lang/perl5 && ${BMAKE} bulk-install )
 	perl mk/bulk/post-build | ${MAIL_CMD} -s "pkgsrc ${OPSYS} ${OS_VERSION}/${MACHIN
 	E_ARCH} bulk build results `date +%Y-%m-%d`" $ADMIN

Can you check if
1) there is really a perl pkg installed (seems so, from the === msg above)
2) check if /usr/pkg/bin (== path to perl binary) is you your $PATH

It should be doable to run the script from /usr/pkg as above for testing 
purpose ("perl mk/bulk/post-build").

Also, do you run this inside a chroot? (shouldn't matter, but who knows)

Might be interesting to see what happens at a manual "cd lang/perl5 && 
make bulk-install", if the same pkg_views error arises.

Making sure your pkg_install tools are uptodate might be useful too 
(vanilla 2.0_BETA works for me)

  - Hubert

If wishes were wings,  o"   )~  would fly.            -- Go!