pkgsrc-Users archive

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

Re: pbulk : don't know how to make /nonexistent



On 11/3/18 11:07 PM, Julien Savard wrote:
I'm trying to run a pbulk. For now I'm only trying to compile 2-3 packages ( xz, drill, bozohttpd ). It seems it always end up failing :

    Initialisation complete.
    [1/13] Starting build of cwrappers-20180325
    [1/13] Successfully built cwrappers-20180325
    [2/13] Starting build of libfetch-2.38
    [2/13] Successfully built libfetch-2.38
    [3/13] Starting build of digest-20160304
    [3/13] Successfully built digest-20160304
    [4/13] Starting build of fetch-1.8nb3
    [4/13] Successfully built fetch-1.8nb3
    [5/13] Starting build of checkperms-1.12
    [5/13] Successfully built checkperms-1.12
    [6/13] Starting build of m4-1.4.18nb1
    [6/13] Failed to build m4-1.4.18nb1
    [11/13] Starting build of perl-5.28.0nb1
    [11/13] Failed to build perl-5.28.0nb1
    [12/13] Starting build of gmake-4.2.1nb1
    [12/13] Failed to build gmake-4.2.1nb1
    [13/13] Starting build of bozohttpd-20170201nb1
    [13/13] Failed to build bozohttpd-20170201nb1

Browsing through the log files show this error :

    nbqc1-osparc6# cat /srv/data/log/pbulk/m4-1.4.18nb1/checksum.log
    => Bootstrap dependency digest>=20010302: NOT found
    => Verifying /nonexistent for ../../pkgtools/digest
    bmake[1]: don't know how to make /nonexistent. Stop
    bmake[1]: stopped in /srv/pkgsrc/pkgtools/digest
    *** Error code 2
    Stop.
    bmake: stopped in /srv/pkgsrc/devel/m4

I've setup my env this way :

BOOTSTRAP

    /srv/pkgsrc/bootstrap/bootstrap --prefix=/usr/pkg
    --mk-fragment=/srv/data/conf/mk.conf.frag --workdir=/tmp/work
    --gzip-binary-kit=/srv/data/conf/bootstrap.tar.gz


PBULK

    /srv/pkgsrc/bootstrap/bootstrap --prefix=/srv/pbulk
    --mk-fragment=/srv/data/conf/mk.conf.frag --workdir=/tmp/work


Here is my mk.conf.frag :

    nbqc1-osparc6# cat /srv/data/conf/mk.conf.frag
    PKG_DEVELOPER=yes
    MAKE_JOBS=2
    SKIP_LICENSE_CHECK=yes
    ALLOW_VULNERABLE_PACKAGES=YES
    FETCH_USING=fetch
    # Can be remote
    DISTDIR=/srv/data/distfiles
    PACKAGES=/srv/data/packages
    # Must be local
    WRKOBJDIR=/var/tmp/pkgbuild


I've changed some things in my pulk.conf. I think those are worth mention:

    reuse_scan_results=no
    bootstrapkit=/srv/data/bootstrap/bootstrap.tar.gz
    bulklog=/srv/data/log/pbulk
    packages=/srv/data/packages
    prefix=/usr/pkg
    pkgsrc=/srv/pkgsrc
    pkgdb=/var/db/pkg
    varbase=/var
    keep_wrkdir=no
    keep_prefix=no


Before you ask, everything in /srv is in a remote NFS server and everything on /usr is "local".

    nbqc1-osparc6# df -h
    Filesystem Size       Used      Avail %Cap Mounted on
    /dev/sd0a  9.7G       2.1G       7.1G  22% /
    kernfs 1.0K       1.0K         0B 100% /kern
    ptyfs  1.0K       1.0K         0B 100% /dev/pts
    procfs 4.0K       4.0K         0B 100% /proc
    tmpfs 60M       4.0K        60M   0% /var/shm
    nas2:/srv/pkgsrc/pkgsrc2018Q3                             32G    
     9.7G        22G  30% /srv/pkgsrc
    nas2:/srv/pbulk/netbsd-8.0/sparc/pkgsrc2018Q3/pbulk       30G     
      23G       7.4G 75% /srv/pbulk
    nas2:/srv/pbulk/netbsd-8.0/sparc/pkgsrc2018Q3/data        30G     
      23G  7.4G  75% /srv/data


Anyone has any idea why I end up with those errors ? Must be something really silly...

Sounds like your pbulk user doesn't have a home directory.  Check /etc/password.

My experience with pbulk is documented here in case it helps:

https://netbsd.org/~bacon/


Home | Main Index | Thread Index | Old Index