[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

--- Comment #18 from Nuno Teixeira  ---
Sugestion of adding uploaded patches
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247141 as EXTRA_PATCHES
only for aarch64 ARCH and bump PORTREVISION.

This way we prevent any side effects on other archs that do not match aarch64.

Any thoughts?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[package - 124arm64-quarterly][www/firefox] Failed for firefox-120.0.1,2 in checksum

2023-12-21 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: ge...@freebsd.org
Log URL:
https://pkg-status.freebsd.org/ampere1/data/124arm64-quarterly/3c61f1a4a763/logs/firefox-120.0.1,2.log
Build URL:  
https://pkg-status.freebsd.org/ampere1/build.html?mastername=124arm64-quarterly&build=3c61f1a4a763
Log:

=>> Building www/firefox
build started at Thu Dec 21 21:19:47 UTC 2023
port directory: /usr/ports/www/firefox
package name: firefox-120.0.1,2
building for: FreeBSD 124arm64-quarterly-job-11 12.4-RELEASE-p9 FreeBSD 
12.4-RELEASE-p9 arm64
maintained by: ge...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2644 Dec 16 01:02 
/usr/ports/www/firefox/Makefile
Ports top last git commit: 3c61f1a4a
Ports top unclean checkout: no
Port dir last git commit: bef6139c5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 156
Jail OSVERSION: 1204000
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p9
UNAME_r=12.4-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/124arm64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/124arm64-quarterly/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/124arm64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for firefox-120.0.1,2:
 CANBERRA=off: Sound theme alerts
 DBUS=on: D-Bus IPC system support
 DEBUG=off: Build with debugging support
 FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
 LIBPROXY=off: Proxy support via libproxy
 LTO=off: Use Link-Time Optimization
 OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
 PROFILE=on: Build with profiling support
 TEST=off: Build and/or run tests
> Extra cubeb audio backends (OSS is always available)
 ALSA=off: ALSA audio architecture support
 JACK=on: JACK audio server support
 PULSEAUDIO=on: PulseAudio sound server support
 SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ge...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
BINDGEN_CFLAGS="-I/usr/local/include" MAKE=gmake PKG_CONFIG=pkgconf 
PYTHON="/usr/local/bin/python3.9" 
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="/usr/local/bin/clang13" CFLAGS="-O2 -pipe  -O3 -DLIBICONV_PLUG 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  
CPP="/usr/local/bin/clang-cpp13" CPPFLAGS="-DLIBICONV_PLUG -isystem 
/usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong " 
LIBS="-L/usr/local/lib"  CXX="/usr/local/bin/clang++13" CXXFLAGS="-O2 -pipe -O3 
-D
LIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include "  
MANPREFIX="/usr/local" BSD

[Bug 273931] www/firefox: Crash when trying to share screen

2023-12-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273931

Jesper Schmitz Mouridsen  changed:

   What|Removed |Added

 CC||j...@freebsd.org

--- Comment #6 from Jesper Schmitz Mouridsen  ---
Not tested on recent firefox but pipewire and wayland support seems to bug x11
screen sharing. 
If I remove the following from
third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
(After bsd patches are applied) it works under X11.. 


if CONFIG["CPU_ARCH"] == "x86_64":

DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_USE_PIPEWIRE"] = True

LOCAL_INCLUDES += [
"/gfx/angle/checkout/include/",
"/third_party/drm/drm/",
"/third_party/drm/drm/include/",
"/third_party/drm/drm/include/libdrm/",
"/third_party/gbm/gbm/",
"/third_party/libepoxy/libepoxy/include/",
"/third_party/pipewire/"
]

SOURCES += [
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc"
]

UNIFIED_SOURCES += [
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
   
"/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc"
]

-- 
You are receiving this mail because:
You are the assignee for the bug.


[package - 132i386-quarterly][www/firefox] Failed for firefox-121.0,2 in build

2023-12-21 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: ge...@freebsd.org
Log URL:
https://pkg-status.freebsd.org/beefy13/data/132i386-quarterly/9d5f5f8e2a1f/logs/firefox-121.0,2.log
Build URL:  
https://pkg-status.freebsd.org/beefy13/build.html?mastername=132i386-quarterly&build=9d5f5f8e2a1f
Log:

=>> Building www/firefox
build started at Fri Dec 22 06:12:27 UTC 2023
port directory: /usr/ports/www/firefox
package name: firefox-121.0,2
building for: FreeBSD 132i386-quarterly-job-06 13.2-RELEASE-p9 FreeBSD 
13.2-RELEASE-p9 i386
maintained by: ge...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2642 Dec 19 01:01 
/usr/ports/www/firefox/Makefile
Ports top last git commit: 9d5f5f8e2
Ports top unclean checkout: no
Port dir last git commit: ec15ee20b
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 156
Jail OSVERSION: 1302001
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1302001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.2-RELEASE-p9
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.2-RELEASE-p9
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/132i386-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132i386-quarterly/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for firefox-121.0,2:
 CANBERRA=off: Sound theme alerts
 DBUS=on: D-Bus IPC system support
 DEBUG=off: Build with debugging support
 FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
 LIBPROXY=off: Proxy support via libproxy
 LTO=off: Use Link-Time Optimization
 OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
 PROFILE=on: Build with profiling support
 TEST=off: Build and/or run tests
> Extra cubeb audio backends (OSS is always available)
 ALSA=off: ALSA audio architecture support
 JACK=on: JACK audio server support
 PULSEAUDIO=on: PulseAudio sound server support
 SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ge...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
BINDGEN_CFLAGS="-I/usr/local/include" MAKE=gmake PKG_CONFIG=pkgconf 
PYTHON="/usr/local/bin/python3.9" 
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="/usr/local/bin/clang13" CFLAGS="-O2 -pipe  -O3 -DLIBICONV_PLUG 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  
CPP="/usr/local/bin/clang-cpp13" CPPFLAGS="-DLIBICONV_PLUG -isystem 
/usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong " 
LIBS="-L/usr/local/lib"  CXX="/usr/local/bin/clang++13" CXXFLAGS="-O2 -pipe -O3 
-D
LIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/lo