pkgsrc-Users archive

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

driving pbulk and LOCALBASE



Inside my bulk building sandbox, among other lines,
/etc/mk.conf              contains PKG_DEVELOPER=yes
/usr/pkg_bulk/etc/mk.conf contains LOCALBASE=/usr/pkg_bulk
                                   PKG_DBDIR=/usr/pkg_bulk/pkgdb

[2/179] Starting build of  digest-20121220
[2/179] Successfully built digest-20121220
[3/179] Starting build of  checkperms-1.11
[3/179] Successfully built checkperms-1.11
[4/179] Starting build of  libtool-base-2.4.2nb7
[4/179] Failed to build    libtool-base-2.4.2nb7
...

# ls /usr/pkg_bulk/pkgdb
bmake-20140314                          perl-5.20.0nb1
bootstrap-mk-files-20140516             pkg_install-20130902nb1
digest-20121220                         pkgdb.byfile.db
pbulk-0.52                              rsync-3.1.0nb2
pbulk-base-0.48
# ls /var/db/pkg/
checkperms-1.11 digest-20121220 pkgdb.byfile.db

# pkg_info -L checkperms
Information for checkperms-1.11:

Files:
/usr/pkg_bulk/bin/checkperms
/usr/pkg_bulk/man/man1/checkperms.1


Libtool fails to install: it builds successfully, but then given
PKG_DEVELOPER=yes, it tries to run LOCALBASE/bin/checkperms. At
this point, LOCALBASE=/usr/pkg, /usr/pkg/bin/checkperms doesn't
exist and the build fails.


My first doubt is:

[3/179] Starting build of  checkperms-1.11
[3/179] Successfully built checkperms-1.11

Should that have created a /usr/pkg/bin/checkperms and an enty
in /usr/pkg_bulk/pkgdb? checkperms is not mentioned in /bulklog

I assume that checkperms was built during the bootstrap? Odd: I end up with
two digest packages but one checkperms package.

The work around is easy: set PKG_DEVELOPER=no in the sandbox's /etc/mk.conf
but I would like to understand what is meant to happen.

I suspect that I might be alone using pbulk on NetBSD-current/amd65 given

  pkg/48824 pbulk build failure: argument may be clobbered       

?

Cheers,

Patrick




Home | Main Index | Thread Index | Old Index