RetroPie / RetroPie/RetroPie-Setup

XU4 build failed due to unmet deps for sdl2

Open
#2,469 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
10.4k
Forks
1.4k
Avg merge
2d 12h
Merged PRs (30d)
11

Description

Hi devs, I'm installing RetroPie on an Odroid XU4 running Ubuntu 18.04 minimal. During the install script, sdl2 failed to build which caused some other targets after it to fail also. The log (below) mentions some unmet build dependencies; manually installing those packages and re-running the RetroPie install script solved the problem for me. Cheers!

https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/sdl2.sh

= = = = = = = = = = = = = = = = = = = = =
Building 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
= = = = = = = = = = = = = = = = = = = = =
dpkg-buildpackage: info: source package libsdl2
dpkg-buildpackage: info: source version 2.0.8+1mali
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Jools Wills <buzz@exotica.org.uk>
 dpkg-source --before-build 2.0.8+1mali
dpkg-buildpackage: info: host architecture armhf
dpkg-checkbuilddeps: error: Unmet build dependencies: libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev libxxf86vm-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
cp: cannot stat '../*.deb': No such file or directory
/opt/retropie/supplementary/usbromservice ~/RetroPie-Setup/tmp/build/usbromservice
Could not successfully build sdl2 - SDL (Simple DirectMedia Layer) v2.x (/home/retropie/RetroPie-Setup/tmp/build/sdl2/libsdl2-dev_2.0.8+1mali_armhf.deb not found).
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Successfully installed package(s): .
~/RetroPie-Setup/tmp/build/retroarch /opt/retropie/supplementary/usbromservice ~/RetroPie-Setup/tmp/build/usbromservice

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scriptmodules/supplementary/sdl2.sh and compare its build-dependency handling with the packages listed in the log. Re-run the SDL2 build on the stated Ubuntu 18.04 minimal XU4 setup; done means SDL2 builds without manually installing the missing development packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, ubuntu
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.