!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
128 Servers

Load older messages


SenderMessageTime
8 Jul 2025
@qyliss:fairydust.spaceAlyssa RossI've spent a while staring at this09:06:39
@qyliss:fairydust.spaceAlyssa RossI didn't get anywhere09:06:40
@colemickens:matrix.orgcolemickens 🏳️‍🌈you're giving me too much credit :(18:43:26
@rosscomputerguy:matrix.orgTristan Ross
In reply to @colemickens:matrix.org
I can't cross compile my aarch64 installer iso from x86-64-linux due to that package.
Do you need access to an Ampere system lol
22:51:52
@colemickens:matrix.orgcolemickens 🏳️‍🌈 nah, I could build it in GHA, but I generally like to be able to cross-compile at least the ISO. 22:52:38
@colemickens:matrix.orgcolemickens 🏳️‍🌈note that I have zero use whatsoever for this ISO, I just somehow like to keep it in my config and keep a pulse on how easy it is to cross-compile a minimal nixos system.22:53:15
@colemickens:matrix.orgcolemickens 🏳️‍🌈(RIP: just realized the community box died, which of course makes sense give Equinox)23:13:47
@hexa:lossy.networkhexaequinox? 🤔23:38:58
@hexa:lossy.networkhexaisn't that in march and september?23:39:08
@hexa:lossy.networkhexayou mean equnix23:39:16
@hexa:lossy.networkhexa* you mean equinix23:39:19
@hexa:lossy.networkhexahttps://hindenburgresearch.com/equinix/23:39:26
@hexa:lossy.networkhexaactually that report came out on this years march equinox 🤔23:39:46
@hexa:lossy.networkhexamarch 20th23:39:50
@hexa:lossy.networkhexaand nix-community has a replacement for the arm64 community builder23:40:02
@hexa:lossy.networkhexa colemickens: ^ 23:40:26
@colemickens:matrix.orgcolemickens 🏳️‍🌈oh! interesting. And funny catch on that report.23:41:30
@colemickens:matrix.orgcolemickens 🏳️‍🌈I did find it interesting that my ssh client prompted for a password. I don't actually need it though, was just curious. Appreciate the heads up though!23:41:55
@rosscomputerguy:matrix.orgTristan Ross
In reply to @hexa:lossy.network
and nix-community has a replacement for the arm64 community builder
Yeah which is also Ampere heh
23:44:44
11 Jul 2025
@elitewhale75:matrix.org@elitewhale75:matrix.org joined the room.17:38:56
@elitewhale75:matrix.org@elitewhale75:matrix.org changed their display name from Vignesh Guruswami to elitewhale75.17:39:45
@elitewhale75:matrix.org@elitewhale75:matrix.org removed their display name elitewhale75.17:39:55
12 Jul 2025
@plan9better:matrix.orgplan9better joined the room.11:05:36
13 Jul 2025
@timschumi:matrix.orgtimschumi joined the room.18:28:31
@quadradical:federated.nexusQuadRadical (Ping) joined the room.20:02:29
@quadradical:federated.nexusQuadRadical (Ping) Hello, I'm trying to resolve this cross-compilation build issue: https://github.com/NixOS/nixpkgs/issues/424694

I tried based on a suggestion in #NixOS on ARM to move lvm2 from buildInputs to depsBuildBuild, which results in a different error (just adding it to both makes no difference, original error):

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `devicemapper-sys v0.3.2`

Caused by:
  process didn't exit successfully: `/build/source/target/release/build/devicemapper-sys-9444e4d34953f84b/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=DEVMAPPER_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=DEVMAPPER_STATIC
  cargo:rerun-if-env-changed=DEVMAPPER_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr

  thread 'main' panicked at /build/thin-provisioning-tools-1.2.0-vendor/devicemapper-sys-0.3.2/build.rs:18:19:
  Suitable version of libdevmapper not found: 
  pkg-config exited with status code 1
  > PKG_CONFIG_PATH=/nix/store/dgkyx5chvihgvmgb8pvc8qxq4gqm37b6-systemd-minimal-libs-aarch64-unknown-linux-gnu-257.6-dev/lib/pkgconfig:/nix/store/dgkyx5chvihgvmgb8pvc8qxq4gqm37b6-systemd-minimal-libs-aarch64-unknown-linux-gnu-257.6-dev/share/pkgconfig PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 aarch64-unknown-linux-gnu-pkg-config --libs --cflags devmapper 'devmapper >= 1.02.151'

  The system library `devmapper` required by crate `devicemapper-sys` was not found.
  The file `devmapper.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  PKG_CONFIG_PATH contains the following:
      - /nix/store/dgkyx5chvihgvmgb8pvc8qxq4gqm37b6-systemd-minimal-libs-aarch64-unknown-linux-gnu-257.6-dev/lib/pkgconfig
      - /nix/store/dgkyx5chvihgvmgb8pvc8qxq4gqm37b6-systemd-minimal-libs-aarch64-unknown-linux-gnu-257.6-dev/share/pkgconfig

  HINT: you may need to install a package such as devmapper, devmapper-dev or devmapper-devel.

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
20:04:56
@quadradical:federated.nexusQuadRadical (Ping)Any help would be appreciated, thanks.20:05:05
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oh god that thing20:24:03
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i poked it briefly until i decided the rust crate is just semi-broken in a way that is pain to patch20:24:34
@quadradical:federated.nexusQuadRadical (Ping) oh no haha 20:24:41

Show newer messages


Back to Room ListRoom Version: 6