Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2013 13:36:45 +0100
From:      Chris Rees <crees@bayofrum.net>
To:        Chris Rees <crees@bayofrum.net>
Cc:        ports@FreeBSD.org, Alexey Dokuchaev <danfe@nsu.ru>, marcus@freebsd.org, tinderbox-list@marcuscom.com, decke@FreeBSD.org
Subject:   Re: 10.0-hosted tinderbox: 8.4 builds broken?
Message-ID:  <4ABC4095-7230-4C69-92D4-756057C46296@bayofrum.net>
In-Reply-To: <a79af119e97e026884867f2797b059e2@www.bayofrum.net>
References:  <20131009110955.GA75075@regency.nsu.ru> <CAE-m3X2CBJochmozViCHKg34ec2eByQuE6ju00Q8ZQD1=8=SXQ@mail.gmail.com> <4d21dc12-2fb5-43a7-a0fd-8ea13c6ebf5a.maildroid@localhost> <20131009212710.GA7998@regency.nsu.ru> <a79af119e97e026884867f2797b059e2@www.bayofrum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Oct 2013, at 12:49, Chris Rees wrote:

> [cross posted to tinderbox-list]
>=20
> On 2013-10-09 22:27, Alexey Dokuchaev wrote:
>> On Wed, Oct 09, 2013 at 09:11:10PM +0100, Chris Rees wrote:
>>> Alexey, if you're interested, the patch hitting CVS is at:
>>> http://www.bayofrum.net/~crees/patches/tinderbox-calculate-deps-in-chro=
ot-9.diff
>> Ah, it seems you mean it's one of the patches recently committed, not the
>> proposed fix. ;-)
>> I've 'cvs up -A' again, and applied the patch in reverse mode.  Strangel=
y,
>> now every build log (inc. dependent packages) immediately ends with this
>> message:
>>  jexec: getpwnam: root: No such file or directory
>=20
> OK, try cvs head with
>=20
> http://www.bayofrum.net/~crees/patches/tinderbox-chroot-srcbase.diff
>=20
> It appears that I may have been overexcited with my fix for Olli's proble=
m, but this fixes it in a less drastic way with fewer assumptions.
>=20
> This patch works for me, so if you confirm I'd like to ask Joe to approve=
 please!
>=20
> Also, Bernhard, I'm certain that redports will run as well as it did with=
 patch7 if you apply this patch.
>=20
> I'm really sorry for the breakage :(

It appears that really weird SRCBASE assumptions are made throughout the co=
de.  I'll have to put a temporary hack in to just make SRCBASE appear insid=
e the chroot whatever it's set to.  Setting and unsetting SRCBASE just brea=
ks different things in weird ways, and this is the only reliable fix I've f=
ound.

Joe, please can I stick this in, and merge to the beta?

http://www.bayofrum.net/~crees/patches/tinderbox-fake-srcbase.diff

Alexey, try this patch.  This one definitely works for me, and gets the dep=
endencies working correctly.

Chris
--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ABC4095-7230-4C69-92D4-756057C46296>