GNU bug report logs - #71011
[BUG] Fail to buidl latest kitty

Previous Next

Package: guix;

Reported by: Edison Ibáñez <arkhan <at> riseup.net>

Date: Fri, 17 May 2024 12:45:02 UTC

Severity: normal

Done: Sharlatan Hellseher <sharlatanus <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 71011 in the body.
You can then email your comments to 71011 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#71011; Package guix. (Fri, 17 May 2024 12:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Edison Ibáñez <arkhan <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 17 May 2024 12:45:02 GMT) Full text and rfc822 format available.

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

From: Edison Ibáñez <arkhan <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Fri, 17 May 2024 12:43:48 +0000
[Message part 1 (text/plain, inline)]
Greetings, I am trying to update Kitty to the latest available version,
I already have the dependencies in golang solved, but when trying to
build gives the following error:

--8<---------------cut here---------------start------------->8---
[117/120] Compiling kitty/monotonic.c ...
[118/120] Compiling kitty/simd-string-128.c ...
[119/120] Compiling kitty/simd-string-256.c ...
[120/120] Compiling kitty/gl-wrapper.c ...
 done
[1/5] Linking kitty/fast_data_types ...
[2/5] Linking [x11] kitty/glfw-x11 ...
[3/5] Linking [wayland] kitty/glfw-wayland ...
[4/5] Linking kittens/transfer/rsync ...
[5/5] Linking launcher ...
 done
../github.com/alecthomas/chroma/v2/lexers/lexers.go:10:12: pattern
embedded: cannot embed directory embedded: contains no embeddable files
../github.com/alecthomas/chroma/v2/styles/api.go:11:12: pattern *.xml:
cannot embed irregular file abap.xml
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python3" arguments: ("setup.py"
"linux-package" "--update-check-interval=0"
"--egl-library=/gnu/store/szs3c3l2bq4d7p17aixk2llffacpx7xd-mesa-24.0.4/lib/libEGL.so.1")
exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 23.6 seconds
command "python3" "setup.py" "linux-package" "--update-check-interval=0"
"--egl-library=/gnu/store/szs3c3l2bq4d7p17aixk2llffacpx7xd-mesa-24.0.4/lib/libEGL.so.1"
failed with status 1

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
builder for
`/gnu/store/xmrkmglpgr93dz3many5amsd53f6z0rb-kitty-next-0.34.1-0.b3cc5ae.drv'
failed with exit code 1
build of
/gnu/store/xmrkmglpgr93dz3many5amsd53f6z0rb-kitty-next-0.34.1-0.b3cc5ae.drv
failed
View build log at
'/var/log/guix/drvs/xm/rkmglpgr93dz3many5amsd53f6z0rb-kitty-next-0.34.1-0.b3cc5ae.drv.gz'.
guix package: error: build of
`/gnu/store/xmrkmglpgr93dz3many5amsd53f6z0rb-kitty-next-0.34.1-0.b3cc5ae.drv'
failed

--8<---------------cut here---------------end--------------->8---

See chroma and Kitty's repos, but apparently the error is not there,
this can be a Guix problem, attached the definition of the package that
I am trying to build.

