From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QBKSKmJMAGQ17gAAbAwnHQ (envelope-from ) for ; Thu, 02 Mar 2023 08:12:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eHqNKmJMAGTZgQAA9RJhRA (envelope-from ) for ; Thu, 02 Mar 2023 08:12:34 +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 6F0BB1E465 for ; Thu, 2 Mar 2023 08:12:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXd6w-0001bp-IQ; Thu, 02 Mar 2023 02:12:19 -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 1pXd6h-0001R2-LH for bug-guix@gnu.org; Thu, 02 Mar 2023 02:12:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXd6h-0006Y1-0x for bug-guix@gnu.org; Thu, 02 Mar 2023 02:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXd6g-0004KU-JC for bug-guix@gnu.org; Thu, 02 Mar 2023 02:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61882: emacs-next-pgtk does not find emacs-org-roam, other path issues Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 02 Mar 2023 07:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61882 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Csepp , bokr@bokr.com Cc: 61882@debbugs.gnu.org Received: via spool by 61882-submit@debbugs.gnu.org id=B61882.167774108516591 (code B ref 61882); Thu, 02 Mar 2023 07:12:02 +0000 Received: (at 61882) by debbugs.gnu.org; 2 Mar 2023 07:11:25 +0000 Received: from localhost ([127.0.0.1]:55654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXd64-0004JR-Aj for submit@debbugs.gnu.org; Thu, 02 Mar 2023 02:11:24 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:45626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXd61-0004JA-M3 for 61882@debbugs.gnu.org; Thu, 02 Mar 2023 02:11:22 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4PS2MT2tYYz3whG; Thu, 2 Mar 2023 08:11:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1677741077; bh=afpNiULnBSPRmBMkZ933531wae8W6drFEPve/Zz4WmI=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Q6yGBluNKrkkZ5PWjcJmzUW7nqXjr9wUkIBWZvZWhPV57lfEyBAMqSpz5zR0Ttjk1 ePb/LNSouqVnBIHDsaijaxIvMFbkbp1GLPYZ4Q7sUKUPsndCTcR46NbDPwJPkokue8 H6wHHit9ezbujOXYLfopsosr3rT1glE+CZLtMzDQ= Message-ID: <19974c7f997015c1c19c2ebf305996ea32af0199.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Thu, 02 Mar 2023 08:11:16 +0100 In-Reply-To: <87edq8sal2.fsf@riseup.net> References: <87bkld896j.fsf@riseup.net> <6525e61f911b5c03547594432ff9102636c9a5cf.camel@ist.tugraz.at> <87ilfklns5.fsf@riseup.net> <20230301144027.GA37832@LionPure> <87edq8sal2.fsf@riseup.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677741154; a=rsa-sha256; cv=none; b=Gj5CtAhK/Cs8c2gmLUtitF8pI3+C/KM0URKTnd1RBwoCZtWmyWcrbQPkNH1RDmL78ahMUI J6DYVUTiTVfxC1DcxG8IOH4o8d80+Q8O5qjoQf1h2YAa6WdjZIFvozc4bErSJet7NyhGSe IuCbv3w31HAS/ZPMOgeGth5fmxq8oeILZvebuCFlw8iLW/kj9f5EcKiarTEQ2L17dgTnH8 3IgvNdGOKUbTRF2MVQYTjqVHetEzLA62bDGSZUgrAhbbDnkpAcDvYD/BQ9nM24eW30gzMh vM3RnoUKjlMPlzqrEJY980f+pxsvqO9l+FgL0KbxM3THLyWRRT5DWdrjfkpgUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Q6yGBluN; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677741154; 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=afpNiULnBSPRmBMkZ933531wae8W6drFEPve/Zz4WmI=; b=HLHEG6HGIXehutFXUywNDdV6/9X5b7Gp7WVEbKG/9tnrjLRyy/99IizNutpsOPBGlbCOGw uX73yOPWuMcszXxkWOIgk2fi/7R3fJVgLtC+L4Qn5pWuA5QnqNY4xRXPNwDCGXfH0K0shg voTo4TZCGWR6DSzCzX6JI2D4dql9bYeET19muDBqdYC1yXnJWW1PeGe71GsAJh7XmG33fc d3QFqRxvJBEppJJJQQP3Bl08YlDJAYj3Ok3tLDO9WSCBqOJmY7wEzGGwFeoLmmQGt2OjqV BXuTfqgNCPJYikdKnrpw2uDlMnociYvHbI2V6gzwP6llWM7dIsBCUFdXi6KSig== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.29 X-Spam-Score: -2.29 X-Migadu-Queue-Id: 6F0BB1E465 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Q6yGBluN; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none) X-TUID: 0YgK9FjliLKE Am Mittwoch, dem 01.03.2023 um 17:11 +0100 schrieb Csepp: >=20 > bokr@bokr.com=C2=A0writes: >=20 > > Hi, > >=20 > > On +2023-03-01 12:16:56 +0100, Csepp wrote: > > [...] > > > How the hell would my paths affect what's in the bin folder?=C2=A0 > > > Like, the flatpak binary is literally not present in the profile, > > > that's why it's not showing up in $PATH. > >=20 > > Could something in one of your path directories > > accidentally have gotten a name starting with '-' ? > > (or full name '-')? > >=20 > > Surprising things can happen depending on how an > > app rejects an unexpected option, or tries to use it :) > >=20 > > BTW: If you can't delete a file named '-' > > =C2=A0=C2=A0=C2=A0=C2=A0 try emacs dirmode. IIRC emacs seems to see > > =C2=A0=C2=A0=C2=A0=C2=A0 anything and be able to delete it. > >=20 > > Do you have any scripts that are both sourced and executed? > > If so, are they doing return or exit respectively or > > something trickier as intended? >=20 > So, first things first: > % guix package -I | grep -E '(flatpak|roam)' > emacs-org-roam=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A02.2.2- > 0.74422df=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0out=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/gn= u/store/bxxjy8ydm62fr0bckxfrj27x > nlvqbfmy-emacs-org-roam-2.2.2-0.74422df > flatpak=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01.14.1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= out=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0/gnu/ > store/mf0k987xvpgk79l74lmdjv9jz8gy8cdf-flatpak-1.14.1 >=20 > Both are installed. >=20 > ls $(guix build flatpak)/bin/ > flatpak=C2=A0 flatpak-bisect=C2=A0 flatpak-coredumpctl >=20 > The store paths also match. >=20 > This path also exists: > $(guix build emacs-org-roam)/share/emacs/site-lisp/org-roam-2.2.2- > 0.74422df You're comparing apples to oranges here. `guix build' need not reproduce the contents of your profile, especially if you pulled a new version of guix in between. Instead, try listing the contents of the reported store paths. As for `guix build' and `guix shell' producing different results within a single generation, the only instance I know of which has this requires the presence of grafts (and IIRC might already be fixed?) > I don't know the details of how Emacs loads things, but org-roam has > an org-roam-autoloads.el while lsp-mode (a package that does work) > does not. There ought to be a subdirs.el in your $GUIX_PROFILE/share/emacs/site- lisp, which explicitly mentions the directories to add to your load path. These are store paths. Thus, even in the off chance that some symlink in your profile is gone (which I'd find highly alerting in the first place), it should correctly see the package to add. > Some relevant paths: > EMACSLOADPATH=3D/home/raingloom/.guix-profile/share/emacs/site-lisp > PATH=3D/home/raingloom/.local/bin:/run/setuid- > programs:/home/raingloom/.config/guix/current/bin:/home/raingloom/.gu > ix-profile/bin:/home/raingloom/.guix-profile/sbin:/run/current- > system/profile/bin:/run/current-system/profile/sbin >=20 > The only additional item is on PATH and at worst it would shadow an > existing flatpak binary.=C2=A0 But it doesn't, there is just a single > utility > script there that I should probably get rid of. >=20 > Also: > guix shell --check -p .guix-profile > This seems to hang.=C2=A0 Or at least it's taking an awful long time for > something so simple. You could try something easier like the aforementioned `guix shell emacs-next-pgtk emacs-org-roam --pure --check'. > I'm running Guix as my system distro and I'm not in the habit of > adding random junk to my dotfiles, so I would be rather surprised if > this turned out to be a path issue Good to know. > especially when it's obvious the packages are literally not even > showing up in the profile they are supposed to show up in. This was not obvious from your previous report, which see > emacs-org-roam is installed in my default profile and all the other > emacs packages work with the emacs-next-pgtk package in the same > profile. > guix shell emacs-org-roam emacs-next-pgtk does not work, guix shell > emacs-org-roam emacs does. Basing my response on this rather than the otherwise inconsequential bit about flatpak, it would appear as though you are reporting a bug specific to emacs-next-pgtk rather than emacs-org-roam. > % ls ~/.guix-profile/share/emacs/site-lisp/ >=20 > This does not print any org-roam directory. Which leads me to believe that $ ls /gnu/store/bxxjy8ydm62fr0bckxfrj27xnlvqbfmy-emacs-org-roam-2.2.2- 0.74422df/share/emacs/site-lisp does not report any such directory either. If that is indeed the case, try `guix build --repair'-ing it. This still does not explain the different behaviour of emacs vs. emacs- next-pgtk in your shell, which has further debugging complexities due to the lack of isolation. Cheers