unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Latest Commit: error: linux-libre-headers-6.8: unbound variable 71c678a16aae416298a0e3fa322b425315bb7b00
@ 2024-06-17 17:27 jgart
  2024-06-17 18:30 ` John Kehayias
  0 siblings, 1 reply; 4+ messages in thread
From: jgart @ 2024-06-17 17:27 UTC (permalink / raw)
  To: guix-devel

:(

jgart@unknown1ee35e825799:~/Code/guix-latest [env]$ make -j6 && ./pre-inst-env guix refresh -l libgc
make  all-recursive
make[1]: Entering directory '/home/jgart/Code/guix-latest'
Making all in po/guix
make[2]: Entering directory '/home/jgart/Code/guix-latest/po/guix'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jgart/Code/guix-latest/po/guix'
Making all in po/packages
make[2]: Entering directory '/home/jgart/Code/guix-latest/po/packages'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jgart/Code/guix-latest/po/packages'
make[2]: Entering directory '/home/jgart/Code/guix-latest'
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
make[2]: Leaving directory '/home/jgart/Code/guix-latest'
make[1]: Leaving directory '/home/jgart/Code/guix-latest'
Backtrace:
In ice-9/boot-9.scm:
  1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          15 (apply-smob/0 #<thunk 7f8f299112a0>)
In ice-9/boot-9.scm:
    724:2 14 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 13 (_ #(#(#<directory (guile-user) 7f8f29916c80>)))
In guix/ui.scm:
   2312:7 12 (run-guix . _)
  2275:10 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   684:37  8 (thunk)
  2205:24  7 (run-with-store #<store-connection 256.100 7f8f1321f190> …)
In guix/scripts/refresh.scm:
   477:46  6 (_ _)
In guix/packages.scm:
  1464:32  5 (package-closure _ #:system _)
  1651:16  4 (package->bag _ _ _ #:graft? _)
  1755:47  3 (thunk)
In gnu/packages/linux.scm:
  9981:25  2 (native-inputs #<package libbpf@1.4.1 gnu/packages/linu…>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: linux-libre-headers-6.8: unbound variable


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

* Re: Latest Commit: error: linux-libre-headers-6.8: unbound variable 71c678a16aae416298a0e3fa322b425315bb7b00
  2024-06-17 17:27 Latest Commit: error: linux-libre-headers-6.8: unbound variable 71c678a16aae416298a0e3fa322b425315bb7b00 jgart
@ 2024-06-17 18:30 ` John Kehayias
  2024-06-17 18:52   ` Wilko Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: John Kehayias @ 2024-06-17 18:30 UTC (permalink / raw)
  To: jgart, Wilko Meyer, Leo Famulari; +Cc: guix-devel

Hello,

CC'ing Wilko and Leo from kernel team.

On Monday, June 17th, 2024 at 1:27 PM, jgart <jgart@dismail.de> wrote:

> 
> 
> :(
> 

It is guix pull that is broken due to linux-libre-headers-6.8 being removed but still used somewhere.

Presumably this commit: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=6fad0fd1c32db2cb25447b694f08d5c7836536ad

e.g. this evaluation https://ci.guix.gnu.org/eval/1412307 with log https://ci.guix.gnu.org/eval/1412307/log/raw

I would either fix or revert it myself, but I'll be a few hours before I can (not at my Guix machine and need to renew my keys first).

> jgart@unknown1ee35e825799:~/Code/guix-latest [env]$ make -j6 && ./pre-inst-env guix refresh -l libgc
> make all-recursive
> make[1]: Entering directory '/home/jgart/Code/guix-latest'
> Making all in po/guix
> make[2]: Entering directory '/home/jgart/Code/guix-latest/po/guix'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/jgart/Code/guix-latest/po/guix'
> Making all in po/packages
> make[2]: Entering directory '/home/jgart/Code/guix-latest/po/packages'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/home/jgart/Code/guix-latest/po/packages'
> make[2]: Entering directory '/home/jgart/Code/guix-latest'
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> make[2]: Leaving directory '/home/jgart/Code/guix-latest'
> make[1]: Leaving directory '/home/jgart/Code/guix-latest'
> Backtrace:
> In ice-9/boot-9.scm:
> 1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
> 15 (apply-smob/0 #<thunk 7f8f299112a0>)
> 
> In ice-9/boot-9.scm:
> 724:2 14 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> 
> In ice-9/eval.scm:
> 619:8 13 (_ #(#(#<directory (guile-user) 7f8f29916c80>)))
> 
> In guix/ui.scm:
> 2312:7 12 (run-guix . _)
> 2275:10 11 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
> 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
> 684:37 8 (thunk)
> 2205:24 7 (run-with-store #<store-connection 256.100 7f8f1321f190> …)
> 
> In guix/scripts/refresh.scm:
> 477:46 6 (_ _)
> In guix/packages.scm:
> 1464:32 5 (package-closure _ #:system _)
> 1651:16 4 (package->bag _ _ _ #:graft? _)
> 
> 1755:47 3 (thunk)
> In gnu/packages/linux.scm:
> 9981:25 2 (native-inputs #<package libbpf@1.4.1 gnu/packages/linu…>)
> 
> In ice-9/boot-9.scm:
> 1685:16 1 (raise-exception _ #:continuable? _)
> 1685:16 0 (raise-exception _ #:continuable? _)
> 
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: linux-libre-headers-6.8: unbound variable


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

* Re: Latest Commit: error: linux-libre-headers-6.8: unbound variable 71c678a16aae416298a0e3fa322b425315bb7b00
  2024-06-17 18:30 ` John Kehayias
