| 9 Apr 2025 |
dramforever | lol | 03:22:19 |
dramforever | i'll put it in the issue | 03:22:26 |
dramforever |  Download Screenshot_20250409_113158.png | 03:32:26 |
dramforever | well, that would explain it https://github.com/u-boot/u-boot/commit/84d3911a01783ce386883a97fcc4157039793144 | 03:32:30 |
dramforever | we have 2025.01 in nixpkgs, that's only 2025.04, so the current one is actually missing the linux,pci-domain property that the kernel expects | 03:38:10 |
dramforever | wouldn't it be really funny if the ethernet dma problem is caused by the same thing | 03:45:33 |
implr | Has anyone tried to build home-assistant-chip-wheels for rv64? Cross compiling (at ~current -unstable) fails with
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
gn flags: chip_project_config_include_dirs=\[\"//..\"\] chip_crypto=\"openssl\" enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_mdns=\"minimal\" chip_minmdns_default_policy=\"libnl\" chip_python_version=\"3.13\" chip_python_platform_tag=\"any\" chip_python_package_prefix=\"home-assistant-chip\" custom_toolchain=\"custom\" target_cc=\"riscv64-linux-cc\" target_cxx=\"riscv64-linux-c++\" target_ar=\"riscv64-linux-ar\"
ERROR at //build/config/linux/pkg_config.gni:125:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir: /build/source/connectedhomeip/out/Release/
Command: python3 /build/source/connectedhomeip/build/config/linux/pkg-config.py openssl
Returned 1.
stderr:
Could not run pkg-config.
See //src/crypto/BUILD.gn:82:3: whence it was called.
pkg_config("openssl_config") {
^-----------------------------
See //BUILD.gn:138:7: which caused the file to be included.
"${chip_root}/src/crypto",
^------------------------
| 23:15:59 |
implr | Haven't tried native yet | 23:16:05 |
Alex | You could try cross-compiling to aarch64.
If that fails with a similar error, then it's likely because of cross and not because of host arch. | 23:17:21 |
implr | huh, why didn't I think of that, of course | 23:26:46 |
implr | will try, thanks | 23:26:57 |
| 10 Apr 2025 |
implr | it is cross. oh well. | 10:20:07 |
| 11 Apr 2025 |
dramforever | this is one of the most confusing dependency list i've seen, has both pkg-config and pkgconfig | 02:30:09 |
dramforever | i mean the home-assistant-chip-wheels cross thing from yesterday | 02:30:25 |
dramforever | and the scary part is it seems to be actually correct, the former is the "normal" pkg-config and the latter is a python package | 02:30:51 |
hexa | Redacted or Malformed Event | 04:02:13 |
hexa | looked at it, and I have no clue why it fails like that | 04:02:30 |
hexa | but upstream certainly didn't envision riscv64 | 04:02:36 |
hexa | this was a shitty native build to begin with | 04:02:48 |
dramforever | found how to fix the pkg-config problem
--- a/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix
+++ b/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix
@@ -259,6 +259,7 @@ stdenv.mkDerivation rec {
''target_cc="${stdenv.cc.targetPrefix}cc"''
''target_cxx="${stdenv.cc.targetPrefix}c++"''
''target_ar="${stdenv.cc.targetPrefix}ar"''
+ ''pkg_config="${stdenv.cc.targetPrefix}pkg-config"''
];
preBuild = ''
| 07:01:51 |
dramforever | still fails later on some python pip problem, no idea | 07:02:18 |
Michal | Trying to bootstrap NixOS on my VisionFive2, is there, like, any way to do so right now? 😅 it seems even if i strip configuration.nix of everything except the hostname declaration it still gets stuck on not being able to bootstrap GHC | 07:29:41 |
dramforever | what have you tried? did you try this? https://github.com/NixOS/nixos-hardware/tree/master/starfive/visionfive/v2 | 07:37:11 |
dramforever | actually what do you mean by "bootstrap NixOS" | 07:37:32 |
Alex | In reply to @michal:tar.black Trying to bootstrap NixOS on my VisionFive2, is there, like, any way to do so right now? 😅 it seems even if i strip configuration.nix of everything except the hostname declaration it still gets stuck on not being able to bootstrap GHC Do you actually care about having Haskell packages or do you just want minimal system? | 07:38:33 |
Michal | Sorry to be clearer by Bootstrap I suppose I just mean... edit the default config at all | 07:38:39 |
Michal | I did Haskell in college, I'd rather stay away from it as far as possible if I have the choice 🤣 | 07:39:09 |
dramforever | it would help if you can share the config | 07:39:53 |
Michal | Sure, one sec | 07:40:06 |
Alex | In reply to @michal:tar.black I did Haskell in college, I'd rather stay away from it as far as possible if I have the choice 🤣 Then you just need to disable the use of ShellCheck to check shell scripts.
@fgaz may be able to offer detailed instructions. | 07:41:40 |