!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
128 Servers

Load older messages


SenderMessageTime
31 Oct 2021
@trofi:matrix.orgtrofi Congruts! \o/ 15:42:46
@AleXoundOS:matrix.org@AleXoundOS:matrix.org Then I've hit a bunch of building problems for gstreamer dependencies and already solved one (boost). Currently, I've stumbled across building harfbuzz:
src/meson.build:631:4: ERROR: Pkg-config binary for machine MachineChoice.BUILD not found. Giving up.
meson guys answer quickly but I didn't understand fully how to use their tips: https://github.com/mesonbuild/meson/issues/1849#issuecomment-955721932.
15:45:19
@AleXoundOS:matrix.org@AleXoundOS:matrix.orgI suppose cross-compilation with meson is solved in nixpkgs. Isn't it solved for aarch64?15:47:26
@AleXoundOS:matrix.org@AleXoundOS:matrix.org * Then I've hit a bunch of building problems for gstreamer dependencies and already solved one (boost). Currently, I've stumbled upon building harfbuzz:
src/meson.build:631:4: ERROR: Pkg-config binary for machine MachineChoice.BUILD not found. Giving up.
meson guys answer quickly but I didn't understand fully how to use their tips: https://github.com/mesonbuild/meson/issues/1849#issuecomment-955721932.
15:52:59
@AleXoundOS:matrix.org@AleXoundOS:matrix.orgRedacted or Malformed Event16:02:56
@AleXoundOS:matrix.org@AleXoundOS:matrix.orgharfbuzz cross-compilation issue is fixed in master nixpkgs. Though, it seems that harfbuzz upgrade (2.8.0 -> 2.8.2) also makes sense.16:12:39
@AleXoundOS:matrix.org@AleXoundOS:matrix.org * harfbuzz cross-compilation issue is fixed in nixpkgs master. Though, it seems that harfbuzz upgrade (2.8.0 -> 2.8.2) also makes sense.16:12:49
@AleXoundOS:matrix.org@AleXoundOS:matrix.org * Then I've hit a bunch of building problems for gstreamer dependencies and already solved one (boost). Currently, I've stumbled upon building harfbuzz:
src/meson.build:631:4: ERROR: Pkg-config binary for machine MachineChoice.BUILD not found. Giving up.
meson guys respond quickly but I didn't understand fully how to use their tips: https://github.com/mesonbuild/meson/issues/1849#issuecomment-955721932.
16:16:07
@rick:matrix.ciphernetics.nlRick (Mindavi)I expect nixpkgs to be less broken in general on master vs 21.05 for cross compilation16:20:08
1 Nov 2021
@sandro:supersandro.deSandroFor the best cross compilation experience please use unstable or master. We don't Backport cross fixes usually.00:20:18
@trofi:matrix.orgtrofi TIL llvmPackages points to llvm-7 on linux. 08:46:54
@qyliss:fairydust.spaceAlyssa Rossand macOS09:19:10
@qyliss:fairydust.spaceAlyssa Ross We've been stuck for years because we've been stuck on it on Darwin, and everything uses LLVM on Darwin. 09:19:43
@trofi:matrix.orgtrofiOh, that makes sense.. I was very confused to see that mesa uses llvmPackages_latest (from llvm-12) and libclc (from llvm-11, hardcodes source version in .nix file). And libclc is built against llvmPackages libraries (llvm-7).09:33:20
@trofi:matrix.orgtrofi * Oh, that makes sense. I was very confused to see that mesa uses llvmPackages_latest (from llvm-12) and libclc (from llvm-11, hardcodes source version in .nix file). And libclc is built against llvmPackages libraries (llvm-7).09:33:39
@qyliss:fairydust.spaceAlyssa Rossthe place to watch is https://github.com/NixOS/nixpkgs/pull/12641109:36:23
@domenkozar:matrix.orgDomen Kožarit's basically ready it's waiting on the next NixOS cycle (ironically, darwin is stuck due to linux, which is stuck due to darwin)18:27:11
@trofi:matrix.orgtrofiSorry, I don't know how nixpkgs manages toolchain lifecycle :) Does cycle here mean NixOS release? Or just a staging->master merge? 19:33:32
@sternenseemann:systemli.orgsterninixos release19:33:48
@sternenseemann:systemli.orgsternispecifically upgrading LLVM from 7 to 11 is not possible anymore due to the feature freeze disallowing breaking changes on staging-next19:34:16
@sternenseemann:systemli.orgsterniit would have been fine if the PR would have been ready earlier19:34:29
@trofi:matrix.orgtrofi Ah, it's a matter of pre-release freeze. Otherwise, would it be fine to change major compiler version say, every 2 months in staging? (Not that they release that frequently). 19:37:47
@qyliss:fairydust.spaceAlyssa Rossyes19:38:21
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event19:38:31
@qyliss:fairydust.spaceAlyssa Rossas long as packages keep building19:38:56
@trofi:matrix.orgtrofi nod. Thank you! 19:39:09
@sternenseemann:systemli.orgsterni shouldn't libexec be installed to $out/$bin? 19:45:33
@trofi:matrix.orgtrofi probably rather $out/$lib. otherwise installing such a package would get internal tools (or their dir) into PATH. postfix or git should be good examples. 19:51:04
@sternenseemann:systemli.orgsternilibexec is never in PATH?19:51:29
@trofi:matrix.orgtrofiI think it's never in PATH. https://www.gnu.org/prep/standards/html_node/Directory-Variables.html also says it's not for users.19:53:23

Show newer messages


Back to Room ListRoom Version: 6