bug#62890: StumpWM fails to start - Read only file system

2024-05-27 Thread Richard Sent
Richard Sent  writes:

> Packages that depend on say, A:lib graft their own copies of A:lib that
> is distinct from grafting A:out and A:lib together. This behavior
> confuses asdf-build-system and leads to breakage.

I should rephase this. asdf-build-system is doing its job just fine. I
don't think it's the build-system that's broken. It's that splitting
outputs like this simply leads to incompatibility with asdf itself.

That being said, I've never actually /used/ asdf. I welcome thoughts
from my betters! :)

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





bug#71218: OpenMW Crashes on Open (Segfault)

2024-05-27 Thread Dylan Connell
Hi there!

I've been having an issue with OpenMW 0.48.0 on Guix commit
898b5f30f3d485d48275c920da172863da9524c6, where the game will crash shortly
after opening. I'm using a Lenovo t450s with Linux Kernel, and a copy of
Morrowind obtained from a disc. I've attached the crash log to this
message.
*** Fatal Error ***
Address not mapped to object (signal 11)
Address: (nil)

System: Linux DMC-L1 6.6.17 #1 SMP PREEMPT_DYNAMIC 1 x86_64

Executing: gdb --quiet --batch --command=/tmp/gdb-respfile-Mpd0VC
[New LWP 19904]
[New LWP 19905]
[New LWP 19908]
[New LWP 19909]
[New LWP 19910]
[New LWP 19924]
[New LWP 19925]
[New LWP 19926]
[New LWP 19927]
[New LWP 19928]
[New LWP 19955]
[New LWP 19956]
[New LWP 19957]
[New LWP 19958]
[New LWP 19959]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libthread_db.so.1".
0x7fd84708616a in __futex_abstimed_wait_common () from /gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6