@ 2024-06-17 18:52   ` Wilko Meyer
  2024-06-17 19:53     ` Wilko Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Wilko Meyer @ 2024-06-17 18:52 UTC (permalink / raw)
  To: John Kehayias; +Cc: jgart, Leo Famulari, guix-devel


Hi everyone,

John Kehayias <john.kehayias@protonmail.com> writes:

>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> error: linux-libre-headers-6.8: unbound variable

libbpf seems to explicitly depend on linux-libre-headers-6.8 since
12d2a6e5a6f412d91ba0c34a1c3c080c6c587cc6 which slipped through when I
removed linux-libre 6.8 as libbpf depending on a specific headers version
seems to be relatively new. I'll send in a patch updating its inputs
(which hopefully will build without any issues).

-- 
Kind regards,

Wilko Meyer
w@wmeyer.eu


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

* Re: Latest Commit: error: linux-libre-headers-6.8: unbound variable 71c678a16aae416298a0e3fa322b425315bb7b00
  2024-06-17 18:52   ` Wilko Meyer
@ 2024-06-17 19:53     ` Wilko Meyer
  0 siblings, 0 replies; 4+ messages in thread
From: Wilko Meyer @ 2024-06-17 19:53 UTC (permalink / raw)
  To: John Kehayias; +Cc: jgart, Leo Famulari, guix-devel


This should fix it for now:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71617

to prevent this from happening: the idea to use a generic
linux-libre-headers variable that points to the latest headers for these
cases came up in IRC, however:

#+BEGIN_SRC scheme
;; The following package is used in the early bootstrap, and thus must be kept
;; stable and with minimal build requirements.
(define-public linux-libre-headers-5.15.49
  (make-linux-libre-headers "5.15.49" "gnu"
                            "13zqdcm4664vh7g57sxbfrlpsxm7zrma72mxdfdz7d9yndy2gfv8"))

(define-public linux-libre-headers linux-libre-headers-5.15.49)
#+END_SRC

it seems like early bootstrap depends on it being at 5.15.49. I do not
know enough about the early bootstrap process to be able to tell wether
this applies for linux-libre-headers-5.15.49 and linux-libre-headers or
just to the former. Maybe someone more knowledgable on this could tell
wether or not it is safe to update linux-libre-headers to a more recent
version (as this would be useful for such cases)?

-- 
Kind regards,

Wilko Meyer
w@wmeyer.eu


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

end of thread, other threads:[~2024-06-17 19:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 17:27 Latest Commit: error: linux-libre-headers-6.8: unbound variable 71c678a16aae416298a0e3fa322b425315bb7b00 jgart
2024-06-17 18:30 ` John Kehayias
2024-06-17 18:52   ` Wilko Meyer
2024-06-17 19:53     ` Wilko Meyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).