!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

903 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
13 Apr 2025
@vcunat:matrix.orgVladimír ČunátOr it would be possible to just mark some combinations as broken (say, assert) or conditionally skip tests.15:55:58
@vcunat:matrix.orgVladimír Čunát... in case people don't feel like working on 32-bit specific issues a lot.15:56:24
14 Apr 2025
@Ericson2314:matrix.orgJohn EricsonI didn't know we even had hurd cross still02:33:58
@emilazy:matrix.orgemilythat's not Hurd, that's i686 Linux03:15:53
@sinan:sinanmohd.comsinan changed their profile picture.04:24:55
@sinan:sinanmohd.comsinan 04:25:42
@trofi:matrix.orgtrofi error: builder for '/build/nix-test/main/nix-channel/store/ydr1gxzbwrxkwy4gp14lkdn6mwwjm2xf-dependencies-input-0.drv' failed due to signal 31 (Bad system call) sounds like a missing syscall in the seccomp sandbox filter. 05:35:34
@aloisw:julia0815.de@aloisw:julia0815.deWhat Nix is running on the build machine?07:00:08
@aloisw:julia0815.de@aloisw:julia0815.de (I only see SCMP_ACT_ALLOW and SCMP_ACT_ERRNO in both NixOS/nix and Lix source code, which should not trigger the signal.) 07:03:13
@trofi:matrix.orgtrofigood point07:13:39
@dramforever:matrix.orgdramforeversome default action in seccomp?07:14:09
@dramforever:matrix.orgdramforeverwhat package is this07:14:17
@dramforever:matrix.orgdramforeveralso what architecture07:14:51
@aloisw:julia0815.de@aloisw:julia0815.de The default action is set to SCMP_ACT_ALLOW in NixOS/nix and SCMP_ACT_ERRNO(ENOSYS) in Lix. 07:15:09
@dramforever:matrix.orgdramforeverno i mean, even lower level07:16:11
@dramforever:matrix.orgdramforeversome other check inside (the (c)bpf program generated by) libseccomp07:16:36
@dramforever:matrix.orgdramforever SCMP_FLTATR_ACT_BADARCH? 07:19:59
@aloisw:julia0815.de@aloisw:julia0815.dex86_32 architecture is allowed on x86_64 in both nixes.07:21:08
@dramforever:matrix.orgdramforeveryeah, we need a way to reproduce this07:22:24
@aloisw:julia0815.de@aloisw:julia0815.deI am currently trying to build the package on a Lix host.07:23:11
@dramforever:matrix.orgdramforeverwhat package is this again?07:23:58
@aloisw:julia0815.de@aloisw:julia0815.de pkgsCross.gnu32.nix on nixpkgs bc0b105ed11afa4d073e2b60ce6b94c1a72253bc 07:24:52
@aloisw:julia0815.de@aloisw:julia0815.de Shit --option enable-core-dumps true does not seem to be enough to get core dumps out of these SIGSYS crashes. 07:32:48
@trofi:matrix.orgtrofi systemd-system.conf / SystemCallArchitectures= claims to be able to send SIGSYS as well. If hydra happens to use SystemCallArchitectures = "native" for nix it could explain it. But it would break all of 32-bit chroots. 07:47:08
@aloisw:julia0815.de@aloisw:julia0815.deI am able to reproduce the issue without the daemon.07:48:16
@joerg:thalheim.ioMic92
In reply to @vcunat:matrix.org
... in case people don't feel like working on 32-bit specific issues a lot.
Could you open an issue in the nix repo for that?
08:13:49
@dramforever:matrix.orgdramforeverI figured out the SIGSYS thing. It is the wrong architecture. The tests are trying to run x86(-32) builds with x86_64 bash and coreutils10:30:25
@dramforever:matrix.orgdramforever * I figured out the SIGSYS thing. It is the wrong architecture problem. The tests are trying to run x86(-32) builds with x86_64 bash and coreutils 10:30:34
@dramforever:matrix.orgdramforeverWhatever's generating config.nix didn't expect the tests to be able to run on cross10:30:48
@dramforever:matrix.orgdramforever it's tests/functional/meson.build, but i don't know meson... 10:34:44

Show newer messages


Back to Room ListRoom Version: 6