Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2023 11:19:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 271483] www/iridium: 2023.04.112.2_2 build error - video_capture_device_linux
Message-ID:  <bug-271483-28929-uDH7ePgSad@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271483-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271483-28929@https.bugs.freebsd.org/bugzilla/>

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

fgorter <fgorter@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fgorter@gmail.com

--- Comment #6 from fgorter <fgorter@gmail.com> ---
(In reply to Marko Cupa=C4=87 from comment #5)

Having the same problem here. Wrestling with it for a few weeks now.
My build-box is 36-cores 4.6Ghz / 128GB RAM / 8TB SSD machine. "lack of
resources" concerns is effectively null & void. Monitoring the process conf=
irms
there is no lack of memory or other resources -- console does not spam anyt=
hing
to the effect either.
Interestingly, both chromium & ungoogled-chromium build successfully without
error.

Output is the same:

@ [ 60% 32210/53604]=20

FAILED: obj/media/capture/capture_lib/v4l2_capture_delegate.o=20
c++ -MMD -MF obj/media/capture/capture_lib/v4l2_capture_delegate.o.d
-DCAPTURE_IMPLEMENTATION -DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1
-DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-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 -DUSE_EGL
-DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DLIBYUV_DISABLE_NE=
ON
-DUSE_SYSTEM_LIBEVENT=3D1 -DUSING_SYSTEM_ICU=3D1
-DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_STATIC -DU_FINAL=3Dfinal -DU_NOEXCEPT=
=3Dnoexcept
-DU_OVERRIDE=3Doverride -DU_IMPORT=3DU_EXPORT -DSK_CODEC_DECODES_PNG
-DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL
-DSK_UNTIL_CRBUG_1187654_IS_FIXED
-DSK_USER_CONFIG_HEADER=3D\"../../skia/config/SkUserConfig.h\"
-DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_GL -DSK_CODEC_DECODES_JPEG
-DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=3D1 -DSK_SUPPORT_GPU=3D1
-DSK_GPU_WORKAROUNDS_HEADER=3D\"gpu/config/gpu_driver_bug_workaround_autoge=
n.h\"
-DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=3D0 -DHAVE_PTHREAD
-DLEVELDB_PLATFORM_CHROMIUM=3D1 -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 -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/khronos -I../../gpu
-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/libyuv/include -Igen/shim_headers/opus_shim
-Igen/shim_headers/flac_shim -Igen/shim_headers/snappy_shim
-Igen/shim_headers/openh264_shim -I../../third_party/jsoncpp/source/include
-I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include
-I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/s=
rc
-I../../third_party/libwebm/source -I../../third_party/skia
-I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include
-I../../third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include
-I../../third_party/libaom/source/libaom -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/webrtc_overrides -I../../third_party/webrtc
-Igen/third_party/webrtc -Wimplicit-fallthrough -Wextra-semi
-Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initialize=
rs
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-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 -no-canonical-prefixes
-ftrivial-auto-var-init=3Dpattern -O2 -fdata-sections -ffunction-sections
-fno-unique-section-names -fno-omit-frame-pointer -g0 -fvisibility=3Dhidden
-Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -DPROTOBUF_ALLOW_DEPRECATED=3D1 -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/nss
-I/usr/local/include/nspr -std=3Dc++20 -Wno-trigraphs -fno-exceptions -fno-=
rtti
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c
../../media/capture/video/linux/v4l2_capture_delegate.cc -o
obj/media/capture/capture_lib/v4l2_capture_delegate.o
../../media/capture/video/linux/v4l2_capture_delegate.cc:220:27: error:
out-of-line definition of 'IsSpecialControl' does not match any declaration=
 in
'media::V4L2CaptureDelegate'
bool V4L2CaptureDelegate::IsSpecialControl(int control_id) {
                          ^~~~~~~~~~~~~~~~
../../media/capture/video/linux/v4l2_capture_delegate.cc:242:27: error:
out-of-line definition of 'IsBlockedControl' does not match any declaration=
 in
'media::V4L2CaptureDelegate'
bool V4L2CaptureDelegate::IsBlockedControl(int control_id) {
                          ^~~~~~~~~~~~~~~~
2 errors generated.
...
<snip>
...
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

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

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



It happens whether defaults or customized make config is issued.
I can usually force a make to carry on to a further point, but not getting
beyond about [  0% 22/19972].
Haven't dug deep enough to compare how chromium proper gets around this iss=
ue
-- assuming the same section of code appears in their source(s). Anything
related to V4Linux is present, which shouldn't be the issue, given that the
chromium vanilla varieties build just fine.
Not sure how to continue for now.

--=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-271483-28929-uDH7ePgSad>