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 5444 - SDL 2.0.14 and hg tip FTBFS on Ubuntu 14.04 if wayland deps are installed
Summary: SDL 2.0.14 and hg tip FTBFS on Ubuntu 14.04 if wayland deps are installed
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.14
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.16
Depends on:
Blocks:
 
Reported: 2021-01-04 11:26 UTC by Rémi Verschelde
Modified: 2021-01-04 21:38 UTC (History)
0 users

See Also:


Attachments
config.log from FTBFS with wayland deps installed on Ubuntu 14.04 (305.89 KB, text/x-log)
2021-01-04 11:26 UTC, Rémi Verschelde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Verschelde 2021-01-04 11:26:43 UTC
Created attachment 4637 [details]
config.log from FTBFS with wayland deps installed on Ubuntu 14.04

When building SDL 2.0.14 or the current hg tip on Ubuntu 14.04 64-bit with wayland deps installed, `./configure` enables `wayland(dynamic)` support but then `make` fails:

```
# make
Warning, configure is out of date, please re-run autogen.sh
mkdir -p -- gen
  GEN    gen/org-kde-kwin-server-decoration-manager-client-protocol.h
usage: ./scanner [client-header|server-header|code]

Converts XML protocol descriptions supplied on stdin to client headers,
server headers, or protocol marshalling code.
make: *** [gen/org-kde-kwin-server-decoration-manager-client-protocol.h] Error 1
```

I did not check which deps are required exactly but installing `libsdl2-dev` seems to provide the necessary deps for wayland support being enabled automatically.

Steps to reproduce:

- Run Ubuntu 14.04, e.g. in Docker
- `apt-get install libsdl2-dev`
- `./configure && make`

I attach the `config.log` from a failed build of latest hg tip (fdcd36d21c77).
Note that I'm running a Ubuntu 14.04 container with `podman` on Fedora 33, so some of the specs might be matching the host maching (like `uname -r`).