help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem on packaging qt-light extension for Chicken


From: Reza Alizadeh Majd
Subject: Problem on packaging qt-light extension for Chicken
Date: Tue, 5 Jan 2021 14:06:00 +0330

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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]