Skip to content
Snippets Groups Projects
Simon McVittie's avatar
Simon McVittie authored
Since steam-runtime-tools was made relocatable in c3a06cce, its build
will fail with the Steam Runtime 1 'scout' version of dpkg if it is
already installed system-wide.

If the SDK container where steam-runtime-tools is built has our
$(pkglibexecdir) populated with symbolic links to the dependency
libraries, then dpkg-shlibdeps will look there to convert DT_NEEDED
dependencies into Debian dependencies. Unfortunately, the version of
dpkg in SteamRT 1 'scout' has Debian bug #843073, which means it assumes
all libraries are found via their canonical names as listed in the dpkg
database, not a symlink-based alias. This results in the build failing
with an error similar to:

    dpkg-shlibdeps: error: no dependency information found for
    /usr/lib/x86_64-linux-gnu/steam-runtime-tools-0/libglib-2.0.so.0
    (used by
    debian/libsteam-runtime-tools-0-helpers/usr/libexec/steam-runtime-tools-0/x86_64-linux-gnu-check-locale)

Until we get a newer Docker image with a newer version of this
package that works around this issue, we will have to remove it
explicitly before running CI. Adding Build-Conflicts is not enough:
autopkgtest installs build-dependencies, but does not remove
Build-Conflicts.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
ea250de4
History
Name Last commit Last update
..