From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yCPmIzWiTGeuXwEAe85BDQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 17:51:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yCPmIzWiTGeuXwEAe85BDQ (envelope-from ) for ; Sun, 01 Dec 2024 18:51:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733075509; a=rsa-sha256; cv=none; b=eKw4c7s2jgnA07dHfAh6nytmspP67SisclsTyiHOsY8sGowkrcDwJtFISeF71RZtsspo0I mze5mt5D69trybJ4Hw3trM3gUXV4IPbSkejGb7eJJhuPS2PamgJSkQ1ntXpSuHL8OniO3l Hst5CA13TMsx0EGODj2NmyX9mrte1LkI83prlRy8yqVRwzLQ4Wtsrj73iCSJCLVmOXSjpA XcHEKkk5lo8p7W91cl8AWFDFqAbfV/ybI9SW0FjhIwryfYYUtzASWp2b8xpMqe6fjfnNFu +GWtV2pqbfZS/UsY825JbJA+4xFmO0W6vgLI7svYbsZT2gPwr+dN6iWtT0RoIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733075509; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=vfZqIAN4h3nvxRiCa9Lz8V1e2Xf+hq03h83QKn3tiyQ=; b=sTW5HOwaqBEQ1aKduRGL7ejzycgMXCtJVXlyBjdiROGwD+NW7A72sFaiWpKeAyza/VdU3Q pxeMXGPiwViNuDlVWebgOVaj9s+2Qfe1SmpgTSkJk+ayzp6M7oL5nmj5jS8IiLDP1pqwYH J5Ej40FJg4pEK4KoACOo8gwOETNdEZNYx99CVrZelhXwy/hsvxBXtMQ1rELzdvcccUkUsS 8muqZXHrHTFfzCZ8F+gaFOUSxLeFm2JkfEP9DxwAXGACljeVftYoKiqu1weMbtz6PWLV8f 5BcEap5uY5X8e4r64lDeI+MriMQvH2u81O3ZWKRax+RpFRobZO1AU04izAhLnA== 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 E92C47AD53 for ; Sun, 01 Dec 2024 18:51:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHo6S-0003oY-86; Sun, 01 Dec 2024 12:51:28 -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 1tHo6Q-0003o6-W7 for guix-devel@gnu.org; Sun, 01 Dec 2024 12:51:27 -0500 Received: from mailout2.hostsharing.net ([2a01:37:3000::53df:4ee9:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHo6N-0006Qw-Ss for guix-devel@gnu.org; Sun, 01 Dec 2024 12:51:26 -0500 Received: from h20.hostsharing.net (h20.hostsharing.net [IPv6:2a01:37:1000::53df:5fec:0]) (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 "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mailout2.hostsharing.net (Postfix) with ESMTPS id 5A6AA10189945 for ; Sun, 1 Dec 2024 18:51:18 +0100 (CET) Received: from anna.fritz.box (unknown [195.52.18.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by h20.hostsharing.net (Postfix) with ESMTPSA id 2DAD915E3CF for ; Sun, 1 Dec 2024 18:51:18 +0100 (CET) Message-ID: Subject: Re: guix package -i kicad will fait with #error "Unsupported CPU architecture" on my Talos II From: Tobias Alexandra Platen To: guix-devel@gnu.org Date: Sun, 01 Dec 2024 18:51:17 +0100 In-Reply-To: References: <470ec6f8e76e17034c119d138a05b576ee05fa9c.camel@platen-software.de> <3ee2fb14-8869-405b-afa1-0280f3ab3ebc@app.fastmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:37:3000::53df:4ee9:0; envelope-from=guix@platen-software.de; helo=mailout2.hostsharing.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: E92C47AD53 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.42 X-Spam-Score: -3.42 X-TUID: ifeV6ZnwtJHq Confimed, it is working. On Sun, 2024-12-01 at 15:50 +0200, Efraim Flashner wrote: > 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: > > >=20 > > > The following derivations will be built: > > > =C2=A0 /gnu/store/5rinv8djwjz0bdami6nr6cm3zj382fsb-libcxi-1.0.1- > > > 0.5b6f8b5.drv > > > =C2=A0 /gnu/store/x26zsx3fw74vhfc35i79fansmlmhl0cc-libfabric- > > > 1.22.0.drv > > > =C2=A0 /gnu/store/nfj2qvhyxvfc7x5fkdlyg2z1wnpqw9cz-openmpi-4.1.6.drv > > > =C2=A0 /gnu/store/l1rbmwj9m4kgkm1qada665mm0m6g10w1-libngspice-43.drv > > > =C2=A0 /gnu/store/y88c48hzcm78ch39wjfa3dpdgw9n6m7r-webkitgtk-with- > > > libsoup2- > > > 2.44.1.drv > > > =C2=A0 /gnu/store/qv0zpz8h2dvhbmxz6smsbmc763rdkdxm-wxwidgets-3.2.5.dr= v > > > =C2=A0 /gnu/store/llydl3baxardzgf9xmdbgjikny68vaar-python-wxpython- > > > 4.2.0.drv > > > =C2=A0 /gnu/store/b0s2jgimknw6035kcqvpb6sdxkhakz7b-kicad-7.0.11.drv > > > =C2=A0 > > > After a few minutes the build fails with: > > >=20 > > > 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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 utils/read_lat.o > > > ........ > > > #error "Unsupported CPU architecture" > > >=20 > > > I also found a blogpost which mentions libcxi, what does libcxi > > > do? > > > https://hpc.guix.info/blog/2024/11/targeting-the-crayhpe-slingshot-in= terconnect/ > > >=20 > >=20 > > The package description provides a pretty good summary: > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Interface to the Cassin= i/Slingshot high-speed interconnect > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Libcxi provides applica= tions with a low-level interface to > > the > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Cray/HPE Cassini high-s= peed NIC (network interface > > controller), also > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0known as Slingshot. > >=20 > > > I guess that libcxi is optional for Kicad, so I could hack guix > > > to > > > build Kicad without libcxi. > > >=20 > >=20 > > I think this is worth a bug report, and maybe you're also up to > > sending some patches?=C2=A0 I think it's slightly more complicated than > > just the kicad package, though, since libcxi isn't a direct > > dependency: > >=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0$ guix graph --path kic= ad libcxi > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0kicad@7.0.11 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libngspice@43 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0openmpi@4.1.6 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libfabric@1.22.0 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libcxi@1.0.1-0.5b6f8b5 > >=20 > > So, I think what needs to happen is that libcxi needs to have > > POWER9 removed from its supported-systems field; and libfabric > > needs to conditionally include libcxi in its inputs based on > > architecture.=C2=A0 I think the best way to do that is by checking for > > the build system in (package-supported-systems libcxi), which will > > avoid hardcoding duplicate arch tests in two packages. >=20 > 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.=C2=A0 Kicad should now build again on > ppc64le. >=20