Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up to date lokke in guix? #24

Open
ieugen opened this issue May 29, 2023 · 4 comments
Open

Up to date lokke in guix? #24

ieugen opened this issue May 29, 2023 · 4 comments

Comments

@ieugen
Copy link

ieugen commented May 29, 2023

Hi,

The lokke version in guix is quite old https://packages.guix.gnu.org/packages/lokke/0.0.0-1.92d3637/ .
It uses guile 2 I think.

I tried to update the git hash in my local guix and tried to build with:

guix install -L . -K lokke

But it failed with error.
I am using guix on Debian and I am not very knowlegeable abut this.

In ice-9/boot-9.scm:
   222:29 19 (map1 (((guix build-system cmake)) ((guix # gnu)) (#) #))
   222:29 18 (map1 (((guix build-system gnu)) ((gnu packages m4)) #))
   222:29 17 (map1 (((gnu packages m4)) ((gnu packages pkg-config))))
   222:17 16 (map1 (((gnu packages pkg-config))))
  3327:17 15 (resolve-interface (gnu packages pkg-config) #:select _ …)
In ice-9/threads.scm:
    390:8 14 (_ _)
In ice-9/boot-9.scm:
  3253:13 13 (_)
In ice-9/threads.scm:
    390:8 12 (_ _)
In ice-9/boot-9.scm:
  3544:20 11 (_)
   2836:4 10 (save-module-excursion #<procedure 7efeef1ba420 at ice-…>)
  3564:26  9 (_)
In unknown file:
           8 (primitive-load-path "gnu/packages/pkg-config" #<proced…>)
In ice-9/eval.scm:
    619:8  7 (_ #f)
   626:19  6 (_ #<directory (gnu packages pkg-config) 7efeef3c4f00>)
   293:34  5 (_ #(#(#(#(#(#<directory (gnu packages p…> …) …) …) …) …))
   191:35  4 (_ #(#(#(#(#(#<directory (gnu packages p…> …) …) …) …) …))
    155:9  3 (_ #(#(#(#(#(#<directory (gnu packages p…> …) …) …) …) …))
   223:20  2 (proc #(#(#(#(#(#<directory (gnu package…> …) …) …) …) …))
In unknown file:
           1 (%resolve-variable (7 . $PKG_CONFIG_PATH) #<directory (…>)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: $PKG_CONFIG_PATH: unbound variable

@rlbdv
Copy link
Collaborator

rlbdv commented May 29, 2023 via email

@ieugen
Copy link
Author

ieugen commented May 29, 2023

I did manage to build it following README instructions on my system (Debian).

Will ask on the IRC and try to update this on guix.

Thansk,

@ieugen
Copy link
Author

ieugen commented May 29, 2023

I managed to build lokke by using the guix from source and updating hash .

https://guix.gnu.org/manual/en/html_node/Building-from-Git.html
https://guix.gnu.org/manual/en/html_node/Running-Guix-Before-It-Is-Installed.html

./pre-inst-env guix build lokke
+++ b/gnu/packages/guile-xyz.scm
@@ -5471,7 +5471,7 @@ (define-public guile-kolam
     (license license:agpl3+)))
 
 (define-public lokke
-  (let ((commit "92d36370dc6d218ff3bf315e56ebef93808c1b79")
+  (let ((commit "8b04ccdd81e50cb4d161b186ace7ac2c524707ce")
         (revision "1"))
     (package
       (name "lokke")
@@ -5483,7 +5483,7 @@ (define-public lokke
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1c913md4dcfb0x4n26wbx9wdw453wxg3c5rn49k3f6j8zjqv63yv"))))
+                  "00v441sa57kr72kav8759rrsxrq8r83h689z2wlnn8q64bmz02wr"))))
       (build-system gnu-build-system)
       (arguments

@ieugen
Copy link
Author

ieugen commented Jun 13, 2024

I've copied over the package definition to my guix channel and I've updated the git sha.
Seems to work in building the package.

https://github.com/ieugen/bin-guix/blob/main/bin-guix/packages/lokke.scm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants