Bug 216226

Summary: Build failure; cannot find seccomp.h
Product: WebKit Reporter: Mike Gorse <mgorse>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, aperez, bugs-noreply, darin, ews-watchlist, gyuyoung.kim, mgorse, ryuan.choi, sergio
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Patch.
darin: review+, ews-feeder: commit-queue-
Patch. none

Description Mike Gorse 2020-09-06 07:47:05 PDT
I am getting a build failure with webkitgtk 2.29.92 where g++ cannot find seccomp.h when BubblewrapLauncher.cpp tries to include it. It looks as though LIBSECCOMP_INCLUDE_DIRS just isn't being added to WebKit_SYSTEM_INCLUDE_DIRECTORIES, so I'm not sure why I'm seeing a failure now where I wasn't with 2.28.4.
Comment 1 Mike Gorse 2020-09-06 09:29:58 PDT
Created attachment 408123 [details]
Patch.
Comment 2 EWS 2020-09-06 14:24:52 PDT
ChangeLog entry in Source/WebKit/ChangeLog contains OOPS!.
Comment 3 Mike Gorse 2020-09-07 07:03:55 PDT
Created attachment 408177 [details]
Patch.
Comment 4 Darin Adler 2020-09-07 09:47:14 PDT
Comment on attachment 408177 [details]
Patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=408177&action=review

> Source/WebKit/ChangeLog:8
> +        No new tests (build fix only).

Next time you contribute a patch like this you are welcome to just delete this line altogether.
Comment 5 EWS 2020-09-07 10:02:45 PDT
Committed r266702: <https://trac.webkit.org/changeset/266702>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 408177 [details].
Comment 6 Adrian Perez 2020-09-09 15:06:11 PDT
It would have been nice to convert the CMake find module for libseccomp
to use imported targets while at it… anyway—next time, thanks for writing
the patch, Mike!