From nobody Wed Sep 27 11:04:45 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RwYfS0nm5z4vJ8d for ; Wed, 27 Sep 2023 11:04:48 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RwYfS0Hv6z4Cwk; Wed, 27 Sep 2023 11:04:48 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695812688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9UbGX6Tkz7P0Ex49kgC/CT/BCeckKQEMsQ8RMp1SkqA=; b=yGSwrrJfVhBBvY4QnRk0osarjdeBf191ipKroOExD+YQxop59M/i/19fh3C6E7ifCS5qah G4F6LnxOFXgQzKE+XisIPxdAry/HujjruaDBv+DTL12bx2lTncac/ZcmcpBTZMstkNGR8/ WUwlYr4gmQm3QYKZhz1//CqSg5s8fgt9yEL8t53oa0MAcsLa1GAr0zUX6Eatk415Bi+Tvi 5ktbMIFzOXMdwJDDJ9B038HSNYJZe2SaGUVpr4HqVFQlTnCwX7Ev0hwflDjaFHfXBKaxed l4QBLjLdJn3eO/TQ0M9XG76AH5DVRwgjelgH7GWwv7/78xWom2+ynBJOj9NknQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695812688; a=rsa-sha256; cv=none; b=qiYP/HPZ8bIpZiNfYXMdVWFd/yoZaKabh1rHUjP+zL4o5i0zAdJFhDmMYpAu3BOoViouJ8 zjcuhldPCY1/L64mCKVdC6GFH+Q9fyo7HImFTmAyRG0jGk0ckdJkWY8x6nLLMlmbWl9gdK 7kn48dSbCZczCUlmmqKyzaglWK6pgclBjb+3LQKYMNeRJyCLiBUftmNiXhYh6FPnwRF+U0 6KarAvP9M6avgFU+ACeJFWTl9/h8NAjcS1tQfOsX9VMIah+U8bZnqNL1RwxyDPqx3Sny8Q pTj8PijpQRJvtQ6UPzIEx8DLjQFU73DTLPoazhAOo7Stwrb9m+IB3JmCl8f0FA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695812688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9UbGX6Tkz7P0Ex49kgC/CT/BCeckKQEMsQ8RMp1SkqA=; b=pCYqSEmvNuZrJSypTdb8aSMumTWGsxB7/T4J0k7Pr77gaHPSIdBfi5K//rp4oMPxlj7V5u iaWSqHGVNKCkGPeoEBTtSb8Q51U3ctgNf0C7/mPedGYjmxXxjO1oCKpxPmXbwZ+Hw8zvGA iv/SUphy9/kV3Gaw9+gDRhaorV8uAY8Qdr9rf7AQ735ivQQRRADypJKYhN4qYzwTfFaqvO UgEgNT1/o2sePh+kie49WZC6C26G8WkgNkNJ3M2KtcBpOLbqTDQA5g+DWDn02vkI1aXPWJ ewlwcogfhNt9kakDzXfFLzZWow2GuBEEbfnkDCt+8A6lkTkBDYcz5Dvtmbu+Og== Received: from [IPV6:2a01:e11:2002:4280::13:1] (unknown [IPv6:2a01:e11:2002:4280::13:1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RwYfQ6zTsz15nq; Wed, 27 Sep 2023 11:04:46 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Message-ID: Date: Wed, 27 Sep 2023 13:04:45 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: sccache(-overlay) to speed up rust builds in poudriere Content-Language: en-US To: Alexander Leidinger Cc: Charlie Li , Kurt Jaeger , "freebsd-ports@FreeBSD.org" , pizzamig@freebsd.org, rust@freebsd.org References: <2e1786f2-1aae-7199-5a3e-5d8c9cdbedbf@FreeBSD.org> <3fc3bf626fa452be730bcc96d2c10508@Leidinger.net> <3997509d72dcdbd9075274bee41cf255@Leidinger.net> <99e008c3-4047-4fb6-92df-d0a16a637efb@FreeBSD.org> <671c7d2e704afc4a29cb45461311fcc3@Leidinger.net> From: Guido Falsi In-Reply-To: <671c7d2e704afc4a29cb45461311fcc3@Leidinger.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27/09/23 13:00, Alexander Leidinger wrote: > Am 2023-09-27 12:57, schrieb Guido Falsi: >> On 27/09/23 12:54, Alexander Leidinger wrote: >>> Am 2023-09-27 10:56, schrieb Charlie Li: >>> >>>> In poudriere, apart from the fetch phase, network access is not >>>> allowed by default so spawning a server that listens on an IP that >>>> does not necessarily exist that clients, individual compiler >>>> invocations, talk to isn't tenable. At the very least, one would >>>> need to architect and implement Unix domain socket support there, >>>> which they are happy to consider. >>> >>> How is poudriere preventing network access outside the fetch phase? >> >> two (undocumented) guesses: >> >> - removing interfaces (including lo0) > > Then the sccache cache directory shouldn't contain files in my test. > >> - no routing > > Then the localhost connection still works and sccache should work (which > would match my empirical test results). > I'm not completely sure we;re talking about the same thing. The scccache version you're using is an older version with non standard changes (as vishin pointed out, did not check it or the nature of the changes or differences with newer versions). Maybe that version is not network driven thanks to patches, you should check that before assuming that the sccache-overlay version requires networking. -- Guido Falsi