From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Python and gzip
Date: Sat, 26 Jan 2013 00:12:54 +0100 [thread overview]
Message-ID: <87vcakg8ll.fsf@gnu.org> (raw)
In-Reply-To: <201301252338.45926.andreas@enge.fr> (Andreas Enge's message of "Fri, 25 Jan 2013 23:38:45 +0100")
Andreas Enge <andreas@enge.fr> skribis:
> While trying to add a package to compression.scm, I just added the line
> #:use-module (gnu packages python)
[...]
> 2667: 9 [define-module* (gnu packages python) #:filename ...]
> 2642: 8 [resolve-imports ((# # #) (#) (#) (#) ...)]
> 2580: 7 [resolve-interface (gnu packages base) #:select ...]
> 2505: 6 [#<procedure 2698940 at ice-9/boot-9.scm:2493:4 (name #:optional
> autoload version #:key ensure)> # ...]
> 2772: 5 [try-module-autoload (gnu packages base) #f]
> 2111: 4 [save-module-excursion #<procedure 2e6b6c0 at
> ice-9/boot-9.scm:2773:17 ()>]
> 2783: 3 [#<procedure 2e6b6c0 at ice-9/boot-9.scm:2773:17 ()>]
> In unknown file:
> ?: 2 [primitive-load-path "gnu/packages/base" #f]
> In gnu/packages/base.scm:
> 1055: 1 [#<procedure 2ecc020 ()>]
> In ice-9/boot-9.scm:
> 106: 0 [#<procedure 2825b40 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
> unbound-variable ...]
>
> ice-9/boot-9.scm:106:20: In procedure #<procedure 2825b40 at
> ice-9/boot-9.scm:97:6 (thrown-k . args)>:
> ice-9/boot-9.scm:106:20: In procedure module-lookup: Unbound variable: gzip
You’ve created a circular dependency between ‘python’ and ‘compression’.
The fix is to arrange so that there’s no circular dependency. The
easiest way to achieve that is to move the package in question to its
own module.
HTH,
Ludo’.
next prev parent reply other threads:[~2013-01-25 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 22:38 Python and gzip Andreas Enge
2013-01-25 23:12 ` Ludovic Courtès [this message]
2013-01-26 13:54 ` Andreas Enge
2013-01-26 21:46 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vcakg8ll.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=bug-guix@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.