From owner-freebsd-stable@freebsd.org Mon Oct 5 10:13:57 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 709963FE913 for ; Mon, 5 Oct 2020 10:13:57 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3::19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pyroxene.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4bzT07pMz3SD4; Mon, 5 Oct 2020 10:13:56 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5de2:a064:3459:3411] ([IPv6:2607:f3e0:0:4:5de2:a064:3459:3411]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id 095ADtLR089501 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 5 Oct 2020 06:13:55 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: building releng11 on RELENG12 broken ? To: Kyle Evans Cc: FreeBSD-STABLE Mailing List , Bryan Drewery References: <79727736-e586-fe94-f1f1-f4bf21acd17d@sentex.net> From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= mQENBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAG0HW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+iQFUBBMBCAA+FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAlywzOYCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ eVOEFl5WrMhnPAf7Bf+ola0V9t4i8rwCMGvzkssGaxY/5zNSZO9BgSgfN0WzgmBEOy/3R4km Yn5KH94NltJYAAE5hqkFmAwK6psOqAR9cxHrRfU+gV2KO8pCDc6K/htkQcd/mclJYpCHp6Eq EVJOiAxcNaYuHZkeMdXDuvvI5Rk82VHk84BGgxIqIrhLlkguoPbXOOa+8c/Mpb1sRAGZEOuX EzKNC49+GS9gKW6ISbanyPsGEcFyP7GKMzcHBPf3cPrewZQZ6gBoNscasL6IJeAQDqzQAxbU GjO0qBSMRgnLXK7+DJlxrYdHGXqNbV6AYsmHJ6c2WWWiuRviFBqXinlgJ2FnYebZPAfWiQ== Message-ID: <51c92670-c056-7dfa-d449-de40e784ab3c@sentex.net> Date: Mon, 5 Oct 2020 06:13:55 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4C4bzT07pMz3SD4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2020 10:13:57 -0000 On 10/4/2020 8:21 PM, Kyle Evans wrote: > On Sun, Oct 4, 2020 at 7:02 PM mike tancsa wrote: >> Not sure exactly when, but it seems building RELENG_11 seems to be >> broken on releng12. I am trying to buildworld on a RELENG12 image with >> -j4 (12.2-STABLE r366088) and it fails with the errors below >> > Hi, > > I've been battling this one for a couple days, but I really haven't > decided how to move forward. The TL;DR version is that crunchgen is > getting the OBJDIR wrong when building WITHOUT_AUTO_OBJ by assuming > objects will be built in-tree, but the reality is that it's more > complicated than that- it may still use out-of-tree OBJDIR if some > circumstances are hit. > > This is reproducible on -HEAD and stable/12, too, but it's effectively > mitigated by the fact that those branches default to WITH_AUTO_OBJ. > > CC'ing Bryan, because he probably has a better idea of how to fix it. > I almost smacked it with a "shell out for each utility and just ask > what the OBJDIR is" hammer, but I don't want to get smacked. =) Thanks, is it merely defining WITH_AUTO_OBJ to allow things to build ? Would that have just build consequences or would it cause installation issues too ? We crossbuild on a releng12 box and then mount over nfs to do an installworld on some servers.     ---Mike