* Loaded Libraries
FromTo  Syms Read   Shared Object Library
0x7fd84d90b0b0  0x7fd84d938536  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgParticle.so.162
0x7fd84d80dbe0  0x7fd84d89dd93  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgViewer.so.162
0x7fd84d720150  0x7fd84d756f53  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgGA.so.162
0x7fd84d635aa0  0x7fd84d68fdd7  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgShadow.so.162
0x7fd84d503680  0x7fd84d5c57d8  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgDB.so.162
0x7fd84d2bd160  0x7fd84d3e0fa8  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgUtil.so.162
0x7fd84cf17ab0  0x7fd84d11e3ac  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosg.so.162
0x7fd84d488040  0x7fd84d488101  Yes (*) /gnu/store/mqmww92jyx8xyqccn79rk1i3z0jp40kd-boost-1.80.0/lib/libboost_system.so.1.80.0
0x7fd84d46a9e0  0x7fd84d47e551  Yes (*) /gnu/store/mqmww92jyx8xyqccn79rk1i3z0jp40kd-boost-1.80.0/lib/libboost_filesystem.so.1.80.0
0x7fd84cda5ae0  0x7fd84cded2a5  Yes (*) /gnu/store/mqmww92jyx8xyqccn79rk1i3z0jp40kd-boost-1.80.0/lib/libboost_program_options.so.1.80.0
0x7fd84cc51bf0  0x7fd84cccefff  Yes (*) /gnu/store/sdnhqc1v25b36j2sf56day78cgraf5ki-openal-1.22.2/lib/libopenal.so.1
0x7fd84b873620  0x7fd84c20d598  Yes (*) /gnu/store/mf3lc24kv3lpxw49n0pvjiwmdypzslbl-ffmpeg-6.1.1/lib/libavcodec.so.60
0x7fd84b43f030  0x7fd84b5cb02c  Yes (*) /gnu/store/mf3lc24kv3lpxw49n0pvjiwmdypzslbl-ffmpeg-6.1.1/lib/libavformat.so.60
0x7fd84a217760  0x7fd84a2bacec  Yes (*) /gnu/store/mf3lc24kv3lpxw49n0pvjiwmdypzslbl-ffmpeg-6.1.1/lib/libavutil.so.58
0x7fd84cbae2e0  0x7fd84cc23d5b  Yes (*) /gnu/store/mf3lc24kv3lpxw49n0pvjiwmdypzslbl-ffmpeg-6.1.1/lib/libswscale.so.7
0x7fd84d1e3320  0x7fd84d1f6e3c  Yes (*) /gnu/store/mf3lc24kv3lpxw49n0pvjiwmdypzslbl-ffmpeg-6.1.1/lib/libswresample.so.4
0x7fd849e7ad70  0x7fd849fd67bb  Yes (*) /gnu/store/mm4xs6zvakzahvmd9n45839hy7zk29jd-mygui-gl-3.4.2/lib/libMyGUIEngine.so.3.4.2
0x7fd849a34d20  0x7fd849b8fbde  Yes (*) /gnu/store/fq939shv5sfn7aav6np4gnf1yzizfjqa-sdl2-2.30.1/lib/libSDL2-2.0.so.0
0x7fd84b77c9b0  0x7fd84b7ca9b7  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgAnimation.so.162
0x7fd84cb596c0  0x7fd84cb96e58  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libosgText.so.162
0x7fd84d457510  0x7fd84d458e08  Yes (*) /gnu/store/vc7s2z80cycl6dkas2zqb4y5ymvgk144-openscenegraph-3.6-3.68c5c57/lib/libOpenThreads.so.21
0x7fd84d1d05f0  0x7fd84d1d7528  Yes (*) /gnu/store/mqmww92jyx8xyqccn79rk1i3z0jp40kd-boost-1.80.0/lib/libboost_iostreams.so.1.80.0
0x7fd84b6bbf80  0x7fd84b6fb8ae  Yes (*) /gnu/store/9i3zzv8kmv2rkkiyn70lp594fz637vna-mesa-24.0.4/lib/libGL.so.1
0x7fd84b37dc70  0x7fd84b3e3113  Yes (*) /gnu/store/cvx5k3wsy0iczzc1pk0fid9lfg48kyml-luajit-2.1.0-beta3-0.6c4826f/lib/libluajit-5.1.so.2
0x7fd84cb082b0  0x7fd84cb329f7  Yes (*) /gnu/store/4qz7f96zffx9z3fn2ym4dd1g4c8lwmlj-lz4-1.9.3/lib/liblz4.so.1
0x7fd84caf62c0  0x7fd84caffc36  Yes (*) /gnu/store/44sqzvy9lvs8a5my3i4s5swaqpicn1az-recastnavigation-1.6.0/lib/libDebugUtils.so.1
0x7fd84cadf520  0x7fd84caeda82  Yes (*) /gnu/store/44sqzvy9lvs8a5my3i4s5swaqpicn1az-recastnavigation-1.6.0/lib/libDetour.so.1
0x7fd84b682290  0x7fd84b6984da  Yes (*) /gnu/store/44sqzvy9lvs8a5my3i4s5swaqpicn1az-recastnavig

bug#71226: ‘guix shell -C’ doesn’t work on Ubuntu 24.04

2024-05-27 Thread Ludovic Courtès
On Ubuntu 24.04, ‘guix shell -C’ has its child process (in a separate
mount namespace) fail to mount a tmpfs:

--8<---cut here---start->8---
294642 clone(child_stack=NULL, 
flags=CLONE_NEWNS|CLONE_NEWCGROUP|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWNET|SIGCHLD)
 = 294653
