bug#70101: Buiding in high debug level crashed

2024-03-31 Thread Jim Dupont
guix build --debug=999 -v 99  -f cpuinfo.scm > error.log 2>&1
fails
http://sprunge.us/16uhk6

```In guix/store.scm:
   1403:5 10 (map/accumulate-builds # # _ …)
  1419:15  9 (_ # _ _)  739:14  8 (process-stderr _ _)
In unknown file: 7 (display "@
build-log 158510\ 45\n[ 11%] Creating directories for…" …) In
guix/status.scm:  779:20  6 (write! _ _ _)
 In srfi/srfi-1.scm:
   460:18  5 (fold # …)
In guix/status.scm:  669:15  4 (_ (build-log 158510
"[ 11%] Creating directories for 'googlet…") #)
   180:23  3 (update-build #< building: () downloading: ()
buil…> …) In ice-9/boot-9.scm:1685:16  2
(raise-exception _ #:continuable? _)
1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continu\able? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting
struct): #f
```


bug#69810: libunwind woes

2024-03-19 Thread Jim Dupont
About my previous email, here is a solution i found for guix on gcp.

if I install guix from source and use that to build and install libunwind
then I can use that unwind
on my system, so it appears to be a missing dep.

export
LD_LIBRARY_PATH=/gnu/store/hzzr0g12n79ym28lf24y4ybqzijzqfjr-libunwind-1.6.2/lib

after that i can run guix without it crashing, sharing this.


bug#69814: google cloud GCP TPU

2024-03-19 Thread Jim Dupont
in the gcp machines I found /etc/environment
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4"
this caused all types of problems, I finally removed it and got guix to
load.
nix has the same error.
What I found is that libunwind is needed and if install that via guix I
was able to preload that libunwind from guix and get things to work.
that leads me to belive that libunwind should be part of the prereqs in the
bookstrap in guile-boostrap and that led me to the source of that module
that is so complex i got scared.
let me know what you think.
mike


bug#69805: Missing requirement on guile-zstd

2024-03-19 Thread Jim Dupont
on the gcp tpu platform the nix and guix both suffer from libunwind.
https://github.com/NixOS/nix/issues/10113
I love your docs and the philosophy as well.

I have been building guix from git sources only and testing it, goal is to
build guix and then nix .

I found this error message that made no sense, in stracing the server i
found it looking for zstd.go without that being a requirement. So I added
that and the error went away, I am working on the next error now.

https://github.com/meta-introspector/guix?tab=readme-ov-file#why-this-fork
is my fork and i will be contributing patches back when i can find the bugs.
thanks,
mike