Bug 1657460 - qt5-qtwebengine FTBFS against glibc-2.28.9000+ on aarch64
Summary: qt5-qtwebengine FTBFS against glibc-2.28.9000+ on aarch64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtwebengine
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-08 14:55 UTC by Rex Dieter
Modified: 2018-12-10 01:48 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-10 01:48:28 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Qt Bug Tracker QTBUG-72289 None None None 2018-12-08 14:55:33 UTC

Description Rex Dieter 2018-12-08 14:55:34 UTC
qt5-qtwebengine recently started to fail to build on aarch64 after the introduction of glibc-2.28.9000 into rawhide, link to koji build:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1168868

Snippet of aarch64 build.log shows:

In file included from ../../3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h:8,
                 from ../../3rdparty/chromium/sandbox/linux/system_headers/linux_syscalls.h:33,
                 from ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:8:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc: In static member function 'static bool sandbox::SyscallSets::IsFileSystem(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:112:10: error: '__NR3264_fstatat' was not declared in this scope
     case __NR_newfstatat:  // fstatat(). EPERM not a valid errno.
          ^~~~~~~~~~~~~~~
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc: In static member function 'static bool sandbox::SyscallSets::IsAllowedFileSystemAccessViaFd(int)':
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc:161:10: error: '__NR3264_fstat' was not declared in this scope
     case __NR_fstat:


From a quick perusal, it appears the relevant webengine code snippets are wrapped with
#ifarch arm

So 2 possibilities I see offhand:
* fstat-related macro handling changed on aarch64
* #ifarch arm   didn't cover aarch64 before but does now


I filed upstream bug at
https://bugreports.qt.io/browse/QTBUG-72289

Comment 1 Florian Weimer 2018-12-08 15:26:31 UTC
glibc does not provide these __NR_ macros or the arm define.  You need to fix that in qt5-qtwebengine (or get the kernel to change the syscall macros).


Note You need to log in before you can comment on or make changes to this bug.