unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Problem on packaging qt-light extension for Chicken
@ 2021-01-05 10:36 Reza Alizadeh Majd
  2021-01-07 11:20 ` Ekaitz Zarraga
  0 siblings, 1 reply; 3+ messages in thread
From: Reza Alizadeh Majd @ 2021-01-05 10:36 UTC (permalink / raw)
  To: help-guix

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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-07 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 10:36 Problem on packaging qt-light extension for Chicken Reza Alizadeh Majd
2021-01-07 11:20 ` Ekaitz Zarraga
2021-01-07 11:46   ` Reza Alizadeh Majd

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).