Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 38A8A782B03 for <~alpine/devel@lists.alpinelinux.org>; Wed, 3 Feb 2021 13:03:38 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id BF8A6192C19 for <~alpine/devel@lists.alpinelinux.org>; Wed, 3 Feb 2021 13:03:36 +0000 (UTC) Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 41C52192C18 for <~alpine/devel@lists.alpinelinux.org>; Wed, 3 Feb 2021 13:03:35 +0000 (UTC) Date: Wed, 3 Feb 2021 14:03:32 +0100 From: Natanael Copa To: Alpine development <~alpine/devel@lists.alpinelinux.org> Subject: Replace -gnu with -musl in the python SOABI and platform triplet Message-ID: <20210203140332.544d0587@ncopa-desktop.lan> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, Python currently set the PLATFORM_TRIPLET to $arch-linux-gnu. I wonder if we should patch our python build to use *-linux-musl. I reported it upstream but apparently they claim that the platform triplet really is calling convention, and that for libc ABI compatibility they need libc versions. Upstream bugs with the details: https://bugs.python.org/issue43112 I wonder if we should just go ahead and replace the -gnu with -musl with an Alpine specific patch. The only downside I can see is that if you use the docker python:alpine image (which is built from source) you will no longer e able to use python modules from alpine packages. Is there any other reasons why we should not replace the -gnu with -musl in our python build? -nc