Re: stable/15 pkgs seems to be broken
- Reply: void : "Re: stable/15 pkgs seems to be broken"
- In reply to: void : "Re: stable/15 pkgs seems to be broken"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Oct 2025 14:42:08 UTC
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