From: swedebugia@riseup.net
To: guix-devel <guix-devel@gnu.org>
Subject: Guile 2.0.11 error during test of package definition on Trisquel 7
Date: Fri, 22 Jan 2016 20:58:08 +0000 [thread overview]
Message-ID: <3a810622e2df254ebd0f9233c55f3020@riseup.net> (raw)
Hi
I tried following the manual build* from a fresh git pull.
From 7.6:
" ./pre-inst-env guix build gnew --keep-failed
If the package is unknown to the ‘guix’ command, it may be that the
source file contains a syntax error, or lacks a ‘define-public’ clause
to export the package variable. To figure it out, you may load the
module from Guile to get more information about the actual error:
./pre-inst-env guile -c '(use-modules (gnu packages gnew))'"
After putting the new package definition below into python.scm:
(define-public python-twisted
(package
(name "python-twisted")
(version "15.5.0")
(source
(origin
(method url-fetch)
; (extension "tar.bz2")
; (uri (pypi-uri "Twisted" version extension))
(uri (pypi-uri "Twisted" version))
(sha256
(base32
"0zy18lcrris4aaslil5k12i13k56c32hzfdv6h10kbnzl026h158"))))
(build-system python-build-system)
(inputs
`(("python-setuptools" ,python-setuptools)))
(home-page "http://twistedmatrix.com/")
(synopsis
"An asynchronous networking framework written in Python")
(description
"An asynchronous networking framework written in Python")
(license license:expat)))
./pre-inst-env guix build cannot find it.
I then do:
$ ./pre-inst-env guile -c '(use-modules (gnu packages python))'
but it tries to auto-compile python.scm and fails with:
;;; ERROR: failed to create path for auto-compiled file "path/to/file"
WTF?
From within guix environment guix --container:
it compiles without errors.
cheers
swedebugia
next reply other threads:[~2016-01-22 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 20:58 swedebugia [this message]
2016-01-23 10:46 ` Guile 2.0.11 error during test of package definition on Trisquel 7 Ricardo Wurmus
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=3a810622e2df254ebd0f9233c55f3020@riseup.net \
--to=swedebugia@riseup.net \
--cc=guix-devel@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.