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

* Re: Problem on packaging qt-light extension for Chicken
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Ekaitz Zarraga @ 2021-01-07 11:20 UTC (permalink / raw)
  To: Reza Alizadeh Majd; +Cc: help-guix

Hi,


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

When I saw the message I was puzzled and tried to work around your issues with no success.
I talked with who started the chicken buildsystem, and I was told the error is related with
some dependencies missing.
The error message should be clearer on this but it makes sense, the non-cached extension is
not qt-light but its deps.

The egg says:

--8<---------------cut here---------------start------------->8---
 (dependencies bind protobj matchable miscmacros shell)
--8<---------------cut here---------------end--------------->8---

So you probably need to package that first.

Hope this helps. Good luck!

Ekaitz


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

* Re: Problem on packaging qt-light extension for Chicken
  2021-01-07 11:20 ` Ekaitz Zarraga
@ 2021-01-07 11:46   ` Reza Alizadeh Majd
  0 siblings, 0 replies; 3+ messages in thread
From: Reza Alizadeh Majd @ 2021-01-07 11:46 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: help-guix

Hi, 

> When I saw the message I was puzzled and tried to work around your
> issues with no success. I talked with who started the chicken
> buildsystem, and I was told the error is related with some
> dependencies missing. The error message should be clearer on this but
> it makes sense, the non-cached extension is not qt-light but its deps.
> 
> The egg says:
> 
> --8<---------------cut here---------------start------------->8---
>  (dependencies bind protobj matchable miscmacros shell)
> --8<---------------cut here---------------end--------------->8---
> 
> So you probably need to package that first.
> 
> Hope this helps. Good luck!

yes the error message wasn't so clear to find if the issue is related
to which part of build process.

I'll try to resolve the dependency issues and see if I can finally 
prepare the package or not. 

Thanks for your feedback!  

Regards, 
Reza


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

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git