From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yI6uGO1pTGdLXgEA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 13:51:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yI6uGO1pTGdLXgEA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 14:51:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MKPO0Cpa; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733061101; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AjLynTcXVfeZZli8JoqEFk0LMAB0Fwk+qP0dFFHDngI=; b=Ut+LhCWctcO+F5iAuYUW/s42zws4RJzLrKSSBejvuI30XsaE2LhbjryfkSjYmCihIjoDl6 p9f/ghlG4zEQ5wbppmpsVmYShT6oNaPygpz/XV/Liuxyjvx7Oixztvkv8WEnlqhJeySDxe 1V3BDInm4CwsJUfDc+iR9a735+cb+sKMO+bC0xDkW09S5btc+bn902QXp7nXky8k3yjQd8 hx2yHAoQCZtnG3upfw5Kb2mr2rNJjxZfPkNF6vJqpKuGgD1cPiRw9qJMKK8gMhsieiIVWe z3WFa+vNXJtR5wQsBW7rwMbsH9gPCeS/0ju4zVHmI6DBnwGeSA7RUP2KYsQ+GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MKPO0Cpa; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733061101; a=rsa-sha256; cv=none; b=aYafXHfKLr80lewYGS884Gk0dz983oniIRo2m57E+jwILczjvIRyxoAFJJnUE8rj/GhU3o qIxavNAgJ4ZmRHUg/bH2lzWo/xKM4Mr353qla/lP72aUaeGDNod12h6RObZXVTIwXQJz9V XaFuJppoLAokhey2jrcy5lnuwEzFXgw7dNY7SlR7cM0EhWV4A3vK80LUpiCWZxzJ5fVDnk 6aSZPEs3mrj6ZMghwbL5/b2U+efFxceHNdBlrJdD6eGpoDfxrI6eHomd3yuO28ducFUyhj yj8ia17KRKrASpV74GPIRGz/CJHhmoTSaZEP9CxEf/HezAV1NBuUAoRyszlsVw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EED814410E for ; Sun, 01 Dec 2024 14:51:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHkLu-0007OA-Ch; Sun, 01 Dec 2024 08:51:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHkLs-0007Nv-2P for guix-devel@gnu.org; Sun, 01 Dec 2024 08:51:08 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHkLm-0004fB-BL for guix-devel@gnu.org; Sun, 01 Dec 2024 08:51:06 -0500 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-385e5db74d3so643835f8f.0 for ; Sun, 01 Dec 2024 05:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733061060; x=1733665860; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=AjLynTcXVfeZZli8JoqEFk0LMAB0Fwk+qP0dFFHDngI=; b=MKPO0CpakwnnVIb0j99RW6o1mYdXKM8zGDxrynLq+ZWlfeaBXjmT9G4Ij2PUn4gGcN MTp3KDwQpDdleecW46BjBjNVgwGcibvSLSSrFoaQsdmIIDjMf6qpcyUm94nGSFN1t1i6 PwTBAjQrPqd7T2Lo8OM7ChoBJ+2RR2ZuAtPcdetP6/6dFt58h3Os8riEBUk1dM2P9wlz 9byJiEMka56+IrTYPyuSYBNwbs2gOWNNAqPUp3uNBjVl0H0JSvEueV9YEINHxKVRUY7R Rd1G9lZ5X46NSvsac1jMhDUczroArac/UH8OW6baTL+BKbr9hv2c5EzE+J6l7+StFDlq tvGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733061060; x=1733665860; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AjLynTcXVfeZZli8JoqEFk0LMAB0Fwk+qP0dFFHDngI=; b=qWt9swkZMExy9tErYS7m9CiKNEa4qADe9BZFzlVlYoRWix/0rDh/9VPQI0GmpGun4t KUK9xgCOD7bSJCb8z/3YLjBCxClUYfYfNrvsNKwS00mtdAEIRuLzg0milHFSC8Mj7uwO kDu7Df8OzpeiJd45lFVgkMP1+MNIru1fKsbP+g7TCkm/JYgXJnDuLUopsBGtAGugFQwA r40Rwy+GqHbnmDic1yPal3coO3YoFaa854AmJlzBfc7s1XbL9wCLI4r/xPlKb9pJQZVq tIiCZQNiKN5nXL6bDkbrhvqTovfC1iI6UyFlALWnnaEsJFbIkVpCFNp8XnCvqSBsYJY4 MxQg== X-Gm-Message-State: AOJu0YxaZlYkV0QIJnwPe9HL/5h/O/Jz9nbFI8pi16341ZvMYFY6BJUY 4AnqyyGh9FIFgNYLYCKa4oBeqZHh/SlEuIjYwSQBHOwQ9hQw819TATwd/E6L X-Gm-Gg: ASbGncsyb29O4xGHkQ6dbfzJCJAnq96i8xtCwFUTLRNvrWS1ktkALsMN44mIkjhcO3z D79GFPVNiMGJZJHQjZ7laTuns+Vv6NgdWX9zhY+idAFYMrBwNdkkPOfuzHFhff3jEvSPjij3Ki5 toOX+jDeE6gF8ftNn34IohXjLiLZK9/GNBVmTw0p3HCSFrEz0TUdQmnuwPRe5exX20WMaOJXlOq EgcMEK+HnwICoa3kppNoWFx3536M6d/igVkAaxo8BhbJzM= X-Google-Smtp-Source: AGHT+IGwCXnjFWO7/ImMCMn25g2Z6ifvUefN95fHM2xTkUFNtYvaffBZce7S9qfEUodikVDgGNwVkA== X-Received: by 2002:a05:6000:1849:b0:385:e36a:e19f with SMTP id ffacd0b85a97d-385e36ae3admr3389326f8f.41.1733061059951; Sun, 01 Dec 2024 05:50:59 -0800 (PST) Received: from localhost ([141.226.9.46]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385e90949cdsm3463894f8f.17.2024.12.01.05.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 05:50:59 -0800 (PST) Date: Sun, 1 Dec 2024 15:50:57 +0200 From: Efraim Flashner To: Ian Eure Cc: guix-devel@gnu.org Subject: Re: guix package -i kicad will fait with #error "Unsupported CPU architecture" on my Talos II Message-ID: Mail-Followup-To: Ian Eure , guix-devel@gnu.org References: <470ec6f8e76e17034c119d138a05b576ee05fa9c.camel@platen-software.de> <3ee2fb14-8869-405b-afa1-0280f3ab3ebc@app.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AUY124PDgXdBj8Z7" Content-Disposition: inline In-Reply-To: <3ee2fb14-8869-405b-afa1-0280f3ab3ebc@app.fastmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.25 X-Spam-Score: 0.25 X-Migadu-Queue-Id: EED814410E X-TUID: KF6Oa0iTHwFe --AUY124PDgXdBj8Z7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 30, 2024 at 08:59:02PM +0000, Ian Eure wrote: > Hi Tobias, >=20 > On Sat, Nov 30, 2024, at 8:18 PM, Tobias Alexandra Platen wrote: > > When I try to install Kicad, I'll get the following output: > > > > The following derivations will be built: > > /gnu/store/5rinv8djwjz0bdami6nr6cm3zj382fsb-libcxi-1.0.1- > > 0.5b6f8b5.drv > > /gnu/store/x26zsx3fw74vhfc35i79fansmlmhl0cc-libfabric-1.22.0.drv > > /gnu/store/nfj2qvhyxvfc7x5fkdlyg2z1wnpqw9cz-openmpi-4.1.6.drv > > /gnu/store/l1rbmwj9m4kgkm1qada665mm0m6g10w1-libngspice-43.drv > > /gnu/store/y88c48hzcm78ch39wjfa3dpdgw9n6m7r-webkitgtk-with-libsoup2- > > 2.44.1.drv > > /gnu/store/qv0zpz8h2dvhbmxz6smsbmc763rdkdxm-wxwidgets-3.2.5.drv > > /gnu/store/llydl3baxardzgf9xmdbgjikny68vaar-python-wxpython-4.2.0.drv > > /gnu/store/b0s2jgimknw6035kcqvpb6sdxkhakz7b-kicad-7.0.11.drv > > =20 > > After a few minutes the build fails with: > > > > building /gnu/store/5rinv8djwjz0bdami6nr6cm3zj382fsb-libcxi-1.0.1- > > 0.5b6f8b5.drv... > > \ 'build' phasebuilder for > > `/gnu/store/5rinv8djwjz0bdami6nr6cm3zj382fsb-libcxi-1.0.1- > > 0.5b6f8b5.drv' failed with exit code 1 > > build of /gnu/store/5rinv8djwjz0bdami6nr6cm3zj382fsb-libcxi-1.0.1- > > 0.5b6f8b5.drv failed > > View build log at > > '/var/log/guix/drvs/5r/inv8djwjz0bdami6nr6cm3zj382fsb-libcxi-1.0.1- > > 0.5b6f8b5.drv.gz'. > > ........ > > CC utils/read_lat.o > > ........ > > #error "Unsupported CPU architecture" > > > > I also found a blogpost which mentions libcxi, what does libcxi do? > > https://hpc.guix.info/blog/2024/11/targeting-the-crayhpe-slingshot-inte= rconnect/ > > >=20 > The package description provides a pretty good summary: >=20 > Interface to the Cassini/Slingshot high-speed interconnect >=20 > Libcxi provides applications with a low-level interface to the > Cray/HPE Cassini high-speed NIC (network interface controller), also > known as Slingshot. >=20 > > I guess that libcxi is optional for Kicad, so I could hack guix to > > build Kicad without libcxi. > > >=20 > I think this is worth a bug report, and maybe you're also up to sending s= ome patches? I think it's slightly more complicated than just the kicad pa= ckage, though, since libcxi isn't a direct dependency: >=20 > $ guix graph --path kicad libcxi > kicad@7.0.11 > libngspice@43 > openmpi@4.1.6 > libfabric@1.22.0 > libcxi@1.0.1-0.5b6f8b5 >=20 > So, I think what needs to happen is that libcxi needs to have POWER9 remo= ved from its supported-systems field; and libfabric needs to conditionally = include libcxi in its inputs based on architecture. I think the best way t= o do that is by checking for the build system in (package-supported-systems= libcxi), which will avoid hardcoding duplicate arch tests in two packages. I pushed a patch limiting cassini-headers (one of libcxi's dependencies) to the architectures it supports, and then I adjusted libfabric to check the transitive-supported-packages. Kicad should now build again on ppc64le. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --AUY124PDgXdBj8Z7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmdMaboACgkQQarn3Mo9 g1ElWg//bxUqnaQamEJ/Ec576NzDGFDfkQ9Mb5m4tWS2CE0QWZU5Vo2gHK/RUc6D 52kMRoDIHjIIamZ8mycshCgvrtEV8YwkW8I8gLbyXBsH1hHA0trn5KMxGMiPF9sw hu7Pn7ZlsNtqLzcU455ZLisPmCJM/T2Cmi+lpJux4TVzZ7l7gMUWmDFS/o/1/YHU QWRoXTxt7q4s3Z4YT5fZz/gmXVUOuj6xCILihDr0sKSkivP5q3263ChSbqUO36Rj +F5QB/GhDxymjZykxj3MSRwcFWJ0fKf4upp36+48vjM7qzmMxpMxWMHPSTBkVDu/ K3Q4O+dnCWNHu8cxjpNwovvZ16gUIZxNxo1A2lt0OWhm5fnKBNizaaU3n7FkC8VH 7nmvbSZW/+D2KL15ADNcPae1VvW0HPuyeES/iF68iBhAfIlWDE50nngUnhEnieRu zSM3ZN2xxnTjacmGs4OjZl+2GodDq5j/b2FKQj/4gPgzYA58xpHD47EIlt/bLvAx Tp5+HLN/a/dwgvTjd+L19/NSnWP980ifaq6CMrBdHljO+AMqJEaGBWrYq60dj4Ni PiqvKvyAd5xme7Wb0sJg0MflHOcIOO2P5iQmJuOqMWjS4vvLFp0pe2FouYjuFpP+ u8iPfftCb0COinoSfmeR3FUU1ziHZEA4EQ6alkzhQBPUwhoK17w= =vcYB -----END PGP SIGNATURE----- --AUY124PDgXdBj8Z7--