We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3977

Summary: fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory
Product: SDL Reporter: Alex Ivanov <gnidorah>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: 2.0.7   
Hardware: x86_64   
OS: Linux   
Attachments: failing build log

Description Alex Ivanov 2017-11-22 10:48:19 UTC
Created attachment 3098 [details]
failing build log

SDL2 with enabled Wayland support fails to build in parallel on rare occasion.

It happens if source files which include pointer-constraints-unstable-v1-client-protocol.h are started to build before pointer-constraints-unstable-v1-client-protocol.h is generated from accompanied protocol XML file.

Looks like something is wrong with dependency order in Makefile which pops on parallel builds.

Log with failing build is in attach. And here is a report from users of NixOS distro https://github.com/NixOS/nixpkgs/issues/31895
Comment 1 Ryan C. Gordon 2018-08-07 22:37:52 UTC
This is fixed in https://hg.libsdl.org/SDL/rev/277e57c09ff4, thanks!

--ryan.