From: Reza Alizadeh Majd <r.majd@pantherx.org>
To: help-guix@gnu.org
Subject: Problem on packaging qt-light extension for Chicken
Date: Tue, 5 Jan 2021 14:06:00 +0330 [thread overview]
Message-ID: <20210105140600.7bfe40e3@pantherx.org> (raw)
Hi Guix,
trying to prepare package for qt-light[1] extension for chicken-scheme,
I faced an issue about finding the extension in cache.
my package definition:
--8<---------------cut here---------------start------------->8---
(use-modules (gnu)
(guix build-system chicken)
(guix svn-download)
(guix packages)
(gnu packages chicken)
(gnu packages qt)
((guix licenses) #:prefix license:))
(package
(name "chicken-qt-light")
(version "1.0")
(source
(origin
(method svn-fetch)
(uri (svn-reference
(url (string-append
"https://code.call-cc.org/svn/chicken-eggs/"
"release/5/qt-light/tags/" version))
(revision 39484)
(user-name "anonymous")
(password "")))
(file-name (string-append "chicken-qt-light-" version "-checkout"))
(sha256
(base32
"09mhv6d4zfc0n2vxaw1d8s3hr9bdh19iq389ajzsm2947988rs58"))))
(build-system chicken-build-system)
(arguments
'(#:egg-name "qt-light"
#:phases
(modify-phases %standard-phases
(add-before 'build 'setup-environment
(lambda* (#:key inputs #:allow-other-keys)
(setenv "QTDIR" (assoc-ref inputs "qt"))
#t)))
))
(inputs `(("qt" ,qtbase)))
(home-page "https://wiki.call-cc.org/eggref/5/qt-light")
(synopsis "A lightweight Qt 5 interface")
(description
"This extension provides a lightweight and relatively easy to use
interface to Trolltech's Qt GUI toolkit.")
(license license:bsd-3))
--8<---------------cut here---------------end--------------->8---
trying to install this pacakge, I receive following error:
--8<---------------cut here---------------start------------->8---
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./qt-light/chicken-compile-qt-extension.scm: changing `/bin/sh' to `/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `setup-environment'
phase `setup-environment' succeeded after 0.0 seconds
starting phase `build'
Error: extension not cached
command "chicken-install" "-cached" "-no-install" "qt-light" failed with status 70
--8<---------------cut here---------------end--------------->8---
could anyone help me about this issue?
[1]: https://wiki.call-cc.org/eggref/5/qt-light
--
Reza Alizadeh Majd
PantherX Team
https://www.pantherx.org/
next reply other threads:[~2021-01-05 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 10:36 Reza Alizadeh Majd [this message]
2021-01-07 11:20 ` Problem on packaging qt-light extension for Chicken Ekaitz Zarraga
2021-01-07 11:46 ` Reza Alizadeh Majd
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=20210105140600.7bfe40e3@pantherx.org \
--to=r.majd@pantherx.org \
--cc=help-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.
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).