[Bug 270642] www/firefox: 112.⋯: no sound with sndio backend

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

--- Comment #6 from Piotr Smyrak  ---
(In reply to Jan Beich from comment #5)
I do have the sndiod daemon running:

$ sysrc sndiod_enable
sndiod_enable: YES

Although as Tatsuki suggested, I need to restart it to make 112 play sound.

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


maintainer-feedback requested: [Bug 270782] www/firefox: 112 fails to build on i386

2023-04-12 Thread bugzilla-noreply
Bugzilla Automation  has asked freebsd-gecko (Nobody)
 for maintainer-feedback:
Bug 270782: www/firefox: 112 fails to build on i386
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270782



--- Description ---
Building on i386 fails with these errors:

---
In file included from Unified_cpp_dom_base10.cpp:74:
In file included from
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragment.cpp:1
62:
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragmentGeneri
c.h:16:48:
error: implicit instantiation of undefined
 template 'xsimd::batch'
  const uint32_t numUnicharsPerVector = xsimd::batch::size;
   ^
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragment.cpp:1
83:21:
note: in instantiation of function template sp
ecialization 'mozilla::FirstNon8Bit' requested here
return mozilla::FirstNon8Bit(str, end);
^
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/third_party/xsimd/include/xsi
md/arch/xsimd_scalar.hpp:30:11:
note: template is dec
lared here
class batch;
  ^
In file included from Unified_cpp_dom_base10.cpp:74:
In file included from
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragment.cpp:1
62:
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragmentGeneri
c.h:35:31:
error: implicit instantiation of undefined
 template 'xsimd::batch'
  xsimd::batch vectmask(static_cast(shortMask));
  ^
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/third_party/xsimd/include/xsi
md/arch/xsimd_scalar.hpp:30:11:
note: template is dec
lared here
class batch;
  ^
3 errors generated.
---

I'm also attaching a workaround that allowed me to get past this, but it just
force-disables any SSE* usage on i386, so that's probably not the best
approach.



[Bug 270782] www/firefox: 112 fails to build on i386

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

Bug ID: 270782
   Summary: www/firefox: 112 fails to build on i386
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: Individual Port(s)
  Assignee: ge...@freebsd.org
  Reporter: zir...@freebsd.org
 Flags: maintainer-feedback?(ge...@freebsd.org)
  Assignee: ge...@freebsd.org

Created attachment 241430
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241430&action=edit
Workaround: force-disable SSE on i386

Building on i386 fails with these errors:

---
In file included from Unified_cpp_dom_base10.cpp:74:
In file included from
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragment.cpp:162:
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragmentGeneric.h:16:48:
error: implicit instantiation of undefined
 template 'xsimd::batch'
  const uint32_t numUnicharsPerVector = xsimd::batch::size;
   ^
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragment.cpp:183:21:
note: in instantiation of function template sp
ecialization 'mozilla::FirstNon8Bit' requested here
return mozilla::FirstNon8Bit(str, end);
^
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:30:11:
note: template is dec
lared here
class batch;
  ^
In file included from Unified_cpp_dom_base10.cpp:74:
In file included from
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragment.cpp:162:
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/dom/base/nsTextFragmentGeneric.h:35:31:
error: implicit instantiation of undefined
 template 'xsimd::batch'
  xsimd::batch vectmask(static_cast(shortMask));
  ^
/wrkdirs/usr/ports/www/firefox/work/firefox-112.0/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:30:11:
note: template is dec
lared here
class batch;
  ^
3 errors generated.
---

I'm also attaching a workaround that allowed me to get past this, but it just
force-disables any SSE* usage on i386, so that's probably not the best
approach.

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


[Bug 270642] www/firefox: 112.⋯: no sound with sndio backend

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

--- Comment #7 from Tatsuki Makino  ---
Restarting sndiod has the effect of resetting the volume of each app, such as
that displayed in sndioctl.

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


[Bug 270642] www/firefox: 112.⋯: no sound with sndio backend

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

--- Comment #8 from Jan Beich  ---
(In reply to Piotr Smyrak from comment #6)
> $ sysrc sndiod_enable
> sndiod_enable: YES

This checks the value in rc.conf(5) but not whether rc.d(8) script is running.
For example, enabling a rc.d script via sysrc won't start it automatically:

$ sysrc sndiod_enable=YES
sndiod_enable:  -> YES
$ service sndiod status
sndiod is not running.

(In reply to Tatsuki Makino from comment #7)
> Restarting sndiod has the effect of resetting the volume of each app, such as 
> that displayed in sndioctl.

Firefox shouldn't be able to change sndio's own volume after
https://bugzilla.mozilla.org/show_bug.cgi?id=1467882

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


[Bug 270642] www/firefox: 112.⋯: no sound with sndio backend

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

--- Comment #9 from Piotr Smyrak  ---
(In reply to Jan Beich from comment #8)

> This checks the value in rc.conf(5) but not whether rc.d(8) script is 
> running. > For example, enabling a rc.d script via sysrc won't start it 
> automatically:

Ah, yes, I am aware of this. I made sure to check whether the daemon was
running, just in my case with a plain old ps. And that it was functional, as I
was able to get a sound output from another app. Perhaps I should have
mentioned in the original report, that the issue manifests only in Firefox.

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


[Bug 270782] www/firefox: 112 fails to build on i386

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

Felix Palmen  changed:

   What|Removed |Added

 Attachment #241430|0   |1
is obsolete||

--- Comment #1 from Felix Palmen  ---
Created attachment 241431
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241431&action=edit
Workaround: force-disable SSE on i386

Updated the workaround, a bit more patching was needed to *really* get rid of
SSE on i386

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


[Bug 270674] www/firefox: update pkg-message (remove about:networking note)

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

Fernando Apesteguía  changed:

   What|Removed |Added

 Resolution|--- |Not A Bug
 Status|Open|Closed

--- Comment #4 from Fernando Apesteguía  ---
While the message might be improved, I don't want to push it any further.

Thanks for the clarification.

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


[Bug 270642] www/firefox: 112.⋯: no sound with sndio backend

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

--- Comment #10 from Jan Beich  ---
FWIW, OpenBSD has sndiod (daemon) enabled by default after
https://github.com/openbsd/src/commit/4b02bc8359b3

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


[package - 131i386-quarterly][www/firefox] Failed for firefox-112.0_1,2 in build

2023-04-12 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/131i386-quarterly/8d90cb968a9b/logs/firefox-112.0_1,2.log
Build URL:  
https://pkg-status.freebsd.org/beefy13/build.html?mastername=131i386-quarterly&build=8d90cb968a9b
Log:

=>> Building www/firefox
build started at Thu Apr 13 03:29:34 UTC 2023
port directory: /usr/ports/www/firefox
package name: firefox-112.0_1,2
building for: FreeBSD 131i386-quarterly-job-09 13.1-RELEASE-p7 FreeBSD 
13.1-RELEASE-p7 i386
maintained by: ge...@freebsd.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p7
UNAME_r=13.1-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/131i386-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131i386-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for firefox-112.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 
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  
PERL_USE_UNSAFE_INC=1 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--
PERL_USE_UNSAFE_INC=1 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 -DLIBICONV_PLUG -fstack-protector-strong -isystem 
/usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem 
/usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install   -m 
555"  BSD_INSTALL_LIB="install   -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555" 
 BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
GT