From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iCOeAdFeB2St1gAASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 16:57:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iKeIAdFeB2RMPQEAauVa8A (envelope-from ) for ; Tue, 07 Mar 2023 16:57:05 +0100 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 AFD1B1C853 for ; Tue, 7 Mar 2023 16:57:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZZfh-0006OZ-1n; Tue, 07 Mar 2023 10:56:13 -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 1pZZfe-0006O7-RX for help-guix@gnu.org; Tue, 07 Mar 2023 10:56:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZZfe-0000V1-ES; Tue, 07 Mar 2023 10:56:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=TsEc6QRNYtqOdMF/+ORYTfFXomx00EkjYQoDlyR89IM=; b=BtdrJObpWq518lMGLFVy ksN6ieAKThvAarb4PPcZWoI0LwtdtUjyYf8se3ibQeR+pby5PBiTi1ox93+R3tsTY80NVU6AHdCbD 51R19YKlOX3OtzpTXkylemnPhB5j81NUxW5OvyqJQZKloYprWRXcKjvG94Xxfy+63/ZtPMCTFtwFT TOnST+ofHVxOzfhycExiKgAdlBO0XXuh5KQRCupBu7jjZVhZ8dNBRdUP1BZn2kcuaj0mcfPbcdxeb AwMdJCEYUUn3cncJttmAEN496MbK8qqwuIF0OPr4lXVo017wHwaYv6Jt+kV4ZtAnCWVL5iKwnl3Dc aFxcvv9B57eLVw==; Received: from [193.50.110.138] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZZfd-0004gp-UI; Tue, 07 Mar 2023 10:56:10 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Greg Hogan Cc: Guix Help Subject: Re: Wrong type argument: package-input-rewriting/spec with inferior References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 17 =?utf-8?Q?Vent=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Doronic X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 07 Mar 2023 16:56:08 +0100 In-Reply-To: (Greg Hogan's message of "Thu, 23 Feb 2023 13:30:27 -0500") Message-ID: <87o7p4blnr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678204624; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TsEc6QRNYtqOdMF/+ORYTfFXomx00EkjYQoDlyR89IM=; b=P+LtnEaB9nWxY7rQMcQA5ydRLOtKEpKPzY3XB4NMxd9t+66w8v1eNJWV7K7qEJBBQ2jI5t qPYs53gqKuGq+JhAxjWakWecYr9seC115VNLUXReb8j5VC6Dgf1GjpaE3Ozc8fZBtLzepV FrOYqAz079dG8j1Xl09czpqf+WD1Kzt7zG/1Fj9UZ1WUf9TZqalLSsfb04tsmlUzOTbBLN k12q43mNB2y7r13wpiallfx+tHBrKCP5qw6LT8lGnMtCbhwQzl8oDf5JNTTnFZUVfA7VOW smS/IYWH/AgECYoXdFNaWirgu5/x83tDIRTuyEpFHjN8vdgqQAZ7SQBmuAnCTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=BtdrJObp; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678204624; a=rsa-sha256; cv=none; b=jlHJ+Ufhhh5h48FCT+pvwJwkOZm6LidXH89BNXAHOgJVniRagKzGD5WZwX2VKTNplMLu4P 8wnSsLsC7GdwM6f4sB9X3GxcLN+SK8FB10G1Ky9caZXp0qicLpJghYC3kj67sUD5IHL6v8 tSCBzXkmIWosmN2GlJK9T1YGIfV9d7cb4x4oaTPA8lSNrfdKb1Qe56rw1GdufaDzdpN9A+ CnxvV5/ZSDOM2iJ+TKrThMw900fKa+P8SuP9iopcn+twI5da7aBnQ6YR3hKUT2eOOXg8nZ oRN25NPbABXUOOYTx6GwdD+aJjDTUVpuPexP9kar0grg+sJRLUSOg0Qf5Tg2eQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=BtdrJObp; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -6.22 X-Spam-Score: -6.22 X-Migadu-Queue-Id: AFD1B1C853 X-Migadu-Scanner: scn1.migadu.com X-TUID: Y9oNw3QQNa3p Hi Greg, Greg Hogan skribis: > Having failed a year ago to build the latest gcc and latest clang > together using "with-c-toolchain", Is there a bug report on this? I=E2=80=99m curious what might be wrong; =E2=80=98with-c-toolchain=E2=80=99 should be the tool of choice for this us= e case. [...] > On master I modify the manifest to create an inferior for glibc@2.35 > from core-updates, but receive the following error when attempting to > use the inferior as a package. A similar question went unanswered on > StackOverflow last year > (https://unix.stackexchange.com/questions/699148/how-to-use-an-inferior-w= hen-input-rewriting-in-guix). [...] > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure package-properties: Wrong type argument: > # As you found, package input rewriting doesn=E2=80=99t work with inferior packages. However it=E2=80=99s a case where it may be easier to provide a glibc@2.35 package on =E2=80=98master=E2=80=99 and to use that. But then again, I wonder why you end up rebuilding glibc. For example, this would only rebuild LLVM and everything above: --8<---------------cut here---------------start------------->8--- $ guix build clang --with-c-toolchain=3Dllvm=3Dgcc-toolchain@12 -n substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 10= 0.0% substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'... 1= 00.0% The following derivations would be built: /gnu/store/hrpn8c11x52b9yax44x0spya90q6c3z0-clang-15.0.7.drv /gnu/store/f95nrszbdj72wbb22irvq230nm6ci07h-clang-runtime-15.0.7.drv /gnu/store/kxbjlkv9yjyg149aj6zc0w0sdgpdwhzn-llvm-15.0.7.drv 109.4 MB would be downloaded: /gnu/store/66sfk0k8419xvl7kg7r631z9yf9cpy3f-llvm-project-15.0.7-checkout /gnu/store/i291yk8ka6hamma955zgr2jh6cn21ybf-clang-tools-extra-15.0.7.src.= tar.xz /gnu/store/gm15qsiiy3jz3ainp6nv082m7lh9nx4p-rhash-1.4.2 /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4 /gnu/store/1yq0yi6hjbfhw578c4973454iwxc248n-module-import-compiled --8<---------------cut here---------------end--------------->8--- Maybe I=E2=80=99m overlooking something though. HTH, Ludo=E2=80=99.