From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id INraObtSKmcxHgAA62LTzQ:P1 (envelope-from ) for ; Tue, 05 Nov 2024 17:15:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id INraObtSKmcxHgAA62LTzQ (envelope-from ) for ; Tue, 05 Nov 2024 18:15:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WC5XzZPr; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ECllOK5G; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730826939; a=rsa-sha256; cv=none; b=RoRqAQg721Nmy8idDDXYh+I3p9emRYnQv214ALA3MKyQiGTbJywq7jAePvMG/7aLjoNF5L yd2cdPkVLyC6jrg6/wXPMbvUGwP8qZTW+plL97GzcmCn4Bsglfy1TzW2RFkv3nC7p7dya0 RX3El+T459VTxQVh4B9nNTr/eO6q9Z79s2EO0JT+qOH0OGA/7L2r5q4TO+nuw2NM+hcPPY zzbjXesxdyGS11QA5tNfQIbnCyYn5/h/u4kviDz8Gqq9gEe05qe9Gxxb7FiOz6KZVWlmbb 282LDAx9h47u4l5a7L7pOmGASOpusv9vXdn+ZnNqmlGWqXbwBoywRbihKwxjeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WC5XzZPr; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ECllOK5G; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730826939; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pIT35hmoAIlO3/b8df6JSKDL13AdHDQ5fceW292/Crg=; b=aGZ73KeJ3fXST1a0hggRcgQ8FBKRbS4ekP7UYHZlqDmXXK64bnjYnuCejSasbX3sESoD6L c5IbiQ42GDWCbC1efyKuMLKKr7adtaTXVlfVCNsiyPgwiHWKz9XZAk7I93hzW8VgieqcXx xtcIq3323tFknCVp9A9Y0hrnJTlGt5e5CtW3bsp7nnJjJ4aTxRyBLsHcjieiDb005teIRi wI7po7z34ms1wLCrRfbekKqAQLqBJWFqiTHRDH0O1Jve9VZWqpAShlBYO322iVsY6wIn2q M1H+aHmdFJq9WziKva0t5sOzeywqfKDeaJ0SmW1/J0s6azJPQNDXVfvBB9Kjyw== 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 5DB7F756D5 for ; Tue, 05 Nov 2024 18:15:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8N8z-0001Qc-He; Tue, 05 Nov 2024 12:15:05 -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 1t8N8x-0001O7-MO for guix-patches@gnu.org; Tue, 05 Nov 2024 12:15:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8N8x-0007M9-Cz for guix-patches@gnu.org; Tue, 05 Nov 2024 12:15:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=pIT35hmoAIlO3/b8df6JSKDL13AdHDQ5fceW292/Crg=; b=WC5XzZPr9QRd2ZZlaTNGKRLkabp3H7yrW1ls+DYvW4V+F4LV64+1wOFTPRZ8fWevKhB5OgQZt+MBQSzBK1zNK5ak+3HQ1xpEseTCVfOk5x7BXYvIvINUj/sAPVsf7vnlODD7EqOFefJ/jLsAP4nygxrQZEXXe/Wj0+h60bEu7Pj1TLKoP/VQhhaobiMt/zi+Cci6om6AAvoejVzh8gi1DGYYxh0+kbMuvTvVnLvTSzAXsOj6Q6XP2I9FEav8JOlwWut15cEwHysbMDbqWLF91x3xdD7DuEFR8NBZIm63uXL5gLvsDvZHOMIctA3C3wga+QQMGIeFtNJRWALaHdJJMA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8N8w-0005lA-8r for guix-patches@gnu.org; Tue, 05 Nov 2024 12:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] Adding JPM package for Janet Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72925 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Sharlatan Hellseher , 72925@debbugs.gnu.org, Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , jgart , Suhail Singh Received: via spool by 72925-submit@debbugs.gnu.org id=B72925.173082686622117 (code B ref 72925); Tue, 05 Nov 2024 17:15:02 +0000 Received: (at 72925) by debbugs.gnu.org; 5 Nov 2024 17:14:26 +0000 Received: from localhost ([127.0.0.1]:44719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8N8L-0005kf-Kc for submit@debbugs.gnu.org; Tue, 05 Nov 2024 12:14:25 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:61604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8N8J-0005kO-Sz for 72925@debbugs.gnu.org; Tue, 05 Nov 2024 12:14:24 -0500 Received: by mail-qt1-f194.google.com with SMTP id d75a77b69052e-460b04e4b1cso40202291cf.2 for <72925@debbugs.gnu.org>; Tue, 05 Nov 2024 09:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730826798; x=1731431598; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pIT35hmoAIlO3/b8df6JSKDL13AdHDQ5fceW292/Crg=; b=ECllOK5G4xuDHH4da1GbvczkqLdeijBg16vv9iaFQIeZe8IXgGr8Vm0S8+oJ+NAg4S G0AgOdApEEqCjoAM3lI6U3eH7GHrPggMbuKpLr+o8ISM7ZCjQKtH7V3NhsaaCZrZYqLW ig0GVoenw1r5ENG3Sw8ijDCNJ2BOrog8fPaAxa/99FFgp3Ea9s8RVETKEyDOwop2IGNM +oppR4JoB/Lh/zjjqnOji5QGs8Qs9a6JfXeBHVP4wXG2NG5Mq1Ub4XYCkxgrfqk3NhEv 6X2OejcL2HKfkPeG0ZDiYiO42ZQsGLlDCtsFTL/1TNd4P6sKl1eZSzoyE4NPNPnl87/g pmAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730826798; x=1731431598; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=pIT35hmoAIlO3/b8df6JSKDL13AdHDQ5fceW292/Crg=; b=wrQQ8yQNdVCZ7vms3IQS8eRGAesTryuT34L4aa7IXNOm+wYGZeRZL/YWeyVz6Z8E50 SdQ3ag/XxTXRJ/O1iwvoo3qtsiEVdBzbh8+MjtsMKD1MwKQlHpiS3m7ZCR0SuHMulBGg 4KHlnLyMDgvVA4lHrT3OubfzfvyCNUOXLGMWdXiUREmfyQtvIXYRIBVdXxsBwyh9XTMK L5tL5xkVhfUI59yEuJd/bo1EcmHYlYLZ9V0uAIoPMPLaLKT+Cpl81Wk0OAyPxFdidmuz MbDL8QO7/IFxs2m5j+L1ol3XDeFs7aSjr/k9kyBUiw9NgNjZSeq5HPVNYCz+dPXahk4a QsGQ== X-Forwarded-Encrypted: i=1; AJvYcCW0Pm/N9yhibiDPhNgdtid/MSRO65OOxRK3mZQEGt90JusBKxb7/aPyr4m7YhhkP24iY+tivQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxVi8EArFZVPIbmWIcNKtS3CBCC5Ri+glL6nc3bFNRFKOSALzU+ RDdzpqaADAschUcyULcIsYFgzSZQkCr67HpOewYHUIc3/YMeLpaJ X-Google-Smtp-Source: AGHT+IE/JBBd1AltwZpIZJ28dCYUIBa8f5/u5dg/i/2yZGc5YCg2WiyekpYqBFFAjeBye2ZeGpd95g== X-Received: by 2002:a05:622a:34c:b0:461:313e:8868 with SMTP id d75a77b69052e-4613c1c6c65mr550577591cf.50.1730826797975; Tue, 05 Nov 2024 09:13:17 -0800 (PST) Received: from gnus (bras-base-mtrlpq0776w-grc-36-174-92-178-190.dsl.bell.ca. [174.92.178.190]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-462ad161f62sm61109751cf.60.2024.11.05.09.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 09:13:17 -0800 (PST) From: "Suhail Singh" In-Reply-To: <875xpxuipi.fsf@gmail.com> (Suhail Singh's message of "Sat, 12 Oct 2024 17:14:49 -0400") References: <4665e2a478a63cf0bc6b8a18a2fb44687298bbd7.1728359428.git.suhail@bayesians.ca> <87ldyts0cm.fsf_-_@gnu.org> <875xpxuipi.fsf@gmail.com> Date: Tue, 05 Nov 2024 12:13:14 -0500 Message-ID: <877c9hr4d1.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.02 X-Spam-Score: 1.02 X-Migadu-Queue-Id: 5DB7F756D5 X-Migadu-Scanner: mx10.migadu.com X-TUID: EzMe8L2cR9fQ Ludo=E2=80=99 (or anyone else with sufficient experience), Suhail Singh writes: >> I suppose JPM shells out to GCC to compiler Janet (or C?) code, right? >> >> I=E2=80=99d recommend adding =E2=80=98gcc=E2=80=99, =E2=80=98glibc=E2=80= =99, =E2=80=98binutils=E2=80=99, and =E2=80=98ld-wrapper=E2=80=99 to >> =E2=80=98inputs=E2=80=99; that=E2=80=99d less us avoid the =E2=80=98gcc-= toolchain=E2=80=99 dance. > > It seems "ld-wrapper" requires (gnu packages commencement) and this > results in doing the lazy dereference similar to gcc-toolchain above. > Am I doing something wrong? If not, is the guidance still to add > "ld-wrapper" to inputs? > >> Then in, the phase above, make sure to =E2=80=98search-input-file=E2=80= =99 rather than >> direct references to these variables. > > Hmm just to be clear, instead of: > > #+begin_src scheme > `("C_INCLUDE_PATH" ":" prefix > (,(string-append gcc-toolchain "/include"))) > #+end_src > > > What we want is something like: > > #+begin_src scheme > `("C_INCLUDE_PATH" ":" prefix > (,(search-input-file inputs "/include"))) > #+end_src > > Is my understanding correct? > > If so, adding "gcc", "glibc", "binutils", and "ld-wrapper" seems > insufficient to make that work. The search-input-file for "/include" > results in a "&search-error" when building the package. Could you please clarify the above? Is v13 I sent good enough? If not, could someone provide guidance on what's left to do? Regards, --=20 Suhail