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 CEizGgS+/WZEYwAAe85BDQ:P1 (envelope-from ) for ; Wed, 02 Oct 2024 21:41:24 +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 CEizGgS+/WZEYwAAe85BDQ (envelope-from ) for ; Wed, 02 Oct 2024 23:41:24 +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=BplJtic+; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=H2CKwUR5; 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=1727905284; 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=F0vtjmJ2Ty3K7ld+quiBOVL1WFwsh8pFZMfQztfjneE=; b=Odv75z1h6hkmk6ezEAWFziVWWrGH6bkAuuxUCpCYwHHrjsydti610O7Ow1hz1GxRmBCPMT WCO1ml6hvdz7iCG5c5rs4MuQfAVAw5wbEnHs5iVW5nYNRyf/0X963RGsD9lU66fvLdPhGp h6i0BqVsxsnNaUfW8JphtDI1W109R2qzJeao1jkk3/VN1aocyRnmcgaGfBBoTQgQhIDfJJ yCsggFS0eCRL7wfQZkt/PpWu82u6bYllgWsBX5ZzKRuhjMMntIebAuZFz+2hz2qCpSMZe7 bzXnZ4om61Ion4FimLapZZuqIg2WXFEtCibzC4UMVnF4/QgggOoczmK3LmnaJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727905284; a=rsa-sha256; cv=none; b=IKzKRAkZ5L/7/dGbEmIb6Wzdjkau/d/G3OEYy8qqRUogkXcYnabuia9frvq9VmDij7a4W9 eQPoXsq2R0h01krjyT5p5DrRmv8RhjbSBpj6ERCsFcPhxiQlQ+5BzBjgC4rf0sQs8mPpFO 9l36ydMWGEV3gycCYg5Q8v5Lr5MGCTamAiyUHJyVupDwmJnAnHNuvirLZwQ16RFTixbSvd D0xnPlgdsyn25RVfw+EiojXQpgll5YICaPW4djgLYRgwlhaO2B8UJLsb/MSzD61OCjfIlM 9Vz4vENwbHB3BTqfKET3sID8eNF8KS0YPkf7MUNvS3v8im2NOaGzUb/x7iJlOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=BplJtic+; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=H2CKwUR5; 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 DFC807B570 for ; Wed, 02 Oct 2024 23:41:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sw75j-0000li-OZ; Wed, 02 Oct 2024 17:41:03 -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 1sw75i-0000lR-3U for guix-patches@gnu.org; Wed, 02 Oct 2024 17:41:02 -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 1sw75h-0005dN-RP for guix-patches@gnu.org; Wed, 02 Oct 2024 17:41:01 -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=F0vtjmJ2Ty3K7ld+quiBOVL1WFwsh8pFZMfQztfjneE=; b=BplJtic+k1RRy3Y+sZ5lSi2H9DNY0tS8CBsBSi94UUPkTWpz9+SvanOvzte7HYqdGml832eBVziH1ZvkQRjJ9dGAfUo5+lg7CSc4DVLilZMv7MvwKIH0O21agkwU1rTOy/nXGWwYh7E1D9hO4FJs/hLiiBBcaPtxJbm14APo3IkseqDd5siWL20j+r9L1D0zKpAALwHS6uCG5wA3Uzvl7xB3pOP/krmRrlCqHXUTzOQJhPLiBGEU7DEmWVjYAioeGHsvSvT14+Ob3wfkRk1Ce8O4FMQR2h4k42dy5Uz+Wo6KpG7tUM7emC2XwiTR22KFld1blXSxi23IMUrlXbYZ3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sw75i-00037g-Hw; Wed, 02 Oct 2024 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v3] adding jpm package Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org, "Suhail Singh" Resent-Date: Wed, 02 Oct 2024 21:41: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: Omar Bassam Cc: Sharlatan Hellseher , 72925@debbugs.gnu.org, Munyoki Kilyungi , Katherine Cox-Buday , Guillaume Le Vaillant , jgart , Suhail Singh Received: via spool by 72925-submit@debbugs.gnu.org id=B72925.172790525511980 (code B ref 72925); Wed, 02 Oct 2024 21:41:02 +0000 Received: (at 72925) by debbugs.gnu.org; 2 Oct 2024 21:40:55 +0000 Received: from localhost ([127.0.0.1]:59412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sw75b-000379-Ga for submit@debbugs.gnu.org; Wed, 02 Oct 2024 17:40:55 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:51476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sw75Z-00036t-J6 for 72925@debbugs.gnu.org; Wed, 02 Oct 2024 17:40:54 -0400 Received: by mail-qt1-f194.google.com with SMTP id d75a77b69052e-4582c62ee33so1594501cf.3 for <72925@debbugs.gnu.org>; Wed, 02 Oct 2024 14:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727905187; x=1728509987; 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=F0vtjmJ2Ty3K7ld+quiBOVL1WFwsh8pFZMfQztfjneE=; b=H2CKwUR5p263k641yXzAWM4PytNjZPyxAeqIOMtKwvFkIBf5yCigPQ9ucnCqSzthS/ 0curwxiIiWZtevSeuHF10dDtfzKNoBkmFe7Ls8EAgsrOBfw4+5NH3FfnRFVdy1no4QQn ejt7y2BFCWByfOeycmqFG5V4qNPeEGuonUPlrdVIftWc73637JcVcd6lxeIAZU/7cZ7x aZKKhZlT8xzND6Qe2CiKDaBVfYaBB2Yd7HhQlnaoXHN49ipGVny6sSRETbhLIB+Xtj9c ugo/0a/Dkv3JoJhAfKBz3bo1sAlbmSSwn2GoA9hGfBuaB3+d+efNxYNIAtgfnJ6f56VC eutQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727905187; x=1728509987; 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=F0vtjmJ2Ty3K7ld+quiBOVL1WFwsh8pFZMfQztfjneE=; b=egg/F2JjMaL9y1hCmIfwL+zplxvpIabXODgeG62H5wlFrEX8RrXcWOJm8w4cDNYV6I gNu2e3KR2uNO1eo8YDGXAb9yEFFJ/DGZjXOvxaXAubx66AMIbr5WRYUzmSe83dtpnvDI 1FOH/6SDg0JZOFshTF7OPiC7zKgHKhq1RMPL/mR3wPJReZz3K3HHBYp57hWe8zI4h9qc c9HL8tWC4zUIxiIOmh6njf7ZBzNBFVL+ncGCOng+HJn3PbUt12rHfhT1O5vUHywCMDhw A46A4iIcrBbBuuMr2KTGbpnBr9OxEPjuayfEPG+PLWDs8cqgn20E9cxqvvI8Y3FF3W2o KUXw== X-Forwarded-Encrypted: i=1; AJvYcCUvjRObhMss9c2a8wRbLK1iuwuIknDy3EnmIidcn/Ck+0l+lilwdM6yYyLoMxSskiqfarXCHA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxU6kf0/gV7zHH/YV9IPfXlH55778CEGlp7DR/3WE0gZoEIs6fB 50jKrU2uUcvay1W/oTw3A/hJ1GjcrC4oxwduBwjSI/1lFPloQezv X-Google-Smtp-Source: AGHT+IFG/OqLRwEM1gDNLlCyM7GRN5CMuYJGOSEbEgtDKg87iYqljw7WBSANmfCAHFMkppj+4I2Xrg== X-Received: by 2002:ac8:5854:0:b0:45c:a601:4474 with SMTP id d75a77b69052e-45d80494364mr62491531cf.4.1727905187055; Wed, 02 Oct 2024 14:39:47 -0700 (PDT) Received: from gnus (bras-base-mtrlpq0776w-grc-23-65-94-70-53.dsl.bell.ca. [65.94.70.53]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-45c9f2e3fc3sm59928771cf.53.2024.10.02.14.39.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 14:39:46 -0700 (PDT) From: Suhail Singh In-Reply-To: (Omar Bassam's message of "Wed, 2 Oct 2024 23:27:00 +0300") References: <4e623d9571ff648ae1d1c6ffb8f9d73c421a5c10.1727683810.git.omar.bassam88@gmail.com> <87plok7kkn.fsf@gmail.com> <8734lev012.fsf@gmail.com> <875xqanty2.fsf@gmail.com> Date: Wed, 02 Oct 2024 17:39:45 -0400 Message-ID: <87cyki9obi.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: 1.11 X-Spam-Score: 1.11 X-Migadu-Queue-Id: DFC807B570 X-Migadu-Scanner: mx13.migadu.com X-TUID: kWYGDCWHMBPP Omar Bassam writes: >> When running "jpm --cc=gcc --local install sh" I get the same error. >> >> I was finally able to get it to succeed by having cc symlink to gcc and >> adding the directory containing the symlink to PATH. So I believe that >> the package definition you've submitted is correct. However, I'm >> wondering what (if anything) needs to be done about the issue I >> encountered. >> >> Specifically, it's unclear why passing "-cc=gcc" didn't work (nor did >> setting "CC=gcc", but perhaps JPM ignores the latter?). Is this an >> upstream bug? Were my expectations misplaced? Should the JPM package >> in Guix provide "cc" as well? >> > > No, this is not really a Janet or JPM issue but rather the fact that > you are overriding the gcc compiler with a symlinked binary instead of > the absolute path. I don't understand. All four variants below fail in exactly the same way: #+begin_src sh jpm --cc=gcc -l install sh #+end_src #+begin_src sh jpm --cc=/home/user/.guix-profile/bin/gcc -l install sh #+end_src #+begin_src sh jpm --cc=/gnu/store/x2kv3zw2k7ql211m5kvb6yw401gab0x9-gcc-toolchain-14.2.0/bin/gcc -l install sh #+end_src #+begin_src sh jpm --cc=/gnu/store/lq9y7sd4mvffs4hqp3hkr9fnd384pnkj-gcc-14.2.0/bin/gcc -l install sh #+end_src Note that the last variant uses an absolute path. Either I'm not using the "--cc" option correctly. Or for some dependency of "sh" (specifically, posix-spawn) the compiler has been hardcoded to "cc" and it's not picking up the option being passed to jpm. Further, if the above work for you in a "--pure" guix shell (where it doesn't for me), that's surprising. It is _only_ when I provide a fake "cc" (which is simply a symlink to gcc) that things work. -- Suhail