Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsNp3-006hqG-F3 for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2024 14:12:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rsNp1-00627F-7H for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2024 14:12:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsNp0-006237-Kx for pgsql-hackers@lists.postgresql.org; Thu, 04 Apr 2024 14:12:06 +0000 Received: from dd25110.kasserver.com ([85.13.146.49]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsNou-000Xim-Fy for pgsql-hackers@postgresql.org; Thu, 04 Apr 2024 14:12:05 +0000 Received: from [192.168.0.101] (ip-037-201-153-175.um10.pools.vodafone-ip.de [37.201.153.175]) by dd25110.kasserver.com (Postfix) with ESMTPSA id A5BE7E1A00E7; Thu, 4 Apr 2024 16:11:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technowledgy.de; s=kas202308201259; t=1712239916; bh=OI74roik4vYcPBjJf6WSiki42yp2aO1bkNZJPPoc880=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=S2DWbP0ekhvWNRi9eeaUMuwRaJDJwIwQ9xBYfwP+cI3Mj3+eOlZ5kfbt+UZmDoKs4 wpr6QpHFW8mCpIfx85pCJV0MVWU99Q6Txsn8SRQ8EIYhZAUTIkHdZNuzIg6qEVKabg AW8j4kvpnhZL/7suUJ7o1qwukK4h1zwvG0GwAUXfwc/e/O4f3Ceg5n54tef2eVmMQ4 bgh/IEA7JAm4p3PUjvP0+mxHAotq+zIqaZGVSArLwxPKkvOAK3MWhIhCq3w3MsyQdC 4+3e2Ph/4z1dO85Sa1h+cN0exSzflsYNpwE7pEk2y5UtHAEH385Bj9kUIaipE9t3p7 5FUe6Af5j2Bsg== Message-ID: Date: Thu, 4 Apr 2024 16:11:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Wolfgang Walther Subject: Re: Building with musl in CI and the build farm Content-Language: en-US To: Peter Eisentraut , Andres Freund Cc: PostgreSQL-development References: <4093813.1710899588@sss.pgh.pa.us> <4095435.1710900216@sss.pgh.pa.us> <477fa513-6bf0-456d-8d24-1e22a19df671@technowledgy.de> <20240322001948.atp2eetusylgjyw2@awork3.anarazel.de> <40543180-a0a2-495b-8d34-23b46c28f533@technowledgy.de> <20240326001447.wcatfvx45tkmizji@awork3.anarazel.de> <0a48d551-50e1-4bd3-8d46-8421e3b1b724@technowledgy.de> <7764f41f-29f6-428f-b40d-43ba2da38170@eisentraut.org> In-Reply-To: <7764f41f-29f6-428f-b40d-43ba2da38170@eisentraut.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: / List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut: > On 31.03.24 15:34, walther@technowledgy.de wrote: >>> I'd rather adapt one of the existing tasks, to avoid increasing CI >>> costs unduly. >> >> I looked into this and I think the only task that could be changed is >> the SanityCheck. > > I think SanityCheck should run a simple, "average" environment, like the > current Debian one.  Otherwise, niche problems with musl or multi-arch > or whatever will throw off the entire build pipeline. All the errors/problems I have seen so far, while setting up the buildfarm animal on Alpine Linux, have been way beyond what SanityCheck does. Problems only appeared in the tests suites, of which sanity check only runs *very* basic ones. I don't have much experience with the "cross" setup, that "musl on debian" essentially is, though. All those things are certainly out of scope for CI - they are tested in the build farm instead. I do agree: SanityCheck doesn't feel like the right place to put this. But on the other side.. if it really fails to *build* with musl, then it shouldn't make a difference whether you will be notified about that immediately or later in the CI pipeline. It certainly needs the fewest additional resources to put it there. I'm not sure what Andres meant with "adopting one of the existing tasks". It could fit as another step into the "Linux - Debian Bullseye - Autoconf" task, too. A bit similar to how the meson task build for 32 and 64bit. This would still not be an entirely new task like I proposed initially (to run in Docker). Best, Wolfgang