Thanks
[terminals.scm (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Tue, 21 May 2024 20:53:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Tue, 21 May 2024 21:51:41 +0100
[Message part 1 (text/plain, inline)]
Hi Edison,

Thanks for reporting.

May you provide which commit you are on please?

--8<---------------cut here---------------start------------->8---
guix describe
--8<---------------cut here---------------end--------------->8---
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Tue, 21 May 2024 20:56:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Tue, 21 May 2024 21:53:47 +0100
[Message part 1 (text/plain, inline)]
I could not reproduce it.

--8<---------------cut here---------------start------------->8---
(guix/linux-gnu)[sharlatan <at> guxtil ~]$: guix build kitty
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
3.1 MB will be downloaded:
  /gnu/store/7h55d9yghc72q5lc43lrly9rvl59x39v-kitty-0.21.2
substituting /gnu/store/7h55d9yghc72q5lc43lrly9rvl59x39v-kitty-0.21.2...
downloading from https://bordeaux.guix.gnu.org/nar/lzip/7h55d9yghc72q5lc43lrly9rvl59x39v-kitty-0.21.2 ...
 kitty-0.21.2  2.9MiB                                                                                                                                                                                                                   5.3MiB/s 00:01 ▕██████████████████▏ 100.0%

The following graft will be made:
   /gnu/store/4izr3alrcnacspq4i55mvgc9axbmfbfd-kitty-0.21.2.drv
applying 20 grafts for kitty-0.21.2 ...
grafting '/gnu/store/7h55d9yghc72q5lc43lrly9rvl59x39v-kitty-0.21.2' -> '/gnu/store/9n4nnswkk844m1mhpzh6s3ndqwx4zr88-kitty-0.21.2'...
successfully built /gnu/store/4izr3alrcnacspq4i55mvgc9axbmfbfd-kitty-0.21.2.drv
/gnu/store/9n4nnswkk844m1mhpzh6s3ndqwx4zr88-kitty-0.21.2
(guix/linux-gnu)[sharlatan <at> guxtil ~]$: guix describe
Generation 24   May 21 2024 16:59:57    (current)
  guix 3fd9f25
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 3fd9f25bb385723c70d0bd6af21aeaf784d08049
(guix/linux-gnu)[sharlatan <at> guxtil ~]$: guix build kitty --check
The following graft will be made:
   /gnu/store/4izr3alrcnacspq4i55mvgc9axbmfbfd-kitty-0.21.2.drv
applying 20 grafts for kitty-0.21.2 ...
grafting '/gnu/store/7h55d9yghc72q5lc43lrly9rvl59x39v-kitty-0.21.2' -> '/gnu/store/9n4nnswkk844m1mhpzh6s3ndqwx4zr88-kitty-0.21.2'...
successfully built /gnu/store/4izr3alrcnacspq4i55mvgc9axbmfbfd-kitty-0.21.2.drv
successfully built /gnu/store/4izr3alrcnacspq4i55mvgc9axbmfbfd-kitty-0.21.2.drv
/gnu/store/9n4nnswkk844m1mhpzh6s3ndqwx4zr88-kitty-0.21.2
--8<---------------cut here---------------end--------------->8---
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Tue, 21 May 2024 21:26:02 GMT) Full text and rfc822 format available.

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

From: Edison Ibáñez <arkhan <at> riseup.net>
To: 71011 <at> debbugs.gnu.org
Subject: Re: [BUG] Fail to buidl latest kitty
Date: Tue, 21 May 2024 21:25:01 +0000
[Message part 1 (text/plain, inline)]
Thanks for answering

--8<---------------cut here---------------start------------->8---
Generation 568	May 21 2024 09:08:53	(current)
  nonguix 34935b4
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: 34935b49ae20d236b0fc89943f0b1d0d5dea3a33
  guix 3fd9f25
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 3fd9f25bb385723c70d0bd6af21aeaf784d08049

GUIX_PACKAGE_PATH="/home/arkhan/.guix-pkgs"
--8<---------------cut here---------------end--------------->8---

I am trying to update kitty to version 0.34.1, the version found in the
repositories installs without problems, I attach again the definition I
am using.
[terminals.scm (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Wed, 22 May 2024 14:49:03 GMT) Full text and rfc822 format available.

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

From: Lucy Coleclough <coleclough.lucy <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Wed, 22 May 2024 13:27:57 +0100
I believe go-github-com-alecthomas-chroma-v2-13 is being compiled at the 
moment of failure no?
I am new to go and it~s compilation, perhaps there are no embadable 
files in the embedded directory in chroma/lexers/ because they all 
produce the same problem that abap.xml does.
Perhaps it is due to permissions, I could not find the "cannot embed 
irregular file" error quickly from a search engine search but will look 
again.





Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Wed, 22 May 2024 17:21:02 GMT) Full text and rfc822 format available.

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

From: Lucy Coleclough <coleclough.lucy <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Wed, 22 May 2024 18:19:11 +0100
[Message part 1 (text/plain, inline)]
OK yep that was fixed by making the symlinks at 
src/github.com/alecthomas/chroma/v2/** into copys
Now there is this error as attached in error.log

i have attached the rough file that copys symlinks
[error.log (text/x-log, attachment)]
[terminals.scm (text/x-scheme, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Thu, 23 May 2024 01:51:02 GMT) Full text and rfc822 format available.

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

From: Edison Ibáñez <arkhan <at> riseup.net>
To: 71011 <at> debbugs.gnu.org
Subject: Re: [BUG] Fail to buidl latest kitty
Date: Thu, 23 May 2024 01:49:44 +0000
[Message part 1 (text/plain, inline)]
Thank you, but I had to create a patch so as not to compile the
documentation, since it depends on several Python bookstores.

Attached the file with the final definition and the patch
[terminals.scm (text/plain, attachment)]
[kitty-0001-no-build-man-pages.patch (text/x-diff, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Thu, 23 May 2024 13:59:02 GMT) Full text and rfc822 format available.

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

From: Lucy Coleclough <coleclough.lucy <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Thu, 23 May 2024 14:57:38 +0100
[Message part 1 (text/plain, inline)]
Ok this works now but needs a lot of cleaning
One issue was that a dependant package `x-exp` needed to be compiled by 
go-1.22
It would probably be good to build them all off 1.22
I apply-ed the patch you sent
The function to make the symlink-s real would be better off as build 
utils or in some other standard location that can be pulled in
Perhaps they could be real-ise-ed in the go build system 
`setup-go-environment` which is where they are created
There are some runtime dependency-s such as libcanberra that are loaded 
with dlopen, they have been pointed to in `( invoke "python" "setup.py" 
...)`, perhaps there is some guix mechanism to give kitty a custom 
environment which allows auto detection with no absolute path.
[kitty.scm (text/x-scheme, attachment)]
[OpenPGP_0x144162DF4AD9D976.asc (application/pgp-keys, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Sat, 29 Jun 2024 21:55:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Cc: Lucy Coleclough <coleclough.lucy <at> gmail.com>
Subject: [BUG] Fail to buidl latest kitty
Date: Sat, 29 Jun 2024 17:14:44 +0100
[Message part 1 (text/plain, inline)]
Hi Lucy,

Thank you for your work on trouble shooting the issue. The master has go
1.22 now and I would like to proceed with Kitty update. While updating
other packages requiring "github.com/alecthomas/chroma/v2" I've faced
with the similar issue when it tries to use "embed" from standard
library, see <https://pkg.go.dev/embed>

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#71011; Package guix. (Mon, 01 Jul 2024 19:51:01 GMT) Full text and rfc822 format available.

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

From: Lucy Coleclough <coleclough.lucy <at> gmail.com>
To: 71011 <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Mon, 1 Jul 2024 20:49:28 +0100
Hey there Sharlatan
Embed was failing as the go build tree was symlinked
So the file i sent builds because i wrote a procedure to copy the tree
Although it could also be the case that some altered form of linking 
could function or that embed could be altered to accept the existing 
form of the go tree.
the linking occur-s in `setup-go-environment` so some sub function of 
this would see the changes although i do not understand the function and 
have not looked since





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 18 Feb 2025 20:50:02 GMT) Full text and rfc822 format available.

Notification sent to Edison Ibáñez <arkhan <at> riseup.net>:
bug acknowledged by developer. (Tue, 18 Feb 2025 20:50:03 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 71011-done <at> debbugs.gnu.org
Subject: [BUG] Fail to buidl latest kitty
Date: Tue, 18 Feb 2025 20:48:50 +0000
[Message part 1 (text/plain, inline)]
Hi,

As current Kitti is operational it's not a bug when a fresh version
requires more efforts on packaging due to new logic, new dependency etc.

Happy to review patche(s) updating it.

Closing as not a bug.


Oleg
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Mar 2025 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 118 days ago.

Previous Next


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