Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 819267

Summary: dev-qt/qtwebengine-5.15.2_p20211019: missing include on ppc64le
Product: Gentoo Linux Reporter: Justus Ranvier <gentoobugs.starch836>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED NEEDINFO    
Severity: normal CC: gyakovlev, sam
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Justus Ranvier 2021-10-21 17:23:07 UTC
Emerging qtwebengine-5.15.2_p20211019 with USE="alsa jumbo-build pulseaudio system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -kerberos -test" and gcc 11.2.0 results in a compile error, apparently caused by a missing include:

[11440/23641] /usr/bin/powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/sandbox/linux/sandbox_services/broker_client.o.d -DSANDBOX_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D
__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_
party/perfetto -Igen -Igen -Igen -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/protobuf/src -Igen/
protoc_out -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-d
angling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -W
no-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/sandbox/linux/syscall_broker/broker_client.cc -o obj/sandbox/linux/sandbox_services/broker_client.o
FAILED: obj/sandbox/linux/sandbox_services/broker_client.o 
/usr/bin/powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/sandbox/linux/sandbox_services/broker_client.o.d -DSANDBOX_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTAN
T_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
 -Igen -Igen -Igen -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -fn
o-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -
Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-
copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/sandbox/linux/syscall_broker/broker_client.cc -o obj/sandbox/linux/sandbox_services/broker_client.o
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/sandbox/linux/syscall_broker/broker_client.cc: In member function ‘virtual int sandbox::syscall_broker::BrokerClient::Stat(const char*, bool, sandbox::kernel_stat*) const’:
../../../../qtwebengine-5.15.2_p20211019/src/3rdparty/chromium/sandbox/linux/syscall_broker/broker_client.cc:179:28: error: invalid application of ‘sizeof’ to incomplete type ‘sandbox::kernel_stat’
  179 |                            sizeof(*sb));
      |                            ^~~~~~~~~~~


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-22 02:54:18 UTC
Please do include the full build.log (compressed if necessary and emerge --info for these. Especially given people will likely have to fix this blind.