pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60266: firefox140: Build fails with a catastrophic number of build errors



>Number:         60266
>Category:       pkg
>Synopsis:       firefox140: Build fails with a catastrophic number of build errors
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 15 17:30:00 +0000 2026
>Originator:     Daniel Bradbury
>Release:        NetBSD 11.0 RC4/ pkgsrc 2026Q1
>Organization:
>Environment:
NetBSD netbook.powerhub 11.0_RC4 NetBSD 11.0_RC4 (GENERIC) #0: Tue May 12 04:23:51 UTC 2026  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When attempting to build Firefox on fresh install of the aforementioned NetBSD release, I receive multiple build errors simultaneously part-way through the release, the contents of which vary.

At a certain point in the build process, the compiler just starts aggressively vomiting errors so hard that I can't even scroll back tmux enough to see it all, and it's quite difficult to parse. Here are a couple of excerpts (copied using OCR, mind for typos):

```
/usr/pkgsrc/www/firefox148/work/firefox-140.10.2/third_party/gemmology/kernels/GemmologyEngineAVX512BH.cpp:9:17: required from here

/usr/include/g++/bits/range_access.h:63:56: error: request for member 'begin' in '__cont', which is of non-class type 'const float [0]′

63 | begin(const _Container& __cont) -> decltype(_cont.begin())
```

```
/usr/pkgsrc/www/firefox148/work/firefox-140.18.2/third_party/gemmology/kernels/GemmologyEngineAVX512BH.cpp:9:17: required from here

/usr/include/g++/bits/range_access.h:74:48: error: request for member 'end' in '__cont', which is of non-class type 'float [0]′

74 | end(_Container& __cont) -> decltype(__cont.end())
```

```
/usr/pkgsrc/wwы/firefox148/work/firefox-148.18.2/third_party/gemmology/kernels/GemmologyEngineAVX512BW.cpp:9:17: required from here

/usr/pkgsrc/www/fiгefox148/work/firefox-148.18.2/third_party/xsimd/include/xsimd/types/../arch/././generic/xsimd_generic_memory.hpp:558:55: error: static assertion failed: there should be a direct store for this type combination

558 | static_assert(!std:: is_same<T_in, T_out>::value, "there should be a direct store for this type combination");

/usr/pkgsrc/w&#1084;&#1084;/fi&#1075;&#1077;fox148/work/firefox-148.18.2/third_party/xsimd/include/xsimd/types/../arch/././generic/xsimd_generic_memory.hpp:558:55: note: '!(bool)std::integral_constant <bool, true>::value' evaluates to false /usr/pkgsrc/www/firefox148/work/firefox-148.18.2/third_party/xsimd/include/xsimd/types/../arch/././generic/xsimd_generic_memory.hpp:561:33: error: no matching function for call to 'begin(float [8])'

561 | std::copy(std::begin(buffer), std::end(buffer), men);
```

These issues occur even after multiple attempts at cleaning and re-building from scratch, and always seem to occur in the same general area of the codebase. It's hard for me to tell what exactly is causing the issue.
>How-To-Repeat:
Attempt to build Firefox 140 from pkgsrc on a fresh AMD64 NetBSD 11.0 RC4 system
>Fix:




Home | Main Index | Thread Index | Old Index