pkgsrc-Users archive

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

Bulk build not using updated package tools?



When attempting to do a limited-package bulk build on NetBSD/i386 4.0 with 
freshly updated pkg tools, I get this:

build> Checking if the pkgtools are up-to-date
pre-build> Creating /usr/pkgsrc-local/bulk-logs if necessary
pre-build> Making sure vulnerability-list is upto date:
pre-build> (skipped)
pre-build> Removing all installed packages in /var/db/pkg
pre-build> /usr/pkg/sbin/pkg_delete -r pkg_install-20080204
Package `pkg_install-20080204' is marked as not for deletion
pre-build> /usr/pkg/sbin/pkg_delete -f pkg_install-20080204
Package `pkg_install-20080204' is marked as not for deletion
pre-build> Removing all installed packages in /usr/pkg/packages
pre-build> Cleaning up leftover state files from previous runs
/usr/bin/make bulk-package PRECLEAN=no
BULK> Bulk building lintpkgsrc-4.82
===> Cleaning for lintpkgsrc-4.82
/usr/bin/make package (lintpkgsrc-4.82)
ERROR: This package has set PKG_FAIL_REASON:
ERROR: The package tools installed on this system are out of date.
ERROR: The installed package tools are dated 2006/11/03 and you must
ERROR: update them to at least 2007/08/02 using the following command:
ERROR:
ERROR:     (cd /usr/pkgsrc/pkgtools/pkg_install && /usr/bin/make clean && 
/usr/bin/make update)
*** Error code 1

Also it doesn't actually stop at this point but rather perl5 which is the next 
package built.

But as you can see it knows pkg_install-20080204 is there but somehow it thinks 
the tools are still from 20061103. It would appear as though pkg_info -V is 
called to get the version which has a compiled-in string for the version. While 
/usr/sbin/pkg_info -V is outdated /usr/pkg/sbin/pkg_info -V appears correct. I 
do notice that mk/bulk/build script has a define for ${BMAKE} which is "make" 
for NetBSD and "bmake" for all other platforms - perhaps the PKG_INFO_CMD et al 
variables are somehow based off MAKE and/or BMAKE variable paths for bulk 
builds (a stretch). This might explain why bulk builds do work on other 
platforms (only having bmake, etc.) but am not sure and haven't had time to 
look more in depth.

Any ideas?

Thanks,
- Jesse

-- 
Jesse Peterson <jpeterson275%comcast.net@localhost>



Home | Main Index | Thread Index | Old Index