Conversation
Notices
-
Embed this notice
@feld you see this issue while trying to build Pleroma v2.7.0 on FreeBSD before. Its complaining about tryinig to build a C dependency for vix. I have gmake/gcc13 installed - looking at makefile it doesn't seem to support freebsd?
gmake[1]: Entering directory '/usr/home/pleroma/pleroma/deps/vix/c_src'
** (CaseClauseError) no case clause matching: {"amd64", "portbld", "freebsd14.1"}
/usr/home/pleroma/pleroma/deps/vix/build_scripts/precompiler.exs:39: Vix.LibvipsPrecompiled.cast_target/1
/usr/home/pleroma/pleroma/deps/vix/build_scripts/precompiler.exs:30: Vix.LibvipsPrecompiled.url/2
/usr/home/pleroma/pleroma/deps/vix/build_scripts/precompiler.exs:16: Vix.LibvipsPrecompiled.fetch_libvips/0
/usr/home/pleroma/pleroma/deps/vix/build_scripts/precompiler.exs:186: (file)
gmake[1]: *** [Makefile:84: /usr/home/pleroma/pleroma/_build/prod/lib/vix/priv/precompiled_libvips] Error 1
gmake[1]: Leaving directory '/usr/home/pleroma/pleroma/deps/vix/c_src'
gmake: *** [Makefile:5: all] Error 2
-
Embed this notice
@pete_wright grep VIPS or VIX in the installation or docs dirs in pleroma repo, there's an ENV you have to set so it compiles against the system's installed libvips instead of trying to download a pre-build Rust crate that already linked it
-
Embed this notice
@pete_wright I was hoping they'd have provided that precompiled bit for FreeBSD by now, I guess I'm gonna have to detect the OS and set the ENV before we start compiling 😡
-
Embed this notice
@feld
ah thanks! i should have done that first. thanks for the bread crub. also freaking rust 👎
-
Embed this notice
@feld
woot - that was it. greets from v2.7.0 on freebsd-14.1: