Hi, www/librewolf builds fine in poudriere and installs but will not run, giving the following error when it's started: XPCOMGlueLoad error for file /usr/local/lib/librewolf/libgkcodecs.so: /usr/local/lib/librewolf/libgkcodecs.so: Undefined symbol "sin" Couldn't load XPCOM. This is on arm64 (raspberry pi 4) ### [00:00:00] Port dir last git commit: e3410d88a186 [00:00:00] Port dir unclean checkout: no [00:00:00] Poudriere version: poudriere-git-3.4.99.20240424 [00:00:00] Host OSVERSION: 1500018 [00:00:00] Jail OSVERSION: 1500018 # [00:00:00] [00:00:00] ---Begin OPTIONS List--- [00:00:00] ===> The following configuration options are available for librewolf-124.0.1.1: [00:00:00] CANBERRA=off: Sound theme alerts [00:00:00] DBUS=on: D-Bus IPC system support [00:00:00] DEBUG=off: Build with debugging support [00:00:00] FFMPEG=off: FFmpeg support (WMA, AIFF, AC3, APE...) [00:00:00] LIBPROXY=off: Proxy support via libproxy [00:00:00] LTO=off: Use Link-Time Optimization [00:00:00] OPTIMIZED_CFLAGS=on: Use extra compiler optimizations [00:00:00] PROFILE=on: Build with profiling support [00:00:00] TEST=off: Build and/or run tests [00:00:00] ====> Extra cubeb audio backends (OSS is always available) [00:00:00] ALSA=off: ALSA audio architecture support [00:00:00] JACK=off: JACK audio server support [00:00:00] PULSEAUDIO=off: PulseAudio sound server support [00:00:00] SNDIO=off: Sndio audio support
Hi, thank you for the report. Here is the solution https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277021#c15 You try add LDFLAGS+= -lm
(In reply to Martin Filla from comment #1) Thank you :D trying to build with that flag now; it'll be a while on this hardware though
(In reply to Martin Filla from comment #1) On this platform (arm64) I rebuilt with this in poudriere's make.conf: .if ${.CURDIR:M*/www/firefox} LDFLAGS+= -lm .endif # .if ${.CURDIR:M*/www/librefox} LDFLAGS+= -lm .endif suggested in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277021#c41 because of all the methods in the above ticket, it seems to be the easiest. thanks again for the solution
sorry that should read .if ${.CURDIR:M*/www/firefox} LDFLAGS+= -lm .endif # .if ${.CURDIR:M*/www/librewolf} LDFLAGS+= -lm .endif
*** This bug has been marked as a duplicate of bug 277021 ***