the webasm components must follow llvm (the llvm we use for building
firefox), and wasi-compiler-rt and wasi-libcxx are really just
llvm components and should be at the same version as the llvm we need.
the current libwebrtc needs libXtst - even as firefox' docs only
"recommend" libXtst, it's actually a hard requirement.
this goes into bsd.gecko.mk, as it will affect all gecko ports in
due time, even if currently only www/firefox has the new libwebrtc.
PR: 261710
Reported by: Benjamin Takacs
- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
libunwind in base seem to be buggy and cause rustc to crash when
building some consumers [1]
- Follow rust-nightly in d5f09dc31f
and reenable hardlinks in the build
Changes: https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR: 259738 [0]
PR: 259799 [1]
PR: 260140
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33190
With hat: rust
as firefox needs matching wasi-compiler-rt, embedded llvm in
rust and llvm for building and wasi-compiler-rt installs it's files
in a path depending on it's full distversion, we need to know
llvm/clang's full version. it's not possible to derive that
programatically, as the required llvm version may not be installed
at the time firefox' Makefile is being parsed.
Release Notes (soon):
https://www.mozilla.org/en-US/firefox/95.0/releasenotes/
This firefox release includes a not-yet-released snapshot of dav1d,
which is not fully API-compatible with the released version. Switch
to the bundled dav1d/aom until dav1d released have caught up.
libxul.so clearly links against libepoll-shim, and we have reports
of firefox failing to start without libepoll-shim. this also affects
mail/thunderbird (once we land it), so fix the problem in bsd.gecko.mk.
First reports are against firefox 90, set the version cutoff
accordingly.
PR: 257490
Reported by: Maxim Filimonov
On Intel Skylake this enables WebRender for Xorg and Wayland (wlroots).
Xwayland isn't qualified yet but Firefox can be tricked by unsetting
WAYLAND_DISPLAY or simply switching to native via MOZ_ENABLE_WAYLAND.
PR: 255344
Reported by: Evgeniy Khramtsov (via gecko@ list)
Cross-language LTO in www/firefox requires devel/llvm* and bundled
LLVM in lang/rust to be of the same major version. Adjust the comment
to delay future bumps but until LTO is enabled desync can still happen.
PR: 255359
Suggested by: dim
Detach from tree-wide default as coordinating with other maintainers
is expensive for little gain. User's choice is still respected.
llvm11 has better Tier2 support, more optimizations, reduces package size
and aligns with what contributors dogfood.
checking for clang for bindgen... not found
checking for libclang for bindgen... not found
ERROR: Could not find clang to generate run bindings for C/C++. Please install the necessary packages, run `mach bootstrap`, or use --with-clang-path to give the location of clang.
checking for llvm-objdump... not found
DEBUG: llvm_objdump: Trying llvm-objdump
ERROR: Cannot find llvm-objdump
Reported by: pkg-fallout (powerpc64)
In /etc/make.conf:
CPUTYPE?=power9
When trying to build www/firefox:
make: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: "/usr/ports/Mk/bsd.port.mk" line 4517: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5203: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: "/usr/ports/Mk/bsd.port.mk" line 5364: warning: duplicate script for target "/tmp/usr/ports/www/firefox/work-make" ignored
make: "/usr/ports/Mk/bsd.port.mk" line 3423: warning: using previous script for "/tmp/usr/ports/www/firefox/work-make" defined here
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.gecko.mk" line 265: Malformed conditional (${ARCH:Maarch64} || ${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continue
PR: 248826
Approved by: gecko (maintainer timeout)
OSS is always built but during runtime only selected by default if
neither pulseaudio, jackit or sndio are installed. In particular,
Gnome and KDE users would still be offered PulseAudio by default due
to integration with multi-app volume widgets, current song bars,
screensharing with audio, etc. that prefer to talk over DBus.
Those can opt out via media.cubeb.backend=oss in about:config.
Submitted by: Ka Ho Ng <khng300@gmail.com> (based on)
Currently, Rust on powerpc64 elfv2 builds with GCC because of past issue with LLVM. However, this issue seems to be resolved now and I can already build Rust with Clang and then build with it other packages, like Firefox.
The problem is that, when using GCC, binutils is getting installed, but when using LLVM, it's not and there is -fno-integrated-as getting passed on ppc64.
Since it's only for the build and users building from ports have binutils installed anyway, add it for everyone.
PR: 247387
Approved by: jbeich (maintainer)
checking for gtk+-wayland-3.0 >= 3.10 xkbcommon >= 0.4.1 libdrm >= 2.4... no
WARNING: Package libdrm was not found in the pkg-config search path.
WARNING: Perhaps you should add the directory containing `libdrm.pc'
WARNING: to the PKG_CONFIG_PATH environment variable
WARNING: Package 'libdrm', required by 'virtual:world', not found