| 29 Jul 2023 |
Alex | In reply to @implr:hackerspace.pl anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me Are you building native or cross? | 16:31:41 |
implr | cross | 16:31:49 |
implr | FAIL: tests/mv/i-1
==================
mv (GNU coreutils) 9.3
Packaged by https://nixos.org
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker, David MacKenzie, and Jim Meyering.
a...
i-1.pl: test a failed: exit status mismatch: expected 1, got 0
FAIL tests/mv/i-1.pl (exit status: 1)
| 16:32:12 |
misuzu | In reply to @implr:hackerspace.pl anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me Both native and cross artefacts from master branch should be in cache specified by the flake | 16:55:12 |
implr | I was trying to build from scratch without your cache | 17:09:13 |
misuzu | Maybe you have some weird nix setup, I've had no issues on NixOS | 18:35:25 |
Alex | I've successfully reproduced up to coreutils (also on NixOS x86_64).
Maybe double check for store corruption and try again, if you don't have unusual Nix settings? | 18:40:02 |
implr | thanks, it must be on my end then, I'll go debug this | 20:15:16 |
implr | it's nix (not nixos) on gentoo amd64, so far from standard | 20:15:32 |
@trofi:matrix.org | might be a missing underlying filesystem feature? | 21:15:51 |
@trofi:matrix.org | which package you are trying to build out of curiosity? maybe if fails for me as well | 21:16:27 |
artemis | im running a build of `nixos-cross-image-efi` on my gentoo amd64 ill let you know if it fails | 23:37:39 |
| 30 Jul 2023 |
artemis | trofi: i also got an error in the check phase, http://dpaste.com/9RB3YHUA3
I'm building `nix build github:misuzu/nixos-vf2#nixos-cross-image-efi` without the flake's cache enabled | 02:09:49 |
artemis | in case you want to try and reproduce as well | 02:09:57 |
artemis | I ran that without anything added to my sandbox.
im re-running with `qemu-riscv64` added to my sandbox to see if this is another one of those things of enabled binfmts leaking into the sandbox and causing things to think it has an elf interpreter for an executable when that interpreter isn't actually on PATH like the other issue we were seeing | 02:12:35 |
artemis | be back in a bit | 02:12:55 |
artemis | ok i get the failure all the same so it's probably not related to the binfmts at least | 02:15:55 |
artemis | implr: to confirm, is that error log i linked above showing a failure on the same test yours fails on? | 02:26:38 |
Alex | I left mine running overnight and have gotten a failure in psutil:
psutil> =================================== FAILURES ===================================
psutil> _______________________ TestMemoryAPIs.test_swap_memory ________________________
psutil>
psutil> self = <psutil.tests.test_system.TestMemoryAPIs testMethod=test_swap_memory>
psutil>
psutil> def test_swap_memory(self):
psutil> mem = psutil.swap_memory()
psutil> self.assertEqual(
psutil> mem._fields, ('total', 'used', 'free', 'percent', 'sin', 'sout'))
psutil>
psutil> assert mem.total >= 0, mem
psutil> assert mem.used >= 0, mem
psutil> if mem.total > 0:
psutil> # likely a system with no swap partition
psutil> > assert mem.free > 0, mem
psutil> E AssertionError: sswap(total=8204054528, used=8204054528, free=0, percent=100.0, sin=35428151296, sout=75186987008)
psutil> E assert 0 > 0
psutil> E + where 0 = sswap(total=8204054528, used=8204054528, free=0, percent=100.0, sin=35428151296, sout=75186987008).free
psutil>
psutil> /nix/store/f43p2hab6y6hqqmlnyp6c61cx2kslifx-python3.10-psutil-5.9.5/lib/python3.10/site-packages/psutil/tests/test_system.py:298: AssertionError
psutil> =========================== short test summary info ============================
psutil> FAILED ../../nix/store/f43p2hab6y6hqqmlnyp6c61cx2kslifx-python3.10-psutil-5.9.5/lib/python3.10/site-packages/psutil/tests/test_system.py::TestMemoryAPIs::test_swap_memory - AssertionError: sswap(total=8204054528, used=8204054528, free=0, percent=10...
psutil> ============ 1 failed, 26 passed, 1 skipped, 16 deselected in 0.63s ============
psutil> /nix/store/ld7x5as7sc5sbzmhzh6s6s9jfksil1h4-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/24sg1zbm3wq2h8nv68jivynlmhmllnb9-python3.10-psutil-5.9.5.drv' failed with exit code 1;
This is quite possibly a bug in psutil's test suite where it fails when at 100% swap usage. | 03:20:14 |
@trofi:matrix.org | yeah, psutil failure looks related to RAM usage.
| 06:42:49 |
@trofi:matrix.org | coreutils' mv-i test looks simple: https://github.com/coreutils/coreutils/blob/master/tests/mv/i-1.pl . I wonder why it printed help banner. Aaaand I reproduced it in gentoo chroot as well \o/: $ nix build nixpkgs#coreutils --rebuild. | 06:53:26 |
implr | In reply to @artemis:arty.chat implr: to confirm, is that error log i linked above showing a failure on the same test yours fails on? yep, same | 10:43:20 |
implr | and it actually fails on native (sufficiently new) nixpkgs for me as well, so the problem is just coreutils9.3, not riscv/cross compile related | 10:43:56 |
Alex | In reply to @implr:hackerspace.pl and it actually fails on native (sufficiently new) nixpkgs for me as well, so the problem is just coreutils9.3, not riscv/cross compile related Not every coreutils 9.3 fails on native.
I have a working RV64GC_Zba_Zbb build on 23.11.git.7c67f006ea0M without any overrides (besides the custom GCC 13 stdenv). | 10:46:31 |
| patryk4815 joined the room. | 21:50:30 |
| 31 Jul 2023 |
| Yingchi Long changed their profile picture. | 18:15:45 |
| Charles joined the room. | 22:02:53 |
| @machinaut:matrix.org left the room. | 22:40:26 |
| 1 Aug 2023 |
| Charles changed their profile picture. | 01:12:22 |
p14 | Download usellvm-16.patch | 14:04:38 |