Bug#959629: Bug#959390: adwaita-icon-theme breaks gtk+3.0 autopkgtest: gtk+/icontheme.test (Child process killed by signal 5)

Simon McVittie smcv at debian.org
Sun May 3 17:47:47 BST 2020


On Fri, 01 May 2020 at 22:08:37 +0200, Paul Gevers wrote:
> With a recent upload of adwaita-icon-theme the autopkgtest of gtk+3.0
> fails in testing when that autopkgtest is run with the binary packages
> of adwaita-icon-theme from unstable.

On Sun, 03 May 2020 at 14:54:02 +0200, Lucas Nussbaum wrote:
> Source: gnome-books
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> > glib-compile-resources ../data/org.gnome.Books.data.gresource.xml --sourcedir ../data/. --sourcedir data --sourcedir ../data --internal --generate --target data/org.gnome.Books.data.gresource --dependency-file data/org.gnome.Books.data.gresource.d
> > failed to load "../data/./media/dnd-counter.svg": Couldn?t recognize the image file format for file ?../data/./media/dnd-counter.svg?

On Sun, 03 May 2020 at 14:54:29 +0200, Lucas Nussbaum wrote:
> Source: gnome-documents
> 
> > glib-compile-resources ../data/org.gnome.Documents.data.gresource.xml --sourcedir ../data/. --sourcedir data --sourcedir ../data --internal --generate --target data/org.gnome.Documents.data.gresource --dependency-file data/org.gnome.Documents.data.gresource.d
> > failed to load "../data/./media/dnd-counter.svg": Couldn?t recognize the image file format for file ?../data/./media/dnd-counter.svg?

On Sun, 03 May 2020 at 14:54:36 +0200, Lucas Nussbaum wrote:
> Source: gnome-photos
> 
> > failed to load "../src/./../data/dnd-counter.svg": Couldn?t recognize the image file format for file ?../src/./../data/dnd-counter.svg?
> > ../src/photos.gresource.xml: Child process exited with code 1.

I think these might all be fallout from:

"""
 adwaita-icon-theme (3.36.1-1) unstable; urgency=medium
 ...
   * debian/control.in: Downgrade librsvg2-common to recommends
     librsvg2-common is an arch:any package and is not built on all
     architectures as it's written in rust. This should allow one to install
     the package on the architectures without rust support.
"""

For the FTBFS bugs, previously, packages with SVG resources could assume
that when glib-compile-resources invoked gdk-pixbuf-pixdata, it would be
able to convert SVG files into bitmaps. (This facility is provided by
librsvg2-common.)

Such packages should probably have an explicit Depends on

    libgdk-pixbuf2.0-bin, librsvg2-common:native

or something, which strictly speaking ought to be there even if the
adwaita-icon-theme change is reverted. Some testing is needed for
cross-compilation: does that work as intended? When cross-compiling, we'll
get the build-architecture libgdk-pixbuf2.0-bin by default because it's
Multi-Arch: foreign, and we'll want the build-architecture librsvg2-common
for it to load.

For gtk+3.0, I suspect the issue is that GTK wants to load SVG icons via
gdk-pixbuf, which requires librsvg2-common, so either adwaita-icon-theme
or the autopkgtest ought to depend on that.

    smcv



More information about the pkg-gnome-maintainers mailing list