Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2025 13:46:40 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        src-committers@FreeBSD.org,  dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 088e21000507 - main - release: More fixes for building pkg package
Message-ID:  <865xdefyvz.fsf@ltc.des.dev>
In-Reply-To: <202509190809.58J89Eiu036110@gitrepo.freebsd.org> (Colin Percival's message of "Fri, 19 Sep 2025 08:09:14 GMT")
References:  <202509190809.58J89Eiu036110@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Colin Percival <cperciva@FreeBSD.org> writes:
> diff --git a/release/scripts/make-pkg-package.sh b/release/scripts/make-p=
kg-package.sh
> index 7712054d26c0..ee75e7d68d14 100755
> --- a/release/scripts/make-pkg-package.sh
> +++ b/release/scripts/make-pkg-package.sh
> @@ -9,7 +9,8 @@ unset PKG_VERSION
>  unset MAKEFLAGS
>  unset PKGBASE
>  export WRKDIRPREFIX=3D/tmp/ports.${TARGET}
> -export WRKDIR=3D$(make -C ${PORTSDIR}/ports-mgmt/pkg -V WRKDIR)
> +export DISTDIR=3D/tmp/distfiles
> +export WRKDIR=3D$(make -C ${PORTSDIR}/ports-mgmt/pkg I_DONT_CARE_IF_MY_B=
UILDS_TARGET_THE_WRONG_RELEASE=3DYES -V WRKDIR)
>=20=20
>  make -C ${PORTSDIR}/ports-mgmt/pkg TARGET=3D${TARGET} TARGET_ARCH=3D${TA=
RGET_ARCH} \
>  	CONFIGURE_ARGS=3D"--host=3D$(uname -m)-portbld-freebsd${REVISION}" \

This breaks the release build because nothing creates DISTDIR.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?865xdefyvz.fsf>