!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1197 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org200 Servers

Load older messages


SenderMessageTime
4 Apr 2026
@reckenrode:matrix.orgRandy Eckenrode *

Building ffmpeg 8 appears to be broken on Darwin. It’s trying to use patchelf ….

       > patching script interpreter paths in /nix/store/fvxp6blkrg3h37l348lb4f5aq3v7z67y-ffmpeg-headless-8.0.1
       > /nix/store/6ifjywcskbcx5mzy4g1gnygdzgfagfs8-stdenv-darwin/setup: line 267: patchelf: command not found
10:53:53
@reckenrode:matrix.orgRandy EckenrodeOh, wait. That’s my Vulkan patches. That’s my fault.10:54:24
@antifuchs:asf.computerantifuchsAh, GitHub actions levels of documentation indirection (:11:39:40
@emilazy:matrix.orgemilyhttps://github.com/llvm/llvm-project/compare/llvmorg-21.1.7...llvmorg-21.1.811:42:16
@emilazy:matrix.orgemilyeither one of these or a packaging change11:42:34
@emilazy:matrix.orgemilybest guess... https://github.com/llvm/llvm-project/commit/d2e835bd46384aa1628c9d44e3f93438f0795dfd?11:43:10
@emilazy:matrix.orgemilyhttps://github.com/rust-lang/rust/issues/14952211:43:28
@emilazy:matrix.orgemily would be wild if this somehow broke vim 11:43:39
@emilazy:matrix.orgemilytry building without optimization?11:44:05
@danieroux:matrix.orgdanieroux set a profile picture.13:52:43
@esperlily:matrix.orgEsperLily [she/her] i just tried, setting CFLAGS = -g -O0 and it's still crashing 20:16:19
@emilazy:matrix.orgemily try it with -O0 with the old compiler 20:16:46
@emilazy:matrix.orgemily since if it is that commit, it'd be an incorrect optimization in LLVM somehow causing it to not crash 20:17:01
@emilazy:matrix.orgemilyseems bizarre but who knows20:17:10
@emilazy:matrix.orgemily it could ofc be anything else in the stdenv.cc closure too 20:17:25
@emilazy:matrix.orgemily(linker stuff…?)20:17:38
@reckenrode:matrix.orgRandy EckenrodeDoes it crash with LLVM 22?20:17:45
@esperlily:matrix.orgEsperLily [she/her]i'll try that after i do this build with the old compiler20:18:13
@esperlily:matrix.orgEsperLily [she/her]this works fine, no crash20:21:40
@emilazy:matrix.orgemily then I guess it's not https://github.com/llvm/llvm-project/commit/d2e835bd46384aa1628c9d44e3f93438f0795dfd. well, that or your CFLAGS aren't reaching the right part of the build 20:22:13
@emilazy:matrix.orgemily I would perhaps try the staging commit immediately before the 21.1.8 merge and the 21.1.8 merge commit itself 20:22:51
@emilazy:matrix.orgemilyif those differ then it really does have to be something in https://github.com/llvm/llvm-project/compare/llvmorg-21.1.7...llvmorg-21.1.8 somehow20:23:20
@emilazy:matrix.orgemilyif not… well, it's a start on bisecting the cycle20:23:29
@esperlily:matrix.orgEsperLily [she/her] i I run path/to/Vim --version it reports its own CFLAGS as being what I set (plus a few -D flags) 20:26:23
@emilazy:matrix.orgemilyyeah, but maybe it's something other than that binary? dunno20:26:48
@emilazy:matrix.orgemilynon-weird possibilities are pretty much eliminated so whatever it is has to be weird in some way20:27:02
@esperlily:matrix.orgEsperLily [she/her]sadly yes20:27:51
@esperlily:matrix.orgEsperLily [she/her] I used final.llvmPackages_22.stdenv and it still crashes 20:28:02
@emilazy:matrix.orgemilyI think this will be the best next step, since if it narrows it down to that one merge then there's a very short list of commits that could have caused the regression.20:32:20
@emilazy:matrix.orgemily though it seems basically incomprehensible for it to be anything other than the llvm/lib/CodeGen/SelectOptimize.cpp change if it is 20:33:12

Show newer messages


Back to Room ListRoom Version: 6