- Sep 26, 2019
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
On at least Debian, Ubuntu and Manjaro, libgcc_s.so.1 is a regular file, not a symlink to a versioned name (libgcc_s.so.1.2.3) like most shared libraries. However, on Fedora 30 it is a symlink to a versioned name like libgcc_s-9-20190827.so.1. The name used in Fedora happens to be less than libgcc_s.so.1 in strverscmp() order, causing capsule-capture-libs to prefer the Debian/Manjaro libgcc_s.so.1, even if the container is older. This can cause problems if an old Debian-derived container like the Steam Runtime is used on a newer Fedora host, with host graphics drivers imported by using capsule-capture-libs: the container's libgcc_s.so.1 does not satisfy the versioned symbol requirements of the graphics driver, causing loading to fail. Treat a regular file libgcc_s.so.1 as indeterminate order (or "equal"), so that we fall back to the default behaviour, which is currently to take the host version of the library in the case of a tie. This is a stopgap solution: ideally we would consider the versioned symbols exported by both libraries, and take whichever one has a superset of the version definitions exported by the other, if there is a strict superset in either direction (in the case of libgcc, in fact there is). Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This reverts commit faf3daa9, which was merged with an outdated commit message. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Sep 19, 2019
-
-
Simon McVittie authored
On at least Debian, Ubuntu and Manjaro, libgcc_s.so.1 is a regular file, not a symlink to a versioned name (libgcc_s.so.1.2.3) like most shared libraries. However, on Fedora 30 it is a symlink to a versioned name like libgcc_s-9-20190827.so.1. This can cause problems if a Debian-derived container is used on a Fedora host, with host graphics drivers. TODO: it isn't clear whether this change makes any practical difference, because strverscmp("libgcc_s.so.1", "libgcc_s-9-20190827.so.1") == 0 anyway.
-
- Sep 18, 2019
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Jul 25, 2019
-
-
Simon McVittie authored
They now all take named options (including the -- pseudo-option) for future expansion, and fail with an error if given too many positional parameters. When libcapsule tools are bundled with a larger project, this should make it easier to check which ones they are. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Jul 24, 2019
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
On Red Hat-derived OSs, /usr/lib/dri contains 32-bit drivers (with their 64-bit equivalents in /usr/lib64/dri), but on Arch Linux-derived OSs it contains 64-bit drivers (with their 32-bit equivalents in /usr/lib32/dri). As a result, we have to run both i386-linux-gnu-capsule-capture-libs and x86_64-linux-gnu-capsule-capture-libs against if-exists:path-match:/usr/lib/dri/*.so, ignoring anything we find that is of the other word-size. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Apr 16, 2019
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Apr 02, 2019
-
-
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Ideally we should bubble up errors to the caller rather than silently truncating, but if we have to truncate, let's at least be sufficiently explicit about it that gcc 8 doesn't sulk. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Without this, we fall through to the case for DT_BIND_NOW, which will log a misleading debug message before breaking out of the switch. Thanks, gcc 8! Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
GLib 2.38 was the first stable release with TAP output support, and our unit test relies on that. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
We can't just drop in an updated version of pkg.m4, because older versions of pkg.m4 didn't have a serial number, so an older system copy would overwrite our local copy. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
These go in libcapsule-tools, not libcapsule-doc, so we can't skip them in architecture-only Debian builds. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
dh_install --fail-missing is deprecated. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When built on a system with the oldest glibc version that is to be supported, these tools are suitable for bundling in projects that need to run on an arbitrary host system and make use of libcapsule when preparing a container. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Create a symlink with $(DEB_HOST_GNU_TYPE) in the name for compatibility with AC_CHECK_TOOL. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Jan 30, 2019
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This was introduced in 2013, and Ubuntu 12.04's glibc 2.15 doesn't have it. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This doesn't screen-scrape out the full description of the function, but it gets the name of the man page right, which is enough to make the build not fail. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Otherwise it needs a more recent version of pkg-config. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Older autoconf versions don't do this automatically. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Older debhelper versions didn't do this for us. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Fatal warnings are rarely appropriate for released packages: it's easy for a new compiler to result in new warnings. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes it more straightforward to omit the gtk-doc part of the build. Note that we still need it at autogen.sh time, for the m4 macros. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The version of gtk-doc in Ubuntu 12.04 needs this. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In Ubuntu 12.04, this is declared in a header that we include. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
autoconf-archive doesn't guarantee that it won't use shell variable names starting with AX_. See <https://gitlab.freedesktop.org/dbus/dbus/merge_requests/86 > for more details. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
IPC::Run::run dies if the executable can't be found, but returns false if the executable exists and exits nonzero, so use env(1) instead of bwrap(1) as the executable. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
On Ubuntu 12.04, this function is declared in a header that we include. Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- Aug 15, 2018
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
- May 17, 2018
-
-
Simon McVittie authored
Signed-off-by: Simon McVittie <smcv@collabora.com>
-