Source: xscreensaver
Version: 5.44+dfsg1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

To reproduce: build xscreensaver on a release architecture in unstable (I
used amd64), with libgtk2.0-dev (>= 2.24.32-5) but without
libgdk-pixbuf2.0-dev or libgdk-pixbuf-xlib-2.0-dev.

During configure:

>    Warning: GTK version 2.24.32 was found, but at least one supporting
>             library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
>             Perhaps some of the development packages are not installed?

and after the build has finished:

> dh_install: warning: Cannot find (any matches for) 
> "usr/bin/xscreensaver-demo" (tried in ., debian/tmp)
> 
> dh_install: warning: xscreensaver missing files: usr/bin/xscreensaver-demo
> dh_install: warning: Cannot find (any matches for) 
> "usr/lib/xscreensaver/webcollage-helper" (tried in ., debian/tmp)
> 
> dh_install: warning: xscreensaver-screensaver-webcollage missing files: 
> usr/lib/xscreensaver/webcollage-helper
> dh_install: error: missing files, aborting

This is because the deprecated gdk-pixbuf-xlib-2.0 module (providing
functions to let Xlib-only applications draw GdkPixbuf images onto
X drawables) used to be pulled in as an indirect dependency by GTK 2.
However, GTK 2 doesn't actually use or require that module, and as a
result libgtk2.0-dev no longer depends on it, causing xscreensaver to
fail to build.

Please build-depend on either

    libgdk-pixbuf-2.0-dev | libgdk-pixbuf2.0-dev,
    libgdk-pixbuf-xlib-2.0-dev | libgdk-pixbuf2.0-dev,

if you want backports to older Debian to be possible, or

    libgdk-pixbuf-2.0-dev,
    libgdk-pixbuf-xlib-2.0-dev,

if backports are considered uninteresting. This might also be a good
opportunity to check that all the other packages required at build time
are in the Build-Depends, rather than the packaging assuming that they
will come in via transitive dependencies.

Thanks,
    smcv

[0] https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib

Reply via email to