Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2023 05:25:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273376] www/chromium: Build 116.0.5845.110 fails with missing method.
Message-ID:  <bug-273376-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273376

            Bug ID: 273376
           Summary: www/chromium: Build 116.0.5845.110 fails with missing
                    method.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: peterj@FreeBSD.org
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

Building on FreeBSD 13.2-STABLE/amd64 from late May with
"FreeBSD Clang 15.0.7 (https://github.com/llvm/llvm-project.git
llvmorg-15.0.7-0-g8dfdcc7b7bf6)", the build fails in out/Release as below.=
=20
I've had a look at the pre-processed intermediate ("-dD -E") and there's
nothing obvious.  The relevant code has a patch that wraps it in:
#if BUILDFLAG(IS_OPENBSD) || (BUILDFLAG(IS_FREEBSD) && (_LIBCPP_VERSION >
15000))
that was added in
https://cgit.freebsd.org/ports/commit/?id=3D010eff12e836eec1163a43a71439732=
c2a561213

Compilation failure:
FAILED: obj/components/webauthn/core/browser/browser/passkey_sync_bridge.o=
=20
c++ -MMD -MF
obj/components/webauthn/core/browser/browser/passkey_sync_bridge.o.d
-DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -DOFFICIAL_BUILD
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=3D2
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION=
_2_56
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_56
-DBASE_USE_PERFETTO_CLIENT_LIBRARY=3D1 -DLIBYUV_DISABLE_NEON -DUSE_EGL
-DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DUSE_SYSTEM_LIBEVE=
NT=3D1
-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=3D0 -DHAVE_PTHREAD
-DUSING_SYSTEM_ICU=3D1 -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_STATIC -DU_FINA=
L=3Dfinal
-DU_NOEXCEPT=3Dnoexcept -DU_OVERRIDE=3Doverride -DU_IMPORT=3DU_EXPORT
-DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=3D0
-DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_BSD
-DABSL_ALLOCATOR_NOTHROW=3D1 -DWEBRTC_USE_X11 -DLOGGING_INSIDE_WEBRTC
-DSK_ENABLE_SKSL -DSK_UNTIL_CRBUG_1187654_IS_FIXED
-DSK_USER_CONFIG_HEADER=3D\"../../skia/config/SkUserConfig.h\"
-DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_DISABLE_LEGACY_SKSURFACE_METHODS
-DSK_DISABLE_LEGACY_GRAPHITE_IMAGE_FACTORIES
-DSK_DISABLE_LEGACY_GRAPHITE_IMAGE_METHODS
-DSK_DISABLE_LEGACY_SKSURFACE_FACTORIES -DSK_DISABLE_LEGACY_SKSURFACE_FLUSH
-DSK_DISABLE_LEGACY_SKSURFACE_AS_IMAGE
-DSK_DISABLE_LEGACY_SKSURFACE_DISPLAYLIST -DSK_CODEC_DECODES_JPEG
-DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_JPEG -DSK_ENCODE=
_PNG
-DSK_ENCODE_WEBP -DSK_HAS_WUFFS_LIBRARY -DSK_GANESH
-DSK_GPU_WORKAROUNDS_HEADER=3D\"gpu/config/gpu_driver_bug_workaround_autoge=
n.h\"
-DSK_GL -DSK_VULKAN=3D1 -DSK_GRAPHITE -DLEVELDB_PLATFORM_CHROMIUM=3D1 -I../=
.. -Igen
-I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config
-Igen/third_party/perfetto -Igen/shim_headers/libevent_shim
-Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim
-Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim
-I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/inclu=
de
-Igen/shim_headers/opus_shim -Igen/shim_headers/openh264_shim
-Igen/shim_headers/dav1d_shim
-I../../third_party/vulkan-deps/vulkan-headers/src/include
-I../../third_party/wayland/src/src -I../../third_party/wayland/include/src
-Igen/third_party/dawn/include -I../../third_party/dawn/include
-I../../third_party/khronos -I../../gpu -Igen/shim_headers/flac_shim
-Igen/shim_headers/snappy_shim -Igen/third_party/private_membership/src
-Igen/third_party/shell-encryption/src -Igen/components/policy/proto
-I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include
-I../../third_party/protobuf/src -Igen/protoc_out
-I../../third_party/ipcz/include -I../../net/third_party/quiche/overrides
-I../../net/third_party/quiche/src/quiche/common/platform/default
-I../../net/third_party/quiche/src -Igen/net/third_party/quiche/src
-I../../third_party/ced/src -I../../third_party/webrtc_overrides
-I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/skia
-Igen/third_party/skia -I../../third_party/wuffs/src/release/c
-I../../third_party/vulkan/include -I../../third_party/libwebm/source
-I../../third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include
-I../../third_party/libaom/source/libaom -Wall -Wextra -Wimplicit-fallthrou=
gh
-Wextra-semi -Wunreachable-code-aggressive -Wthread-safety
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi
-Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-condition=
al
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-prote=
ctor
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes
-ftrivial-auto-var-init=3Dpattern -O2 -fdata-sections -ffunction-sections
-fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux-5845-169212170=
6-2581e1554c78da1b495c99d060301e969463dc3a.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-convers=
ion
-Wtautological-overlap-compare -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -Wno-redundant-parens
-DPROTOBUF_ALLOW_DEPRECATED=3D1 -I/usr/local/include -I/usr/local/include/n=
ss
-I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include
-Wno-redundant-parens -std=3Dc++20 -Wno-trigraphs -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -O2 -pipe -march=3Dznver1 -fstack-protector-str=
ong
-isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/inclu=
de=20
-c ../../components/webauthn/core/browser/passkey_sync_bridge.cc -o
obj/components/webauthn/core/browser/browser/passkey_sync_bridge.o
../../components/webauthn/core/browser/passkey_sync_bridge.cc:272:20: error=
: no
member named 'find_if' in namespace 'std::ranges'
      std::ranges::find_if(data_, [&credential_id](const auto& passkey) {
      ~~~~~~~~~~~~~^
../../components/webauthn/core/browser/passkey_sync_bridge.cc:328:20: error=
: no
member named 'find_if' in namespace 'std::ranges'
      std::ranges::find_if(data_, [&credential_id](const auto& passkey) {
      ~~~~~~~~~~~~~^
2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273376-7788>