Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2025 07:42:08 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        void <void@f-m.fm>, Bryan Drewery <bdrewery@FreeBSD.org>, Lexi Winter <ivy@freebsd.org>, Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: stable/15 pkgs seems to be broken
Message-ID:  <1C85D6FD-ABCB-46FD-87C4-43E30B183E43@yahoo.com>
In-Reply-To: <aO5LdpSSLw8OlLGX@int21h>
References:  <aO42cqlFUAjpgF3a@int21h> <aO43Cfqf3ojbfRoH@amaryllis.le-fay.org> <aO5FKGxLgSfNUDoD@int21h> <aO5H_UrljqboSwrj@amaryllis.le-fay.org> <aO5LdpSSLw8OlLGX@int21h>

index | next in thread | previous in thread | raw e-mail

On Oct 14, 2025, at 06:09, void <void@f-m.fm> wrote:

> On Tue, Oct 14, 2025 at 01:54:21PM +0100, Lexi Winter wrote:
> 
>> is this error from poudriere?  you didn't mention that in your mail.
> 
> Sorry, I should have said.
>> 
>>> # The branch will be appended to the URL:
>>> PACKAGE_FETCH_URL=pkg+https://pkg.FreeBSD.org/\${ABI}
>> 
>> can you show the repository config poudriere is actually using?
>> 
>> from a quick look at /usr/local/share/poudriere/common.sh, it seems like
>> poudriere assumes the ports repository is called "FreeBSD", but in 15.0
>> it is now called "FreeBSD-ports".  attempting to set the URL without the
>> rest of the repository configuration would cause this error.  this would
>> be an issue that needs to be fixed in poudriere.
>> 
>> (perhaps this has already been fixed in a more recent version; i don't
>> follow poudriere development.)
> 
> ah - line 4483
> 
> -reponame="${PACKAGE_FETCH_REPO:-FreeBSD}"
> +reponame="${PACKAGE_FETCH_REPO:-FreeBSD-ports}"
> 
> should fix it.

Not for 13.5 or 14.* for poudriere(-devel). Note: My context
is poudirere-devel based for the below:

# poudriere version
poudriere-git-3.4.99.20251013

The lack of uniformity is now something poudreire(-devel) has
to deal with. As stands, it takes source code modifications
for users to specify the name . . .

common.sh has:

${pkg_bin} update -f -r FreeBSD; then

and:

        cat > ${MASTERMNT:?}${LOCALBASE:?}/etc/pkg/repos/local.conf <<-EOF
        FreeBSD: {
                enabled: no
        }

        local: {
                url: "file:///packages",
                enabled: yes
        }
        EOF

and:

        cat >> "${MASTERMNT:?}/etc/pkg/poudriere.conf" <<-EOF
        FreeBSD: {
                url: ${packagesite};
        }
        EOF

There is also such material in jail.sh and image.sh . . .

jail.sh :

       cat <<EOF > "${JAILMNT}/etc/pkg/FreeBSD2.conf"
FreeBSD: {
  enabled: no
}
EOF

image.sh :

        cat > "${REPOS_DIR:?}/repo.conf" <<-EOF
        FreeBSD: { enabled: false }
        local: { url: file:///${WRKDIR}/world/tmp/packages }
        EOF
and:

        if [ "${arch}" == "${host_arch}" ]; then
                cat > "${WRKDIR:?}/world/tmp/repo.conf" <<-EOF
                FreeBSD: { enabled: false }
                local: { url: file:///tmp/packages }
                EOF

and:

        else
                cat > "${WRKDIR:?}/world/tmp/repo.conf" <<-EOF
                FreeBSD: { enabled: false }
                local: { url: file:///${WRKDIR}/world/tmp/packages }
                EOF

> Thank you for this.
> 
> The poudriere version is poudriere-dsh2dsh-3.4.99.20251007



===
Mark Millard
marklmi at yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C85D6FD-ABCB-46FD-87C4-43E30B183E43>