Source: qt6-webengine
Version: 6.9.2+dfsg-4
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
qt6-webengine fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| FAILED: [code=1] obj/sandbox/linux/seccomp_bpf/baseline_policy.o
| /usr/bin/g++-14 -MD -MF obj/sandbox/linux/seccomp_bpf/baseline_policy.o.d
-DSANDBOX_IMPLEMENTATION -DUSE_UDEV -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_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D__ARM_NEON__=1
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen
-I../../../../../src/3rdparty/chromium
-I../../../../../src/3rdparty/chromium/third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-I../../../../../src/3rdparty/chromium/base/allocator/partition_allocator/src
-Igen/base/allocator/partition_allocator/src
-I../../../../../src/3rdparty/chromium/third_party/abseil-cpp
-I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include
-I../../../../../src/3rdparty/chromium/third_party/protobuf/src
-Igen/protoc_out -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-packed-not-aligned -Wno-misleading-indentation -Wno-dangling-else
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident
-fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address
-Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow
-Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread
-mbranch-protection=standard -O2 -fdata-sections -ffunction-sections
-fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g0 -fvisibility=hidden
-Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type
-Wno-deprecated-copy -Wno-invalid-offsetof -Wno-deprecated-copy
-Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -c
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-o obj/sandbox/linux/seccomp_bpf/baseline_policy.o
| In file included from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/trap_registry.h:13,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/bpf_dsl.h:18,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc:17:
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected identifier before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected ‘}’ before numeric constant
| In file included from /usr/include/signal.h:58,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/services/syscall_wrappers.h:8,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc:22:
| /usr/include/aarch64-linux-gnu/bits/siginfo-consts.h:218:1: note: to match
this ‘{’
| 218 | {
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected unqualified-id before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
| In file included from /usr/include/features.h:539,
| from /usr/include/aarch64-linux-gnu/sys/types.h:25,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h:8,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc:5:
| /usr/include/signal.h:393:1: error: expected declaration before ‘}’ token
| 393 | __END_DECLS
| | ^~~~~~~~~~~
...
| FAILED: [code=1] obj/sandbox/linux/seccomp_bpf/sandbox_bpf.o
| /usr/bin/g++-14 -MD -MF obj/sandbox/linux/seccomp_bpf/sandbox_bpf.o.d
-DSANDBOX_IMPLEMENTATION -DUSE_UDEV -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_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D__ARM_NEON__=1
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen
-I../../../../../src/3rdparty/chromium
-I../../../../../src/3rdparty/chromium/third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-I../../../../../src/3rdparty/chromium/base/allocator/partition_allocator/src
-Igen/base/allocator/partition_allocator/src
-I../../../../../src/3rdparty/chromium/third_party/abseil-cpp
-I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include
-I../../../../../src/3rdparty/chromium/third_party/protobuf/src
-Igen/protoc_out -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-packed-not-aligned -Wno-misleading-indentation -Wno-dangling-else
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident
-fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address
-Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow
-Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread
-mbranch-protection=standard -O2 -fdata-sections -ffunction-sections
-fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g0 -fvisibility=hidden
-Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type
-Wno-deprecated-copy -Wno-invalid-offsetof -Wno-deprecated-copy
-Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -c
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/sandbox_bpf.cc
-o obj/sandbox/linux/seccomp_bpf/sandbox_bpf.o
| In file included from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/trap_registry.h:13,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/bpf_dsl.h:18,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/sandbox_bpf.cc:26:
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected identifier before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected ‘}’ before numeric constant
| In file included from /usr/include/signal.h:58,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/syscall.h:8,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/sandbox_bpf.cc:33:
| /usr/include/aarch64-linux-gnu/bits/siginfo-consts.h:218:1: note: to match
this ‘{’
| 218 | {
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected unqualified-id before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdint.h:26,
| from /usr/lib/gcc/aarch64-linux-gnu/14/include/stdint.h:9,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/sandbox_bpf.h:8,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/sandbox_bpf.cc:10:
| /usr/include/signal.h:393:1: error: expected declaration before ‘}’ token
| 393 | __END_DECLS
| | ^~~~~~~~~~~
...
| FAILED: [code=1] obj/sandbox/linux/seccomp_bpf/sigsys_handlers.o
| /usr/bin/g++-14 -MD -MF obj/sandbox/linux/seccomp_bpf/sigsys_handlers.o.d
-DSANDBOX_IMPLEMENTATION -DUSE_UDEV -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_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D__ARM_NEON__=1
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen
-I../../../../../src/3rdparty/chromium
-I../../../../../src/3rdparty/chromium/third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-I../../../../../src/3rdparty/chromium/base/allocator/partition_allocator/src
-Igen/base/allocator/partition_allocator/src
-I../../../../../src/3rdparty/chromium/third_party/abseil-cpp
-I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include
-I../../../../../src/3rdparty/chromium/third_party/protobuf/src
-Igen/protoc_out -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-packed-not-aligned -Wno-misleading-indentation -Wno-dangling-else
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident
-fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address
-Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow
-Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread
-mbranch-protection=standard -O2 -fdata-sections -ffunction-sections
-fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g0 -fvisibility=hidden
-Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type
-Wno-deprecated-copy -Wno-invalid-offsetof -Wno-deprecated-copy
-Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -c
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
-o obj/sandbox/linux/seccomp_bpf/sigsys_handlers.o
| In file included from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/trap_registry.h:13,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/bpf_dsl.h:18,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:27:
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected identifier before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected ‘}’ before numeric constant
| In file included from /usr/include/signal.h:58,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/syscall.h:8,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:29:
| /usr/include/aarch64-linux-gnu/bits/siginfo-consts.h:218:1: note: to match
this ‘{’
| 218 | {
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected unqualified-id before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdint.h:26,
| from /usr/lib/gcc/aarch64-linux-gnu/14/include/stdint.h:9,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h:8,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:12:
| /usr/include/signal.h:393:1: error: expected declaration before ‘}’ token
| 393 | __END_DECLS
| | ^~~~~~~~~~~
...
| FAILED: [code=1] obj/sandbox/linux/seccomp_bpf/trap.o
| /usr/bin/g++-14 -MD -MF obj/sandbox/linux/seccomp_bpf/trap.o.d
-DSANDBOX_IMPLEMENTATION -DUSE_UDEV -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_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D__ARM_NEON__=1
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen
-I../../../../../src/3rdparty/chromium
-I../../../../../src/3rdparty/chromium/third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-I../../../../../src/3rdparty/chromium/base/allocator/partition_allocator/src
-Igen/base/allocator/partition_allocator/src
-I../../../../../src/3rdparty/chromium/third_party/abseil-cpp
-I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include
-I../../../../../src/3rdparty/chromium/third_party/protobuf/src
-Igen/protoc_out -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments
-Wno-packed-not-aligned -Wno-misleading-indentation -Wno-dangling-else
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident
-fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address
-Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow
-Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread
-mbranch-protection=standard -O2 -fdata-sections -ffunction-sections
-fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g0 -fvisibility=hidden
-Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess
-Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type
-Wno-deprecated-copy -Wno-invalid-offsetof -Wno-deprecated-copy
-Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -c
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc -o
obj/sandbox/linux/seccomp_bpf/trap.o
| In file included from
../../../../../src/3rdparty/chromium/sandbox/linux/bpf_dsl/trap_registry.h:13,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.h:14,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc:10:
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected identifier before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected ‘}’ before numeric constant
| In file included from /usr/include/signal.h:58,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_signal.h:68,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.h:15:
| /usr/include/aarch64-linux-gnu/bits/siginfo-consts.h:218:1: note: to match
this ‘{’
| 218 | {
| | ^
|
../../../../../src/3rdparty/chromium/sandbox/linux/system_headers/linux_seccomp.h:218:39:
error: expected unqualified-id before numeric constant
| 218 | #define SYS_SECCOMP 1
| | ^
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdint.h:26,
| from /usr/lib/gcc/aarch64-linux-gnu/14/include/stdint.h:9,
| from
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.h:9:
| /usr/include/signal.h:393:1: error: expected declaration before ‘}’ token
| 393 | __END_DECLS
| | ^~~~~~~~~~~
| ../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc: In
member function ‘void sandbox::Trap::SigSys(int, LinuxSigInfo*, ucontext_t*)’:
|
../../../../../src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc:159:46:
error: ‘SYS_SECCOMP’ was not declared in this scope
| 159 | if (nr != LINUX_SIGSYS || info->si_code != SYS_SECCOMP || !ctx ||
| | ^~~~~~~~~~~
...
| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j128
-v returned exit code 1
| make[1]: *** [debian/rules:92: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/build/reproducible-path/qt6-webengine-6.9.2+dfsg'
| make: *** [debian/rules:41: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
The full build log is available here [1].
The issue is due to the definition of SYS_SECCOMP in <signal/signal.h>
added in glibc 2.43 [2]. I believe that the patch used by OpenSUSE [3]
fixes the issue, but I haven't tested it.
I would like to thanks Emanuele Rocca for doing the archive rebuild on a
fast arm64 server.
Regards
Aurelien
[1]
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/qt6-webengine_arm64.build
[2]
https://sourceware.org/git/?p=glibc.git;a=commit;h=6f120faf649f03a261e3e64d5b5991030383c1b3
[3]
https://build.opensuse.org/projects/openSUSE:Factory/packages/chromium/files/chromium-141-glibc-2.42-SYS_SECCOMP.patch?expand=0
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
[email protected] http://aurel32.net