From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 oCDoBh4uBGdPaAAAqHPOHw:P1 (envelope-from ) for ; Mon, 07 Oct 2024 18:53:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oCDoBh4uBGdPaAAAqHPOHw (envelope-from ) for ; Mon, 07 Oct 2024 20:53:18 +0200 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=Ek57YgJg; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=F0O0iKrQ; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728327197; 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: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=AEE42sylsDYne4bIhWHuGrkvKq2zPIX09V4NmAV2Omo=; b=RQdoteDaSFl+w+SUkJn5faeb7qFHQY8mQWNHREoDkkNQe/EffZzaJarybo4/TAXsW7snM3 AdNhl6uewE+XlB3Xr4B6s2pFTZpOv4x2gzQG0e1VZn4lsqkbWYi5AeD2JZKghliJYu5G/r Amhp+MUTD3JNBoi8GWhyTcekY9aukItibs8QfDXd3HEwHdWub6O991v05TAtSPOPMcEZ5P bAB6aFqhHij5qb3n/zQyUf6hLXb4N0McEcI4hZm7BU8LWHvORU6y6KFD4BhJDaQZHSELpv L/knPXi+W/KUNqS6etdY+LYsRW81heYJOE+NJV28Sw0Rfyuq2mTbPWwmCmRIlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728327197; a=rsa-sha256; cv=none; b=jMaV5T0bfnHciQ+hIhFu23iTBveY49mNi2oLC5a6xpTnUfKjhLlhojpM3yri2VzVS7hdzN V7+dNaay+GGJ7JNDtyPgj7CIhSLyWuh5eU9bJ2QUrZ/igybqAVrpCfsTl5bGzFKYiwt1Ve YZQ2yXctDBiiBzKFuU1IRW9xWtvNUeMRsDpatS9U7Ie2g/T3X0g9RxCW8w9lYuka5k16em t/JYm7Jadp5a/uJWVOC8JJ6GQddhYQDfEXDUZh0UR/ltpJ2vT10yzo4KkSVpR/KgmGVBEN 4QfARsbq/T2E2mg4SCF1n9uIY/VOQo3vb/XPBEkOoM6QGUb/VSaOAAaZ2+d6Vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ek57YgJg; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=F0O0iKrQ; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 29612504F for ; Mon, 07 Oct 2024 20:53:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxsqm-0006I7-HA; Mon, 07 Oct 2024 14:52:56 -0400 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 1sxsqk-0006Hq-Vr for guix-patches@gnu.org; Mon, 07 Oct 2024 14:52:55 -0400 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 1sxsqk-0001V6-Et for guix-patches@gnu.org; Mon, 07 Oct 2024 14:52:54 -0400 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=AEE42sylsDYne4bIhWHuGrkvKq2zPIX09V4NmAV2Omo=; b=Ek57YgJgp4tDIg2/KZX15QwtxV9xxyiRXK5DvTCQnEBVEtVLo0/zuAQksGDDUiw3f03ksMo4n2l7q5ASlZ1Bb7jfvey4jbSf7ugZ2ovxtaMXFj7ApyI5svjPrdC+SuUMKZqCOD03dAAqKhAyKnG1mWVRU82GbQ9eqenE5LaJ1cQ7vG5UD1XWmszi6nbIc7QfZcyc2cczc0B3UbjOAuW62qV3/LXvimr+BQAdR9Uj3VoH/PAvWugI75TOsoA2sDbMbE2C4qjDLAsNtbjCz58jUWJv76Xhiy5+r9ZVnyD3wXC5e3GUqu6yGNvkFVoL7Afhk1XYVAkuNXxHB72w5TEuhg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxsqr-0005dV-T5; Mon, 07 Oct 2024 14:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v10] gnu: Add jpm. Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org, "Suhail Singh" Resent-Date: Mon, 07 Oct 2024 18:53:01 +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: Omar Bassam Cc: 72925@debbugs.gnu.org, Suhail Singh Received: via spool by 72925-submit@debbugs.gnu.org id=B72925.172832716421639 (code B ref 72925); Mon, 07 Oct 2024 18:53:01 +0000 Received: (at 72925) by debbugs.gnu.org; 7 Oct 2024 18:52:44 +0000 Received: from localhost ([127.0.0.1]:48163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxsqa-0005cw-3q for submit@debbugs.gnu.org; Mon, 07 Oct 2024 14:52:44 -0400 Received: from mail-qv1-f67.google.com ([209.85.219.67]:60482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxsqZ-0005cp-1j for 72925@debbugs.gnu.org; Mon, 07 Oct 2024 14:52:43 -0400 Received: by mail-qv1-f67.google.com with SMTP id 6a1803df08f44-6cb2c5128d5so37966546d6.0 for <72925@debbugs.gnu.org>; Mon, 07 Oct 2024 11:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728327094; x=1728931894; darn=debbugs.gnu.org; h=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=AEE42sylsDYne4bIhWHuGrkvKq2zPIX09V4NmAV2Omo=; b=F0O0iKrQ+8aRJkCOw3IIGXa4B6dD3XrXb1+rbKFoybbKAUiUWM8nVt7hB4QuFkL2mx QQ2TtK97D9f1Tu/fhtZYhTESyWDaEQGha0zFH6FHH+tkrl3uNYK4Wq8mPxqiK9Gs7TMJ be/QIJ25ymINYI5dSwVoovOLy8N36N2tJFZ7ohRUGxzaxoW7Ux5FRrvZZWmg7khQXzn1 NeqekHvlyLLr/FUZIEpLs6JPpNGqALBTNBE8gvDY0m5/+Peq3pANm9sVBCCOtcgPkjtx DfW/ufHqRZRrSNitg43QvrSmx3xRyPv8kzl5zbZ7ZCqJHmPtlsFYCNzK+P0WvKzr8Mf0 raKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728327094; x=1728931894; h=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=AEE42sylsDYne4bIhWHuGrkvKq2zPIX09V4NmAV2Omo=; b=QnxAP72laTHwMQMKsv3fXljCMttMZsXBsYIOq4/oXWDvkihiqNU6xkeK0lR/1OoAXc Dj2dVHJ24tTpz7tIG8OmscBC/7X9nrRCsF+HCm16F/R7BP07YQhhaUHTYo6xc5mY3ZMM tqUtWoWVgOOqJM+72FM36jlUZelQEECP0g4sCo9JqhXvgDiJHLAQ0l6EU7OljLd5KDZ0 Z49Es97ch8Pe5GijUECUrSdlcMFHBUEJOrh9lzsxG29jN4zRVKAVN1RloMRvxGL4ygfh MZnjtEbiUQlOVxUAYl+ug+UTn/5HfrsrxEvnAqjIjPuZ/b3/p/9tMNn0ABGAzAnsDmeg gQ/A== X-Forwarded-Encrypted: i=1; AJvYcCU/TGuwMsXvvMXS4ADKgOyRIvrTqg2p9cTAke530RdSkOlGJf5XejVH78tklc87/3D17oiuHw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzduBYu7JiwSArvoVRSBtJvkGOI0JUnY5BoN0tEuYSnEfQtvkrk rk7JVKLry5eWmQJsBMNVwV7BiJRzbyNbwqtsOzpZFBCapGB3/dIFJjt8eQ5s X-Google-Smtp-Source: AGHT+IFd2uL8s2mpwtvJNWjq2xXOs52t1kMJ6NV9XujNtN/Of2mVC+PutE82Laki9mXDuCDZJj4wYQ== X-Received: by 2002:a05:6214:5983:b0:6c5:73a6:ff37 with SMTP id 6a1803df08f44-6cb9a308253mr189209656d6.5.1728327094157; Mon, 07 Oct 2024 11:51:34 -0700 (PDT) Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cba46dfd5fsm28102246d6.52.2024.10.07.11.51.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 11:51:33 -0700 (PDT) From: Suhail Singh In-Reply-To: <871q0rhiu6.fsf@omar-Latitude-5540.mail-host-address-is-not-set> (Omar Bassam's message of "Mon, 07 Oct 2024 21:24:33 +0300") References: <6e198e7dc1f64bea3a2b1498fb69e597e4d03360.1728148557.git.suhail@bayesians.ca> <87o73xgyf2.fsf@omar-Latitude-5540.mail-host-address-is-not-set> <87msjh5j5f.fsf@gmail.com> <87bjzxgggw.fsf@omar-Latitude-5540.mail-host-address-is-not-set> <8734l86h4l.fsf@gmail.com> <871q0rhiu6.fsf@omar-Latitude-5540.mail-host-address-is-not-set> Date: Mon, 07 Oct 2024 14:51:22 -0400 Message-ID: <877cajiw5x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.29 X-Spam-Score: -0.29 X-Migadu-Queue-Id: 29612504F X-Migadu-Scanner: mx13.migadu.com X-TUID: bEv6YNYnqFQp Omar Bassam writes: >>> I gave tried replacing gcc-toolchain with gcc and both the "jpm install" >>> commands and the "jpm build" commands worked fine for me without any >>> issues. I didn't need to set up any C related environemnt variables. >>> What kind of error where you getting? >> >> I am unable to get the exact message at the moment (due to non-technical >> and unrelated reasons), but it was some missing header file. >> >> As I mentioned in the quoted message above, however, what would be >> better than propagating gcc, g++ etc would be to ensure that jpm passes >> appropriate flags when invoking them. Have you looked into that? >> > > I am not really an expert in compiling C programs so I'm not sure what > would be the best way to verify this? the "jpm build" command ran fine > for me and I don't have any of those C*PATH environment variables set. When gcc-toolchain is excluded from propagated-inputs, and neither gcc nor g++ is in propagated-inputs (i.e., propagated-inputs only contains janet), you *don't* observe a build failure in a _pure_ container where nss-certs is available while evaluating "jpm install -l sh"? If so, please let me know and I shall try and reproduce the error I experienced. If not, and you are simply stating that things work by propagating gcc and g++, then we are talking about different things. Specifically, I was considering what would be needed for eliminating gcc and g++ from propagated-inputs. > Is it possible to set a default value for that environment variable? Since you already set $JANET_HEADERPATH and $JANET_LIBPATH via wrap-program, I am not sure I understand the complication you're running into while trying to provide a default for $SSL_CERT_DIR. -- Suhail