Discussion:
Confused about bulk build report
John Klos
2014-05-23 17:07:18 UTC
Permalink
NetBSD 6.1.4, macppc, 2014Q1 pkgsrc. I don't understand perl...



mini# sh mk/bulk/build -p
+----------------------------------------+
| Some variables used in the bulk build: |
+----------------------------------------+
OPSYS = NetBSD
OS_VERSION = 6.1_STABLE
MACHINE_ARCH = powerpc
BULK_PREREQ = devel/ccache pkgtools/digest
BULKFILESDIR = /usr/pkgsrc
BULK_DBFILE = /usr/pkgsrc/.bulk_db.mini
DEPENDSFILE = /usr/pkgsrc/.depends.mini
INDEXFILE = /usr/pkgsrc/.index.mini
ORDERFILE = /usr/pkgsrc/.order.mini
STARTFILE = /usr/pkgsrc/.start.mini
SUPPORTSFILE = /usr/pkgsrc/.supports.mini
BULK_BUILD_ID_FILE = /usr/pkgsrc/.bulk_build_id.mini
BUILDLOG = .make.mini
BROKENFILE = .broken.mini.html
BROKENWRKLOG = .broken.mini.work.txt
PREFIX = /usr/pkg
AWK = /usr/bin/awk
GREP = /usr/bin/grep
MAIL_CMD = /usr/bin/mail
MKDIR = /bin/mkdir -p
PAX = /bin/pax
PERL5 = /usr/pkg/bin/perl
SED = /usr/bin/sed
PKG_DELETE = /usr/pkg/sbin/pkg_delete -K /var/db/pkg
PKG_INFO = /usr/pkg/sbin/pkg_info -K /var/db/pkg
PKGBASE = lintpkgsrc
------------------------------------------
build> Post processing bulk build results...
build> Re-installing prerequisite packages specified with BULK_PREREQ...
build> Installing prerequisite package devel/ccache
build> Installing prerequisite package pkgtools/digest
build> Installing prerequisite package lang/perl5
build> Generating the bulk build report...
syntax error at mk/bulk/post-build line 239, near "$f qw(BULK_DBFILE
DEPENDSTREEFILE DEPENDSFILE SUPPORTSFILE INDEXFILE ORDERFILE)"
Global symbol "$f" requires explicit package name at mk/bulk/post-build
line 240.
Global symbol "$f" requires explicit package name at mk/bulk/post-build
line 241.
Execution of mk/bulk/post-build aborted due to compilation errors.
mk/bulk/build: error:
Could not write the results file.


Any ideas?

John
David Holland
2014-05-24 18:02:07 UTC
Permalink
Post by John Klos
NetBSD 6.1.4, macppc, 2014Q1 pkgsrc. I don't understand perl...
[...]
build> Generating the bulk build report...
syntax error at mk/bulk/post-build line 239, near "$f qw(BULK_DBFILE
DEPENDSTREEFILE DEPENDSFILE SUPPORTSFILE INDEXFILE ORDERFILE)"
Global symbol "$f" requires explicit package name at mk/bulk/post-build
line 240.
Global symbol "$f" requires explicit package name at mk/bulk/post-build
line 241.
Execution of mk/bulk/post-build aborted due to compilation errors.
Could not write the results file.
Any ideas?
"it's broke"

If you're going to run bulk builds you're probably better off using
pbulk... the old bulk build stuff should really have been removed
years ago but there are still a few holdouts using it.
--
David A. Holland
***@netbsd.org
Jonathan Perkin
2014-06-01 14:29:11 UTC
Permalink
Post by David Holland
Post by John Klos
NetBSD 6.1.4, macppc, 2014Q1 pkgsrc. I don't understand perl...
[...]
build> Generating the bulk build report...
syntax error at mk/bulk/post-build line 239, near "$f qw(BULK_DBFILE
DEPENDSTREEFILE DEPENDSFILE SUPPORTSFILE INDEXFILE ORDERFILE)"
Global symbol "$f" requires explicit package name at mk/bulk/post-build
line 240.
Global symbol "$f" requires explicit package name at mk/bulk/post-build
line 241.
Execution of mk/bulk/post-build aborted due to compilation errors.
Could not write the results file.
Any ideas?
"it's broke"
If you're going to run bulk builds you're probably better off using
pbulk... the old bulk build stuff should really have been removed
years ago but there are still a few holdouts using it.
Are there? I don't recall seeing an old-style report sent to
pkgsrc-bulk@ for a long time now.

I was one of the last holdouts but haven't used it for a number of
years, pbulk is sufficiently mature and supports enough unique
features (e.g. distributed support) that I think we should just nuke
mk/bulk now.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
David Holland
2014-06-01 20:37:19 UTC
Permalink
Post by Jonathan Perkin
Post by David Holland
If you're going to run bulk builds you're probably better off using
pbulk... the old bulk build stuff should really have been removed
years ago but there are still a few holdouts using it.
Are there? I don't recall seeing an old-style report sent to
i haven't even looked at the bulk reports since about January, but at
that point there were still a couple occasionally.
Post by Jonathan Perkin
I was one of the last holdouts but haven't used it for a number of
years, pbulk is sufficiently mature and supports enough unique
features (e.g. distributed support) that I think we should just nuke
mk/bulk now.
So do I, but I've thought that for at least 2-3 years :-/
--
David A. Holland
***@netbsd.org
Loading...