Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 14:11:48 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Larry Rosenman <ler@FreeBSD.org>
Cc:        Freebsd current <freebsd-current@freebsd.org>, Bryan Drewery <bdrewery@FreeBSD.org>
Subject:   Re: poudriere jail with todays current: Install fail?
Message-ID:  <56990FF8-57F2-4F4C-A3E1-CFD595F32C46@andric.com>
In-Reply-To: <3653f0bac22d7fe6a41c6491f6895560@FreeBSD.org>
References:  <a20b4390580bd3d9ea955f5b1d3b4060@FreeBSD.org> <B8A656D8-49CC-4409-9AD4-5B7507EFF704@andric.com> <3653f0bac22d7fe6a41c6491f6895560@FreeBSD.org>

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

--Apple-Mail=_1D8E3F53-1BD7-47B9-A767-D831C77D4620
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 20 Oct 2021, at 13:51, Larry Rosenman <ler@FreeBSD.org> wrote:
>=20
> On 10/20/2021 6:41 am, Dimitry Andric wrote:
>> On 20 Oct 2021, at 03:50, Larry Rosenman <ler@FreeBSD.org> wrote:
>>> Anyone else having poudriere jail -u or jail -c fail in the =
installworld?
>>> log:
>>> https://www.lerctr.org/~ler/jail-install.log
>> The actual error is pretty far from the bottom of that log:
>> --- realinstall_subdir_usr.sbin/lpr/chkprintcap ---
>> install: chkprintcap: No such file or directory
>> So probably usr.sbin/lpr wasn't built during buildworld? Do you have =
any
>> special settings in e.g. src.conf?
>> -Dimitry
>=20
> I had
> WITHOUT_LPR=3Dyes
>=20
> in make.conf.  But I've had that in there for a LONG time, and this is =
the
> first time poudriere has complained.
>=20
> So, I commented that out for now, but I'd like to know why the sudden =
change.

I haven't been able to find how poudriere jail -c passes any src.conf
settings to its installworld phase. It does seem to have a bunch of
stuff that goes through contortions to put a src.conf into the jail
directory, but only during *buildworld*, not during installworld.

It could very well be that this use case was broken due to a recent
poudriere update. I don't see anything in the recent log of -CURRENT
hat indicates some sort of flipping of the MK_LPR default, it has been
"yes" for ages now.

Whatever the case may be, for some reason you now run into a common
problem with the disconnect between buildworld and installworld: if you
run these under even slightly different environments, there can be
unexpected consequences... :)

-Dimitry


--Apple-Mail=_1D8E3F53-1BD7-47B9-A767-D831C77D4620
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYXAHhQAKCRCwXqMKLiCW
o4KCAJ9Bm3OYAmOWtTMufn5p8dO6eGABzQCePRMbGXbX9bOhdJZcGYWGqXsSK4A=
=qN8p
-----END PGP SIGNATURE-----

--Apple-Mail=_1D8E3F53-1BD7-47B9-A767-D831C77D4620--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56990FF8-57F2-4F4C-A3E1-CFD595F32C46>