[Bug 279180] www/qt6-webengine: fails to build with SNDIO=on (sndio_output.cc:14:27: error: redefinition of 'kSampleFormat')
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 20 15:53:17 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279180
Bug ID: 279180
Summary: www/qt6-webengine: fails to build with SNDIO=on
(sndio_output.cc:14:27: error: redefinition of
'kSampleFormat')
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: nimaje+fbz at bureaucracy.de
Assignee: kde at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
when trying to build qt6-webengine with sndio as audio backend it fails with
[ 53% 15533/29113] CXX obj/media/audio/audio/audio_jumbo_7.o
FAILED: obj/media/audio/audio/audio_jumbo_7.o
/usr/local/libexec/ccache/c++ -MMD -MF obj/media/audio/audio/audio_jumbo_7.o.d
-DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURC
E -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DIS_MEDIA_IMPL -DUSE_SNDIO -DSK_ENABLE_SKSL
-DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_USER_CONFIG_HEADER=\"../../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 -D
SK_DISABLE_LEGACY_SKSURFACE_FLUSH -DSK_DISABLE_LEGACY_SKSURFACE_AS_IMAGE
-DSK_DISABLE_LEGACY_SKSURFACE_DISPLAYLIST
-DSK_DISABLE_LEGACY_IMAGE_SUBSET_METHODS
-DSK_DISABLE_LEGACY_IMAGE_COLORSPACE_METHODS -DSK_DISABLE_LEGACY_IMAG
E_RELEASE_PROCS -DSK_DISABLE_LEGACY_GL_BACKEND_SURFACE
-DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG
-DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_GANESH
-DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_drive
r_bug_workaround_autogen.h\" -DSK_GL -DSK_VULKAN=1 -DSK_GRAPHITE
-DVK_USE_PLATFORM_XCB_KHR -DUSE_GLX -DUSE_EGL -DLIBYUV_DISABLE_NEON
-DUSE_SYSTEM_LIBEVENT=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DUSE_CHROMIUM_ICU=1 -
DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DFLAC__NO_DLL -I. -Igen
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium
-I../../../.
./../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromi
um/third_party/skia -Igen/third_party/skia
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/wuffs/src/release/c
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_
party/vulkan/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/net/third
_party/quiche/overrides
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/net/third_party/quiche/src/quiche/common/platform/default
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/net/third_party/quiche/src
-Igen/third_party/dawn/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/dawn/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/khronos
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/gpu
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/libyuv/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/abseil-cpp
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/boringssl/src/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/protobuf/src
-Igen/protoc_out
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/icu/source/common
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/icu/source/i18n
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/ipcz/include
-I../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/third_party/ced/src
-Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration
-Wno-deprecated-declarations -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option
-Wno-ignored-attributes -Wno-predefined-identifier-outside-function
-Wno-self-assign -Wno-unknown-pragmas -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -no-canonical-prefixes -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wexit-time-destructors -Wno-redundant-parens
-Wno-redundant-parens -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/local/include/opus
-Wno-parentheses-equality -Wno-tautological-compare
-Wno-thread-safety-attributes -Wno-undefined-bool-conversion
-Wno-tautological-undefined-compare -std=c++20 -Wno-trigraphs -fno-exceptions
-fno-rtti -fvisibility-inlines-hidden -isystem /usr/local/include -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-isystem /usr/local/include -c gen/media/audio/audio_jumbo_7.cc -o
obj/media/audio/audio/audio_jumbo_7.o
In file included from gen/media/audio/audio_jumbo_7.cc:14:
./../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/media/audio/sndio/sndio_output.cc:14:27:
error: redefinition of 'kSampleFormat'
static const SampleFormat kSampleFormat = kSampleFormatS16;
^
./../../../../../qtwebengine-everywhere-src-6.7.0/src/3rdparty/chromium/media/audio/sndio/sndio_input.cc:13:27:
note: previous definition is here
static const SampleFormat kSampleFormat = kSampleFormatS16;
^
1 error generated.
Which seems to be an artefact of a jumbo build, as sndio_output.cc and
sndio_input.cc define kSampleFormat as static which should work fine if they
were seperate compilation units and later linked together, instead of being
#included into audio_jumbo_7.cc and be one compilation unit as a result.
I can provide the full build log, if need be
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list