[Bug 286532] pkg-static: An error occured while fetching package: No error

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 May 2025 20:09:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286532

            Bug ID: 286532
           Summary: pkg-static: An error occured while fetching package:
                    No error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://forums.freebsd.org/threads/pkg-8-an-error-occu
                    red-while-fetching-package-no-error.96761/
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: p5B2EA84B3@t-online.de

Having seen multiple complaints about 

pkg-static: An error occured while fetching package: No error

in the FreeBSD forums
https://forums.freebsd.org/threads/pkg-8-an-error-occured-while-fetching-package-no-error.96761/

I now got hit with the same in a poudriere bulk run:

# poudriere bulk -j 14amd64 -b latest -f bulk_amd64 |& tee poud_build.log
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for 14amd64-default
[00:00:00] Warning: Using packages from previously failed, or uncommitted,
build: /poudriere/data/packages/14amd64-default/.building
[00:00:00] Mounting ccache from: /var/cache/ccache_poudriere
[00:00:00] Mounting ports from: /poudriere/ports/default
[00:00:00] Mounting packages from: /poudriere/data/packages/14amd64-default
[00:00:00] Mounting distfiles from: /var/cache/distfiles
[00:00:00] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/14amd64-make.conf
/etc/resolv.conf -> /poudriere/data/.m/14amd64-default/ref/etc/resolv.conf
[00:00:00] Starting jail 14amd64-default
Updating /var/run/os-release done.
[00:00:00] Will build as root:wheel (0:0)
[00:00:01] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:00:01] Inspecting /poudriere/data/.m/14amd64-default/ref//usr/ports for
modifications to git checkout... no
[00:00:04] Ports top-level git hash: 3bb25f440 
[00:00:04] Acquiring build logs lock for 14amd64-default... done
[00:00:04] Logs: /poudriere/data/logs/bulk/14amd64-default/2025-05-02_21h45m56s
[00:00:04] WWW:
http://172.17.17.80/build.html?mastername=14amd64-default&build=2025-05-02_21h45m56s
[00:00:04] Loading MOVED for /poudriere/data/.m/14amd64-default/ref/usr/ports
[00:00:04] Gathering ports metadata
[00:00:07] Calculating ports order and dependencies
[00:00:08] Sanity checking the repository
[00:00:08] Trimming IGNORED and blacklisted ports
[00:00:08] Package fetch: Looking for missing packages to fetch from
pkg+https://pkg.FreeBSD.org/${ABI}/latest
Updating FreeBSD repository catalogue...
[pkg.FreeBSD.org] Fetching meta.conf: . done
[pkg.FreeBSD.org] Fetching data.pkg: .......... done
Processing entries: .......... done
FreeBSD repository update completed. 35977 packages processed.
All repositories are up to date.
[00:00:34] Package fetch: Will fetch 10 packages from remote or local pkg cache
The following packages will be fetched:

New packages to be FETCHED:
        curl: 8.13.0_1 (2 MiB: 27.68% of the 6 MiB to download)
        gtk-doc: 1.33.2_3 (420 KiB: 6.82% of the 6 MiB to download)
        py311-calver: 2025.4.17 (9 KiB: 0.15% of the 6 MiB to download)
        py311-lxml: 4.9.3_1 (2 MiB: 31.65% of the 6 MiB to download)
        py311-lxml5: 5.3.2 (1 MiB: 18.76% of the 6 MiB to download)
        py311-markdown: 3.7 (183 KiB: 2.96% of the 6 MiB to download)
        py311-trove-classifiers: 2025.4.11.15 (17 KiB: 0.28% of the 6 MiB to
download)
        py311-typing-extensions: 4.13.2 (94 KiB: 1.53% of the 6 MiB to
download)
        py311-xml2rfc: 3.28.0 (599 KiB: 9.72% of the 6 MiB to download)
        yelp-tools: 42.0_1 (28 KiB: 0.46% of the 6 MiB to download)

Number of packages to be fetched: 10

The process will require 6 MiB more space.
6 MiB to be downloaded.
pkg-static: An error occured while fetching package: No error
pkg-static: An error occured while fetching package: No error
Error: (8913) /usr/local/share/poudriere/bulk.sh:injail_direct:265: set -e
error: status = 1
[00:00:35] Cleaning up
14amd64-default: removed
14amd64-default-n: removed
[00:00:35] Unmounting file systems

So this is happening in a clean jail and I'm pretty sure that here are no
network problems.

As some people are affected and do have little idea what causes this problem,
please do give some feedback here. Thanks!

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