Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2022 20:07:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263665] ports-mgmt/pkg: attempt to open archive named "(null)"
Message-ID:  <bug-263665-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263665

            Bug ID: 263665
           Summary: ports-mgmt/pkg: attempt to open archive named "(null)"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: jfc@mit.edu
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

After building some ports with poudriere:

root@monax:/usr/local/poudriere/data/packages/builder-default/All # pkg ins=
tall
gcc10-10.3.0.pkg=20
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
        gcc10-10.3.0

Number of packages to be reinstalled: 1

Proceed with this action? [y/N]: y
pkg: archive_read_open_filename((null)): Failed to open '(null)'


The same error happens if I use pkg upgrade instead of pkg install.  With a
debugger I see pkg_add_common is being called with path =3D "(null)".  This=
 comes
from the variable target in pkg_jobs_handle_install.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263665-7788>