294642 close(15)= 0
294642 getuid() = 1000
294642 getgid() = 1000
294653 close(16)= 0
294642 openat(AT_FDCWD, "/proc/294653/setgroups", O_WRONLY|O_CREAT|O_TRUNC, 
0666 
294653 read(15,  
294642 <... openat resumed>)= 6
294642 newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_EMPTY_PATH) 
= 0
294642 lseek(6, 0, SEEK_CUR)= 0
294642 write(6, "deny", 4)  = 4
294642 close(6) = 0
294642 openat(AT_FDCWD, "/proc/294653/uid_map", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= 6
294642 newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_EMPTY_PATH) 
= 0
294642 lseek(6, 0, SEEK_CUR)= 0
294642 write(6, "1000 1000 1", 11)  = 11
294642 close(6) = 0
294642 openat(AT_FDCWD, "/proc/294653/gid_map", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= 6
294642 newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_EMPTY_PATH) 
= 0
294642 lseek(6, 0, SEEK_CUR)= 0
294642 write(6, "1000 1000 1", 11)  = 11
294642 close(6) = 0
294642 write(16, "ready", 5)= 5
294653 <... read resumed>"r", 1)= 1
294642 write(16, "\n", 1)   = 1
294653 read(15, "e", 1) = 1
294642 read(16,  
294653 read(15, "a", 1) = 1
294653 read(15, "d", 1) = 1
294653 read(15, "y", 1) = 1
294653 read(15, "\n", 1)= 1
294653 mount("none", "/tmp/guix-directory.3DaoGp", "tmpfs", 0, NULL) = -1 
EACCES (Permission denied)
294653 write(15, "(", 1)= 1
294642 <... read resumed>"(", 1)= 1
294653 write(15, "system-error", 12 
--8<---cut here---end--->8---

(It used to work on Ubuntu 22.)

Ludo’.





bug#70062: issue with openldap managed users on HPC

2024-05-27 Thread Ludovic Courtès
Hi Davide,

Sorry for the delay; it looks like your bug report fell through the
cracks.

Davide Corrado  skribis:

> hello, I installed guix in a HPC environment and everything works as expected 
> if I use guix as a local user. I got this issue when I try to run it as an 
> openldap/sssd-managed user.
>
> example:
> [
> root@frontend ~]# id konrad
> uid=1(konrad) gid=1(hpc-users) groups=1(hpc-users)
>
> [root@frontend ~]# getent passwd -s sss
> konrad:*:1:1:Davide Corrado:/home/konrad:/bin/bash
>
> [root@frontend ~]# su - konrad
> Last login: Thu Mar 28 11:04:07 CET 2024 on pts/0
> [konrad@frontend ~]$ id
> uid=1(konrad) gid=1(hpc-users) groups=1(hpc-users)
> [konrad@frontend ~]$ guix install hello
> user with UID 1 not found

I think this message shows the core of the problem.

Is nscd running on this machine, as per
?

It has to be installed and running so that Guix-installed programs can
access the user account database etc.

A simple way to check whether this is working is by running the ‘id’
program of the ‘coreutils’ package provided by Guix, like so:

  guix shell coreutils -- id

HTH!

Ludo’.





bug#70480: Guix bios installation: Grub error: unknown filesystem

2024-05-27 Thread Lars-Dominik Braun
Hi,

>Installing for i386-pc platform.
>/gnu/store/li1ic17hz460vp1sg0cx2dwgw8q7i8pj-grub-2.06/sbin/grub-install: 
> error: unknown filesystem.

this should be fixed by 71210, which I just merged.

Lars






bug#71238: Installer image consistently fails to run system init due to TLS error

2024-05-27 Thread Richard Sent
Hi Guix!

The dump was uploaded as installer-dump-2e7b5f8f. Here's the installer's
error message:

--8<---cut here---start->8---
May 27 22:15:49 localhost installer[708]: substitute: ^[[Kupdating substitutes 
from 'https://bordeaux.guix.gnu.org'...   0.0%guix substitute: error: TLS error 
in procedure 'write_to_session_record_port': Error in the push function. 
May 27 22:15:49 localhost installer[708]: guix system: ^[[1;31merror: 
^[[0m`/gnu/store/rdjjpch9m9xv4rdhhr6sv044qd322pj8-guix-command substitute' died 
unexpectedly 
--8<---cut here---end--->8---

A Guix system installation generated via the following method
consistently fails to install due to a TLS error when updating
substitutes.

--8<---cut here---start->8---
gibraltar :( guix$ guix time-machine -q -- describe
  guix 00384ae
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 00384aedbc6a371aaf90ca344a446952fdd5a6b3
gibraltar :) guix$ guix time-machine -q -- system image --image-type=iso9660 -e 
'(@ (gnu system install) installation-os)'
guix system: warning: Consider running 'guix pull' followed by
'guix system reconfigure' to get up-to-date packages and security updates.

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Computing Guix derivation for 'x86_64-linux'... \
/gnu/store/x9a2nflpnfpr8i3n1759hw7wg2qv5mm8-image.iso
--8<---cut here---end--->8---

Curiously this does NOT occur the first time substitutes are fetched. I
observed it occur three times when substitutes were fetched after Ruby
was substituted. I don't mean to say that Ruby is the problem (that'd be
crazy), just that the TLS error occurs at the same stage in the
installation every time. NOT randomly.

I've never encountered this error before on any other Guix machine on my
network. The installation machine was using a wired connection.

Possibly related: [1], [2], [3], [4]

Notably [3] claims to have a fix that was merged into Guix, but 00384ae
is after said fix was merged (and yes, $ guix describe on the installer
image does report 00384ae)

[1]: https://issues.guix.gnu.org/66786
[2]: https://issues.guix.gnu.org/48903
[3]: https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00150.html
[4]: https://issues.guix.gnu.org/70244

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





bug#71238: Installer image consistently fails to run system init due to TLS error

2024-05-27 Thread Richard Sent
> Curiously this does NOT occur the first time substitutes are fetched. I
> observed it occur three times when substitutes were fetched after Ruby
> was substituted. I don't mean to say that Ruby is the problem (that'd be
> crazy), just that the TLS error occurs at the same stage in the
> installation every time. NOT randomly.
>
> I've never encountered this error before on any other Guix machine on my
> network. The installation machine was using a wired connection.

I have now tried the v1.4.0 installer and get a failure at (seemingly)
the same point in the install, although the actual error is different.
See installer-dump-22e789d5.

What the heck is going on here? Those two images are wildly different
and are downloading wildly different sets of substitutes.

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





bug#71238: Installer image consistently fails to run system init due to TLS error

2024-05-27 Thread Richard Sent
Richard Sent  writes:

> What the heck is going on here? Those two images are wildly different
> and are downloading wildly different sets of substitutes.

Bad news. I connected my device to a different network with just an
ordinary consumer router and the installation succeeded (using the guix
00384aed media). Ordinary my devices are behind a opnsense router with a
/very/ lightly-customized firewall. To me, this means there are three
possibilities, none of which is particularly comforting:

1. There was a transient network issue for ~3 hours when I attempted to
install Guix ~4 times using different installation media that caused a
specific TLS handshake to fail.

2. A specific TLS handshake Guix undertakes during the installation
process fails to pass one of the built-in firewall rules shipped with
opnsense.

3. Some other odd aspect of my network messes things up for a specific
TLS handshake.

My money is on 2 given how this is a seemingly common issue on
enterprise networks [1] and the rules I have added seem irrelevant. (I'd
rather not talk openly about my firewall rules in an archived public
forum, but can discuss off-list). However, there is another comment in
that thread that says IT didn't notice any firewall blocking.

>> Sometimes, usually when I'm on an enterprise network like my
>> university's of library's wifi, the `guix substitute` process dies
>> with a "TLS error in procedure 'write_to_session_record_port': Error
>> in the push function" error message. My connection is rock-solid
>> otherwise, and sometimes it doesn't happen at all.
> I get the same error on guix pull almost always when I am on my
> enterprise network. Re-running guix pull a second time also almost
> always then runs fine. I checked with our IT: nothing suspicious on
> the network, i.e. no firewall blocking.

Running Guix pull to work around the problem is great.. unless
you're trying to install Guix via the guided installer! :) In my case it
also wasn't guix pull that was failing.

I want to emphasize that the error occured in the same phase of the
installer every time, it was not the first handshake, no other machine
has ever had this issue, and the installer was (3/4 times) on a commit
that should include the fix described in [1].

I'm happy to assist with debugging this, although I'm not some TLS
networking genius so trying to solve it outright is probably beyond me.
I'd also LOVE to hear if other people using a largely stock opnsense or
other firewall software encountered this issue, particularly with the
installation media.

At some point I'll attempt to gradually "de-enterprise" parts of my
network and see exactly when (if ever) the problem is resolved. Due to
the nature of the problem, reliably reproducing it in the future will be
a challenge.

CC'ing people involved in [1] because this is just so weird and I don't
want it to be consigned to the dustbins of history. I don't think we
heard anyone with the issue explicitly say the fix resolved or at least
mitigated the problem.

[1]: https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00150.html

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





bug#71238: Installer image consistently fails to run system init due to TLS error

2024-05-27 Thread adanskana

Hi Richard

On 5/28/24 4:44 AM, Richard Sent  wrote:

Richard Sent  writes:

> What the heck is going on here? Those two images are wildly different
> and are downloading wildly different sets of substitutes.

Bad news. I connected my device to a different network with just an
ordinary consumer router and the installation succeeded (using the guix
00384aed media). Ordinary my devices are behind a opnsense router with a
/very/ lightly-customized firewall. To me, this means there are three
possibilities, none of which is particularly comforting:

1. There was a transient network issue for ~3 hours when I attempted to
install Guix ~4 times using different installation media that caused a
specific TLS handshake to fail.

2. A specific TLS handshake Guix undertakes during the installation
process fails to pass one of the built-in firewall rules shipped with
opnsense.

3. Some other odd aspect of my network messes things up for a specific
TLS handshake.

My money is on 2 given how this is a seemingly common issue on
enterprise networks [1] and the rules I have added seem irrelevant. (I'd
rather not talk openly about my firewall rules in an archived public
forum, but can discuss off-list). However, there is another comment in
that thread that says IT didn't notice any firewall blocking.

>> Sometimes, usually when I'm on an enterprise network like my
>> university's of library's wifi, the `guix substitute` process dies
>> with a "TLS error in procedure 'write_to_session_record_port': Error
>> in the push function" error message. My connection is rock-solid
>> otherwise, and sometimes it doesn't happen at all.
I was actually going to reopen this issue, as I'm still encountering this bug in the exact same scenarios. Nothing has changed at all. 

> I get the same error on guix pull almost always when I am on my
> enterprise network. Re-running guix pull a second time also almost
> always then runs fine. I checked with our IT: nothing suspicious on
> the network, i.e. no firewall blocking.

Running Guix pull to work around the problem is great.. unless
you're trying to install Guix via the guided installer! :) In my case it
also wasn't guix pull that was failing.

I want to emphasize that the error occured in the same phase of the
installer every time, it was not the first handshake, no other machine
has ever had this issue, and the installer was (3/4 times) on a commit
that should include the fix described in [1].

I'm happy to assist with debugging this, although I'm not some TLS
networking genius so trying to solve it outright is probably beyond me.
I'd also LOVE to hear if other people using a largely stock opnsense or
other firewall software encountered this issue, particularly with the
installation media.
Same, I'm happy to assist. The test that Ludo' provided to try and reproduce the bug doesn't work as referenced in previous emails. Is there some way I can attatch a debugger to a guile process running `guix upgrade` or something like that? 


At some point I'll attempt to gradually "de-enterprise" parts of my
network and see exactly when (if ever) the problem is resolved. Due to
the nature of the problem, reliably reproducing it in the future will be
a challenge.

CC'ing people involved in [1] because this is just so weird and I don't
want it to be consigned to the dustbins of history. I don't think we
heard anyone with the issue explicitly say the fix resolved or at least
mitigated the problem.
Thanks for CC'ing me. Yes, the problem was never resolved. For someone just upgrading their system, it's annoying, but can be mitigated pretty easily. For someone trying to install Guix, on the other hand, this is a intensely annoying problem. After my exams are finished in a couple weeks I want to try and fix this problem and also upgrade GRUB to fix issues with it recognising ext4 partitons with certain features enabled properly. 


[1]: https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00150.html



Anyway, please let me know how I can help. If someone could help me attaching some sort of 
debugger, I can reproduce the error fairly easily on my uni's wifi if I do a `guix gc -d 2w 
&& guix upgrade && sudo guix system reconfigure config.scm`. The sheer number 
of substitutes downloaded seems to be enough for it to happen at least once.

Warmly, 
Ada