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 - fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory
Summary: fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file ...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.7
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 10:48 UTC by Alex Ivanov
Modified: 2018-08-07 22:37 UTC (History)
1 user (show)

See Also:


Attachments
failing build log (22.25 KB, text/plain)
2017-11-22 10:48 UTC, Alex Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.