!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

345 Members
108 Servers

Load older messages


SenderMessageTime
30 Jul 2023
@artemis:arty.chatartemisok i get the failure all the same so it's probably not related to the binfmts at least02:15:55
@artemis:arty.chatartemisimplr: to confirm, is that error log i linked above showing a failure on the same test yours fails on?02:26:38
@alex:tunstall.xyzAlex

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.orgtrofiyeah, psutil failure looks related to RAM usage. 06:42:49
@trofi:matrix.orgtrofi 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:hackerspace.plimplr
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:hackerspace.plimplrand it actually fails on native (sufficiently new) nixpkgs for me as well, so the problem is just coreutils9.3, not riscv/cross compile related10:43:56
@alex:tunstall.xyzAlex
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:matrix.orgpatryk4815 joined the room.21:50:30
31 Jul 2023
@inclyc:matrix.orgYingchi Long changed their profile picture.18:15:45
@charles:computer.surgeryCharles joined the room.22:02:53
@machinaut:matrix.org@machinaut:matrix.org left the room.22:40:26
1 Aug 2023
@charles:computer.surgeryCharles changed their profile picture.01:12:22
@p14:matrix.orgp14Download usellvm-16.patch14:04:38
@p14:matrix.orgp14 I managed to get pkgsLLVM.nix working with an import <nixpkgs> { overlays = [(self: super: { llvmPackages = self.llvmPackages_16; })]; } overlay; however, I did have fix a few other minor things (libseccomp doCheck = false; lowdown hardeningDisable fortify; boost NIX_CFLAGS_LINK = prev.NIX_CFLAGS_LINK + " --target=${self.stdenv.hostPlatform.config}";, and disable 3 tests from nix) 14:06:30
@p14:matrix.orgp14 raitobezarius: any thoughts on the above patch? I'm on x86_64-unknown-linux-gnu, I have the impression you primarily were trying to make a darwin platform work 14:07:10
@p14:matrix.orgp14I've commented the hacks so hopefully the motivation might be clear. Do you think this is suitable to send as a patch to make llvmPackages_16 work?14:07:38
@p14:matrix.orgp14[apols, I have to run away for a few hours shortly]14:07:55
@raitobezarius:matrix.orgraitobezariusI'd say open a PR, expose the problem solved by this and tag the LLVM maintainers14:08:00
@raitobezarius:matrix.orgraitobezariusit's hard to review like this stuff14:08:06
@p14:matrix.orgp14 raitobezarius: which branch do I send it for -- is master OK given that little will depend directly on llvmPackages_16? 14:12:27
@raitobezarius:matrix.orgraitobezariusmaster is fine14:12:56
@cole-h:matrix.orgcole-h changed their display name from cole-h (back 1 Aug) to cole-h.14:15:22
@p14:matrix.orgp14Sent as https://github.com/NixOS/nixpkgs/pull/246577.14:15:59
2 Aug 2023
@p14:matrix.orgp14

raitobezarius: I've been doing some testing of the above on aarch64-darwin. I found that plain pkgsLLVM.stdenv doesn't build on master, I get a silent failure in compiler-rt. NIX_DEBUG exposes the issue that preConfigure is trying to set CMAKE_LIPO=$(command -v aarch64-apple-darwin-lipo) but this goes straight to the exit/failure handler.

Is pkgsLLVM known (meant?) to work on this platform? Is there a darwin platform it works on?

09:24:55
@sorear:matrix.orgsorearpart of why I haven't touched this recently is that I don't have a darwin anything...13:17:21
@p14:matrix.orgp14 sorear: Yeah, it's a challenge. I can see from the git blame lens (and also through the diff-the-nix-llvm-recipies-through-the-versions) as I hack on things that people have gone through many iterations of fixing things for different environments. 13:20:44
@sorear:matrix.orgsorearI see you're only fixing this for _16 so if I want pkgsLLVM _15 to work I13:21:38
@sorear:matrix.orgsorear'll need to do my own backport13:21:49
@sorear:matrix.orgsorear_14 works fine with the existing nixpkgs code, i tested a while ago13:22:12

Show newer messages


Back to Room ListRoom Version: 6