[Bug 245401] ports-mgmt/pkg breaks NanoBSD builds

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 6 16:42:45 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245401

            Bug ID: 245401
           Summary: ports-mgmt/pkg breaks NanoBSD builds
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg at FreeBSD.org
          Reporter: wout at canodus.be
          Assignee: pkg at FreeBSD.org
             Flags: maintainer-feedback?(pkg at FreeBSD.org)

After upgrading from pkg-1.13.2 to pkg-1.14.2 it seems NanoBSD builds are
broken.

1) Creating the pkg package (`pkg create pkg` or `pkg create -a`) to place in
Pkg directory works but returns with the following warning:

pkg: lstat(/usr/local/lib/compat/pkg): No such file or directory

2) Ignoring the above, and trying the create a NanoBSD image fails with the the
following error in _.cust.cust_pkgng:

...
+ env 'BATCH=YES' 'ASSUME_ALWAYS_YES=YES' 'PKG_DBDIR=/var/db/pkg'
'SIGNATURE_TYPE=none' /usr/sbin/pkg add /_.p/pkg-1.14.2.txz
Installing pkg-1.14.2...
Extracting pkg-1.14.2: .......... done
pkg-static: Fail to set time on /usr/local/lib/compat/pkg:No such file or
directory

Failed to install the following 1 package(s): /_.p/pkg-1.14.2.txz

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list