bug#69680: clj (clojure-tools) fails with :deps alias

2024-03-12 Thread Ian Eure
Looks like the issue is a ${project.version} sitting in a deps.edn 
in the resources of the JAR.


I have a patch that seems to solve this, but it’s ludicrous due to 
clojure-build-system being buggy.  Also, tools.deps.alpha has been 
deprecated for two years and really shouldn’t be in Guix at all. 
I’ve done some work on getting Clojure stuff in Guix into better 
shape, but it’s not ready yet.


Patch incoming shortly.

 — Ian






bug#69737: GSL cannot find CBLAS symbols

2024-03-12 Thread Richard Sent
Hi Artyom,

I found your code ran when I added

--8<---cut here---start->8---
(define libcblas
  ;; Your store path may differ
  (load-foreign-library 
"/gnu/store/dzx94b3xv4h1ik1bfrbxaw7n84y9r8zz-gsl-2.7.1/lib/libgslcblas.so"
#:global? #t))
--8<---cut here---end--->8---

before (define libgsl ...)

> If global? is true, symbols defined by the loaded library will be
> available when other modules need to resolve symbols; the default is
> #f, which keeps symbols local.
https://www.gnu.org/software/guile/manual/html_node/Foreign-Libraries.html

I have not tested if the calculation is correct.

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.





bug#69755: Issue trying to guix pull

2024-03-12 Thread Michael Ford
> A probable fix was pushed by Ludovic recently.
> Does it work?  Can this issue be closed?

The commit I'm building in the issue report (447e9c9) is more recent
than ff1251de0bc327ec478fc66a562430fbf35aef42. The issue
still exists as of now.


On Tue, 12 Mar 2024 at 19:23, pelzflorian (Florian Pelz)
 wrote:
>
> Hello Michael.
>
> Michael Ford  writes:
> > building 
> > /gnu/store/p9nimij8lz4yln5jd3gm0kdhirrwz56h-guix-1.4.0-18.4c94b9e-checkout.drv...
> > -suspicious ownership or permission on
> > `/gnu/store/bj2rp8ql9zxnv4l9gvlhph55fa241mk4-guix-1.4.0-18.4c94b9e-checkout';
> > rejecting this build output
> > Backtrace:
>
> A probable fix was pushed by Ludovic recently.
> Does it work?  Can this issue be closed?
>
> commit ff1251de0bc327ec478fc66a562430fbf35aef42
> Author: Ludovic Courtès 
> Date:   Tue Mar 12 11:53:35 2024 +0100
>
> daemon: Address shortcoming in previous security fix for CVE-2024-27297.
>
> This is a followup to 8f4ffb3fae133bb21d7991e97c2f19a7108b1143.
>
> Commit 8f4ffb3fae133bb21d7991e97c2f19a7108b1143 fell short in two
> ways: (1) it didn’t have any effet for fixed-output derivations
> performed in a chroot, which is the case for all of them except those
> using “builtin:download” and “builtin:git-download”, and (2) it did not
> preserve ownership when copying, leading to “suspicious ownership or
> permission […] rejecting this build output” errors.
>
> Regards,
> Florian





bug#69755: Issue trying to guix pull

2024-03-12 Thread pelzflorian (Florian Pelz)
Sorry, I forgot, you might need to roll back first, if you had pulled
the broken in-between Guix revision.

guix pull --roll-back

I believe the in-between Guixes cannot be fixed.
Thank you for reporting.

Regards,
Florian





bug#69755: Issue trying to guix pull

2024-03-12 Thread pelzflorian (Florian Pelz)
Hello Michael.

Michael Ford  writes:
> building 
> /gnu/store/p9nimij8lz4yln5jd3gm0kdhirrwz56h-guix-1.4.0-18.4c94b9e-checkout.drv...
> -suspicious ownership or permission on
> `/gnu/store/bj2rp8ql9zxnv4l9gvlhph55fa241mk4-guix-1.4.0-18.4c94b9e-checkout';
> rejecting this build output
> Backtrace:

A probable fix was pushed by Ludovic recently.
Does it work?  Can this issue be closed?

commit ff1251de0bc327ec478fc66a562430fbf35aef42
Author: Ludovic Courtès 
Date:   Tue Mar 12 11:53:35 2024 +0100

daemon: Address shortcoming in previous security fix for CVE-2024-27297.

This is a followup to 8f4ffb3fae133bb21d7991e97c2f19a7108b1143.

Commit 8f4ffb3fae133bb21d7991e97c2f19a7108b1143 fell short in two
ways: (1) it didn’t have any effet for fixed-output derivations
performed in a chroot, which is the case for all of them except those
using “builtin:download” and “builtin:git-download”, and (2) it did not
preserve ownership when copying, leading to “suspicious ownership or
permission […] rejecting this build output” errors.

Regards,
Florian





bug#69755: Issue trying to guix pull

2024-03-12 Thread Michael Ford
If I currently try and do a "guix pull" on a Fedora aarch64 machine, I
currently see:

guix pull
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git447e9c9
 openssl-1.1.1u-doc  2.2MiB


 18.5MiB/s 00:00 ▕██▏ 100.0%
 openssl-1.1.1u  1.7MiB


  2.1MiB/s 00:01 ▕██▏ 100.0%
building 
/gnu/store/p9nimij8lz4yln5jd3gm0kdhirrwz56h-guix-1.4.0-18.4c94b9e-checkout.drv...
-suspicious ownership or permission on
`/gnu/store/bj2rp8ql9zxnv4l9gvlhph55fa241mk4-guix-1.4.0-18.4c94b9e-checkout';
rejecting this build output
Backtrace:
  14 (primitive-load
"/gnu/store/6wkj5bhjiqgappk2b1h8pb2snjmx835q-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
  2180:24  9 (run-with-store #
# ?)
   2008:8  8 (_ #)
In ./guix/gexp.scm:
   299:22  7 (_ #)
   1201:2  6 (_ #)
   1068:2  5 (_ #)
909:4  4 (_ #)
In ./guix/store.scm:
  2065:12  3 (_ #)
   1403:5  2 (map/accumulate-builds # # ?)
  1419:15  1 (_ #
("/gnu/store/lg4cmmjzqxwdl8px3fpnzaqliwz6xwkw-guix-daem?" ?) ?)
  1419:15  0 (loop #f)

./guix/store.scm:1419:15: In procedure loop:
ERROR:
  1. :
  message: "build of
`/gnu/store/lg4cmmjzqxwdl8px3fpnzaqliwz6xwkw-guix-daemon-1.4.0-18.4c94b9e.drv'
failed"
  status: 1
guix pull: error: You found a bug: the program
'/gnu/store/6wkj5bhjiqgappk2b1h8pb2snjmx835q-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"447e9c96259e8fa15a828de9b2dd3400e2ffafe6"; system: "aarch64-linux";
host version: "0547fe862cfdb53d408e777e6137d9222100cb50"; pull-version: 1).
Please report the COMPLETE output above by email to .

guix --version is:
guix (GNU Guix) 0547fe862cfdb53d408e777e6137d9222100cb50
Copyright (C) 2024 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.