!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

240 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 73 Servers

Load older messages


SenderMessageTime
31 Mar 2024
@hive:the-apothecary.clubTAUPHI MORPHOstill waiting for the build to segfault lol22:10:00
@hive:the-apothecary.clubTAUPHI MORPHO https://github.com/NixOS/nixpkgs/pull/300571 22:22:12
@hive:the-apothecary.clubTAUPHI MORPHOok the build segfaulted as expected, but unfortunately still no output in journalctl -ekf22:23:49
1 Apr 2024
@hive:the-apothecary.clubTAUPHI MORPHOugh same issue with gnugrep after 2 hours02:24:21
@hive:the-apothecary.clubTAUPHI MORPHOthis is so frustrating02:24:23
@alex:tunstall.xyzAlex
In reply to @hive:the-apothecary.club
ugh same issue with gnugrep after 2 hours
It really sounds like there's something wrong with your system/emulator.
(diffutils builds fine for me.)
05:49:47
@hive:the-apothecary.clubTAUPHI MORPHOi don't know what that would be ?18:36:15
@hive:the-apothecary.clubTAUPHI MORPHOi wrote this script to push all packages of a specific architecture to a cachix cache23:55:53
@hive:the-apothecary.clubTAUPHI MORPHO
for path in (nix path-info --all)
  set deriver (nix-store --query --deriver $path)
  if test $deriver != "unknown-deriver"
    echo "Checking $path..."
    echo "Deriver: $deriver"
    set system (nix derivation show "$deriver"^'*' | grep "\"system\":")
    echo "System: $system"
    if string match -q "*\"system\": \"riscv64-linux\"" $system
      echo "Pushing $path to riscv64-ghc-cache..."
      cachix push riscv64-ghc-cache $path
      echo "Done pushing $path to riscv64-ghc-cache."
    else
      echo "$path is not built for riscv64-linux."
    end
  end
end
23:55:56
2 Apr 2024
@hive:the-apothecary.clubTAUPHI MORPHO
In reply to @alex:tunstall.xyz
It really sounds like there's something wrong with your system/emulator.
(diffutils builds fine for me.)
tried again on a seperate machine, build failed
05:57:29
@hive:the-apothecary.clubTAUPHI MORPHODont think its just on my end05:58:22
@hive:the-apothecary.clubTAUPHI MORPHOis there any further information or tests i should provide ?06:20:07
@hive:the-apothecary.clubTAUPHI MORPHO* is there any further information or test results i should provide ?06:20:12
@alex:tunstall.xyzAlex

Given that you can reproduce on multiple x86 machines, it looks like:

native riscv => ok
emulated riscv => failure

I'm running the build emulated locally to be extra sure of the above.

I'm not really sure how Nixpkgs handles fixes for emulator-only issues.
(It could also just be that my RISC-V hardware is more forgiving than QEMU of non-standard behaviour?)

06:24:56
@hive:the-apothecary.clubTAUPHI MORPHOhm possibly06:25:26
@hive:the-apothecary.clubTAUPHI MORPHOwhat riscv device are you building on ?06:28:02
@alex:tunstall.xyzAlexStarFive VisionFive 206:28:50
@hive:the-apothecary.clubTAUPHI MORPHOalright, that's what i'll be building on06:29:00
@0x4a6f:matrix.org[0x4A6F] changed the room topic to "NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux " from "NixOS on RISC-V https://pad.lassul.us/NixOS-riscv64-linux ".22:22:01
3 Apr 2024
@hive:the-apothecary.clubTAUPHI MORPHOhaving the same issue with boehmgc05:27:12
@hive:the-apothecary.clubTAUPHI MORPHODownload boehm-gc-log.txt05:28:39
@hive:the-apothecary.clubTAUPHI MORPHOtime for a third bug report i guess05:28:46
@0x4a6f:matrix.org[0x4A6F] Who is also up for nix riscv64 maintainership? 06:44:44
@0x4a6f:matrix.org[0x4A6F] * Who is also up for nix riscv64 maintainership (thumbs up it then 👍️)? 06:45:48
@fgaz:matrix.orgfgaz I moved the pad to https://wiki.nixos.org/wiki/RISC-V. I only moved the links for now. Who is the copyright owner of the GHC stuff at the end? Could you add it to the wiki? 06:57:03
@fgaz:matrix.orgfgaz
In reply to @0x4a6f:matrix.org
Oh you already noticed!
06:58:32
@0x4a6f:matrix.org[0x4A6F]Yeah, did some rework on the wiki, glancing at the NixOS_on_Arm page :)07:02:38
@0x4a6f:matrix.org[0x4A6F] * Yeah, did some rework on the wiki, while glancing at the NixOS_on_Arm page. :) 07:02:50
@0x4a6f:matrix.org[0x4A6F]We might organize through subpages, that is a cool feature of MediaWiki.07:11:14
@alex:tunstall.xyzAlex
In reply to @fgaz:matrix.org
I moved the pad to https://wiki.nixos.org/wiki/RISC-V. I only moved the links for now. Who is the copyright owner of the GHC stuff at the end? Could you add it to the wiki?
Sure. Would it belong best on a separate page, given that it's quite long?
07:51:25

Show newer messages


Back to Room ListRoom Version: 10