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 6KETMHI0BGf3HAEA62LTzQ:P1 (envelope-from ) for ; Mon, 07 Oct 2024 19:20:18 +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 6KETMHI0BGf3HAEA62LTzQ (envelope-from ) for ; Mon, 07 Oct 2024 21:20: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=I6k4LO8C; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XWQI3tKN; 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=1728328818; a=rsa-sha256; cv=none; b=VMxYKcB7MicIemotgKHwdTQcdvNBhvQFusI+Iv+Hy/Bv9LRpps83vcs4y4nTo9WyYfbXAy Sqa4XYbq+3+zLPyWza3sHnlMl1HpHmp30kg+eml01VAfn8ycUOPRVGGSnbFSDgS5HwVWvi O02H2H2X7YQH9cAcFjxUuDm7PJbMFIbYC+Qh/CmkYutbwv4PT0aIyJeEBUU2vOnLU5Mcus UcRdCXrQb98dvjB48uEogOJqHVmprTL3ZJmo12zq1WRKZNFCFiXmfMf/+qVVWXZduU8cwr SHL6f/G4IFENhqpuNlK/28XE0WSQpcArLxxkhE8sARtWorJgxUtB++YlU3xfoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=I6k4LO8C; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XWQI3tKN; 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=1728328818; 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=cQxWPIMv1HrwUGuEq2XkgJTMKfdRQ8HPGw/KImw2mCQ=; b=NOuzZZEal/l0VuhozyuLdSangmir+AhpZPhpAzQl5jKkr8zM7I0MAk1RjVuFSONTrMDklF mY+SSJsjRQYyNN/0BvU7vR76S0KYEUbaZkOdTQErKMzNF5Qnmd+w5nDkXDsu/e7gu4qu4C ITWzYD+9v1elkoqqtoymrICUXbQ++G2gA9ReqhGfxXgjG6EitkZeHGMJnQGY8Ud8jT7kWs UGxomoASuOQcP+M3tfpgA1MWa/m5Ejw3x9CwwHTscm76bpgsYwwAsgXxWlEThpIrIadXPL hpPUqzvlfMM2816kb5A508AvYsrYxqrBGnwWLHLjVGXfYHhBhl4nIg+TfO3UkA== 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 1BABF79090 for ; Mon, 07 Oct 2024 21:20:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxtGv-0000ac-QT; Mon, 07 Oct 2024 15:19:58 -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 1sxtGC-00074O-5h for guix-patches@gnu.org; Mon, 07 Oct 2024 15:19:14 -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 1sxtFu-0004NR-SN for guix-patches@gnu.org; Mon, 07 Oct 2024 15:19:11 -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=cQxWPIMv1HrwUGuEq2XkgJTMKfdRQ8HPGw/KImw2mCQ=; b=I6k4LO8C0/bp+LzExn+mG27Oodwr/X50YsBB/YnfrzNQWIhETJfXX393+pJ0MIiki6bl3HT8FB7B9p8zXY3xyEh8IJ3yiNqrcewcjgdRCea+IrTkHc+PmBfmDXFYh8yWroOjt0AppA+DsvxIxpx1uP2hDkMuAadWP6R6zFBlLNVyOWgNFPBTW3aXE9TZLavLd1rDBHvfpSVY/OAEH0cSq18VeQ0Xt3n3KsqLizoK0QVyJzFsbF1MhJsJDowO9DYJgYgfykFZ7L/8X3R5zUpjP6y+L+etVVTVyEdZuT/hww9YAYsP7oFqFe9yRwiiF/nDYv7leSivKrzDpjAlP75WAQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxtG2-0006wn-5i; Mon, 07 Oct 2024 15:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v10] gnu: Add jpm. Resent-From: Omar Bassam Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org, "Suhail Singh" Resent-Date: Mon, 07 Oct 2024 19:19: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: Suhail Singh Cc: 72925@debbugs.gnu.org, Omar Bassam Received: via spool by 72925-submit@debbugs.gnu.org id=B72925.172832870526654 (code B ref 72925); Mon, 07 Oct 2024 19:19:02 +0000 Received: (at 72925) by debbugs.gnu.org; 7 Oct 2024 19:18:25 +0000 Received: from localhost ([127.0.0.1]:48219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxtFR-0006vo-0V for submit@debbugs.gnu.org; Mon, 07 Oct 2024 15:18:25 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:49207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxtFO-0006vg-KA for 72925@debbugs.gnu.org; Mon, 07 Oct 2024 15:18:23 -0400 Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5c89e66012aso6403465a12.2 for <72925@debbugs.gnu.org>; Mon, 07 Oct 2024 12:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728328634; x=1728933434; 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=cQxWPIMv1HrwUGuEq2XkgJTMKfdRQ8HPGw/KImw2mCQ=; b=XWQI3tKNQr6ZjmoCgufmadD8E/MNH4FT7mGtrBPXx9G4eo1ynhoDcmmE0hkzr/xgzf Qv8J4kvEyA8ZIBZ1DhtnfvTPSktnlpnEXPBqKPAuVk12TxRQIMp2jvZs4BODgnyGLq7M DYSHKMTq07z+Vo6G7LDEY/EvePQSNxrXT5I4TdkJWs8viH6SGd7HVialUPbk0Mn2fQvu 8TjXGwTCtRM3ed3LJp+fNg8TOc7UVPwFatRbhS9/KFjbcDP9wFIZQLLuR47C2X4Ss647 I5K5e17OdthsTotK3NeloFXrsVjnjruB/uK5CdrZN4ttqHY07seRcndykUAwC+RCaEiL RiMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728328634; x=1728933434; 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=cQxWPIMv1HrwUGuEq2XkgJTMKfdRQ8HPGw/KImw2mCQ=; b=dpcUccp8QBLkrt/7NSyQmPCtUM/mpkZ9qz/P2chF+tFO7xcACzMeluQWpS6Iv8oCAs l7KTHClKmTrdnquYH+FWNWkXTZnNWBPol0rEnr1tSz5lmoLPBQujF9lQ8Cth7wx5+nHh YOCp3kzttnqjRU7RSot7UzeVVp0NEBqc29sNuy+WfxsPFU/sy3/3LRRUWREeZ3Gc7RYO 81UW6nB1Y66kUi5bnTgMPWfDzc64SxweFbSYMwDZ4MANnQF8DIvkuPwuhHHA+9ey8Evc CXr9L56phSLB9UvGPhpvtjqmovHK2HO8Zhj9UeiJUYNpeEKbS+WYb4MnzQR/QruPgyB7 yQtw== X-Forwarded-Encrypted: i=1; AJvYcCUP0Gij60Q33xWSC0o0gVEcYzoCWsyuyqEKwAae6JrCf7QxIfBfU+4e+CIpiXF5VCQbLgWGmA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzLUgUyT996AWJPPwecbXDX1KjdntMfM3bZXXf5fuQi2A3O4d/m iaWQqw5AQPe4dU/wCeRldazt3FfS3KuL29RzV0I9ZFZq65BVNKkkPqxfyphr X-Google-Smtp-Source: AGHT+IGNwemWgHKFOVMOT6TfnAKoUfgJTYVNK3oBSft/eiCYtOrQN7pmUVv132sFnIKPPzyP1L55PQ== X-Received: by 2002:a05:6402:4290:b0:5a3:a4d7:caf5 with SMTP id 4fb4d7f45d1cf-5c8d2eb4b73mr12332107a12.36.1728328633333; Mon, 07 Oct 2024 12:17:13 -0700 (PDT) Received: from omar-Latitude-5540 ([46.232.152.32]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c8e0597824sm3482659a12.15.2024.10.07.12.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 12:17:11 -0700 (PDT) From: Omar Bassam X-Google-Original-From: Omar Bassam In-Reply-To: <877cajiw5x.fsf@gmail.com> (Suhail Singh's message of "Mon, 07 Oct 2024 14:51:22 -0400") 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> <877cajiw5x.fsf@gmail.com> Date: Mon, 07 Oct 2024 22:17:10 +0300 Message-ID: <87ttdng1u1.fsf@omar-Latitude-5540.mail-host-address-is-not-set> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.13 X-Spam-Score: -1.13 X-Migadu-Queue-Id: 1BABF79090 X-Migadu-Scanner: mx10.migadu.com X-TUID: 0yOOc+VeY67r Suhail Singh writes: > 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. Sorry, I didn't fully explain. I meant that instead of doing this module-ref expression to include "gcc-toolchain", I simply included "gcc" (which is already imported in lisp.scm) in the propagated-inputs and it worked fine (in a pure container) for both the "jpm install" and the "jpm build" command. > > 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. So you think the following would make sense as a sane default for the "SSL_CERT_DIR" env variables as an example? #+begin_src scheme (native-search-paths (list (search-path-specification (variable "SSL_CERT_DIR") (files (list "/etc/ssl/certs/"))))) #+end_src I'm not sure what would be a good default for "SSL_CERT_FILE" though. Thanks, Omar