unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>, 61911@debbugs.gnu.org
Cc: Julien Lepiller <julien@lepiller.eu>
Subject: bug#61911: error: mate-polkit: unbound variable
Date: Thu, 02 Mar 2023 15:36:08 +0100	[thread overview]
Message-ID: <874jr3kyp3.fsf@jpoiret.xyz> (raw)
In-Reply-To: <df5d8424-064c-fac0-24b8-d52e8280bf06@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

Hi Maxime,

Maxime Devos <maximedevos@telenet.be> writes:

> In unknown file:
>             3 (primitive-load-path "gnu/packages/xfce" #<procedure 7f?>)
> In gnu/packages/xfce.scm:
>    1156:19  2 (_)
> In ice-9/boot-9.scm:
>    1685:16  1 (raise-exception _ #:continuable? _)
>    1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: mate-polkit: unbound variable

This is the same kind of issue as [1]: both xfce and mate require each
other (the second through mate -> freedesktop -> kde-frameworks ->
kde-plasma -> display-managers -> xfce), and depending on the order in
which they're loaded, mate-polkit-for-xfce might get defined before
mate-polkit is.  The solution I suggested there was to define the
variant in the same file as the original package, but here I'm not sure
if this is the right call.

In general, I'd much rather try to get rid of those pesky module cycles,
as they cause general headaches for guix pull.  I remember Julien
using (guix modules) to do some analysis at the Guix days, maybe we
could get some pointers on how to handle this specific situation?

WDYT?

[1] https://issues.guix.gnu.org/61885
   (mid: F29B8BFE-A175-4128-8093-4A810681E235@winter.cafe)

-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

  reply	other threads:[~2023-03-02 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-02 10:03 bug#61911: error: mate-polkit: unbound variable Maxime Devos
2023-03-02 14:36 ` Josselin Poiret via Bug reports for GNU Guix [this message]
2023-03-02 15:11   ` Maxime Devos
2023-03-06 23:05   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jr3kyp3.fsf@jpoiret.xyz \
    --to=bug-guix@gnu.org \
    --cc=61911@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=julien@lepiller.eu \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).