GNU bug report logs - #44025
haunt incompatible with package guix

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Thu, 15 Oct 2020 22:22:01 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44025 in the body.
You can then email your comments to 44025 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#44025; Package guix. (Thu, 15 Oct 2020 22:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 15 Oct 2020 22:22:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: haunt incompatible with package guix
Date: Fri, 16 Oct 2020 00:21:46 +0200
Dear,

Is it possible to keep the compatibility between the package ’haunt’ and
the package ’guix’?  Otherwise, building guix-artwork/website takes
ages, raises a lot of warnings… and makes me unhappy. :-)

The issue is that haunt is currently built with guile <at> 3.0.2 and the
package ’guix’ with guile <at> 3.0.4.  Therefore, ’haunt build’ claims:

--8<---------------cut here---------------start------------->8---
;;; WARNING: loading compiled file /gnu/store/jkxwzw8dimbmbqqy12744wr3n2vxclnv-profile/lib/guile/3.0/site-ccache/guix/ci.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/simon/.config/guix/profiles/emacs/emacs/lib/guile/3.0/site-ccache/guix/ci.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/simon/.config/guix/profiles/emacs/emacs/lib/guile/3.0/site-ccache/guix/ci.go failed:
--8<---------------cut here---------------end--------------->8---


The easy fixes is to replace “guile-3.0’ by ’guile-3.0-latest’ in the
inputs of ’haunt’.  However, ‘guix build haunt’ says:

--8<---------------cut here---------------start------------->8---
wrote `haunt/config.go'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/bin/guild
;;; WARNING: compilation of /gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/bin/guild failed:
;;; failed to create path for auto-compiled file "/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/bin/guild"
  GEN      haunt/asset.go
…  
--8<---------------cut here---------------end--------------->8---

and

--8<---------------cut here---------------start------------->8---
stripping binaries in "/gnu/store/ncva9mpxc1ypkmvy8a0xxvldpzap5j29-haunt-0.2.4/lib" with "strip" and flags ("--strip-debug" "--enable-deterministic-archives")
strip: Unable to recognise the format of the input file `/gnu/store/ncva9mpxc1ypkmvy8a0xxvldpzap5j29-haunt-0.2.4/lib/guile/3.0/site-ccache/haunt/asset.go'
warning: /gnu/store/ncva9mpxc1ypkmvy8a0xxvldpzap5j29-haunt-0.2.4/lib/guile/3.0/site-ccache/haunt/asset.go: program "strip" exited with non-zero exit status 1
--8<---------------cut here---------------end--------------->8---

ending with “successfully built /gnu/store/p088xcmwksb8gkkqiwzwc3v9r3cmjnrs-haunt-0.2.4.drv” and an
apparently working haunt –– at least the website builds without warning
and seems rendering correctly.


Well, does it make sense to drag gnu/packages/package-management.scm in
guile-xyz.scm? and then replace with something like:

    (inputs
     `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))))


Or create a haunt variant named ’haunt-guix’ keeping the compatibility?


Since I am not a haunt user, I do not have an opinion.


All the best,
simon

PS:
I am locally building the website time to time when hacking on the file
’sources.json’ used by SWH.




Information forwarded to bug-guix <at> gnu.org:
bug#44025; Package guix. (Fri, 16 Oct 2020 14:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 44025 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 44025 <at> debbugs.gnu.org
Subject: Re: bug#44025: haunt incompatible with package guix
Date: Fri, 16 Oct 2020 16:30:11 +0200
Hi,

zimoun <zimon.toutoune <at> gmail.com> skribis:

> Well, does it make sense to drag gnu/packages/package-management.scm in
> guile-xyz.scm? and then replace with something like:
>
>     (inputs
>      `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))))
>
>
> Or create a haunt variant named ’haunt-guix’ keeping the compatibility?

Can we do that, but keep that variant in the web site’s ‘.guix.scm’
file?

Thanks!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#44025; Package guix. (Sun, 18 Oct 2020 00:06:01 GMT) Full text and rfc822 format available.

Message #11 received at 44025 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 44025 <at> debbugs.gnu.org
Subject: Re: bug#44025: haunt incompatible with package guix
Date: Sun, 18 Oct 2020 02:05:32 +0200
Hi,

On Fri, 16 Oct 2020 at 16:30, Ludovic Courtès <ludo <at> gnu.org> wrote:

>>     (inputs
>>      `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))))
>>
>>
>> Or create a haunt variant named ’haunt-guix’ keeping the compatibility?
>
> Can we do that, but keep that variant in the web site’s ‘.guix.scm’
> file?

My proposal to fix the annoyance is #44051.  The variant is created in
the manifest file.  Since I am not using ’.guix.scm’, I have not looked
into.  Next round, after v1.2. :-)

<http://issues.guix.gnu.org/issue/44051>


Cheers,
simon




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Wed, 21 Oct 2020 17:28:01 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Wed, 21 Oct 2020 17:28:01 GMT) Full text and rfc822 format available.

Message #16 received at 44025-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 44025-done <at> debbugs.gnu.org
Subject: Re: bug#44025: haunt incompatible with package guix
Date: Wed, 21 Oct 2020 19:27:44 +0200
On Fri, 16 Oct 2020 at 00:21, zimoun <zimon.toutoune <at> gmail.com> wrote:

> Is it possible to keep the compatibility between the package ’haunt’ and
> the package ’guix’?  Otherwise, building guix-artwork/website takes
> ages, raises a lot of warnings… and makes me unhappy. :-)
>
> The issue is that haunt is currently built with guile <at> 3.0.2 and the
> package ’guix’ with guile <at> 3.0.4.  Therefore, ’haunt build’ claims:

The fix is applied to the ’guix-artwork’ repo, see [1].

1: <http://issues.guix.gnu.org/issue/44051#1>

Closing!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 19 Nov 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.