Bug#975228: xdg-utils: FTBFS: tests failed

Andreas Henriksson andreas at fatal.se
Mon Jan 4 22:15:06 GMT 2021


Control: tags -1 + patch upstream

Hello,

On Thu, Nov 19, 2020 at 10:56:51AM +0100, Lucas Nussbaum wrote:
> Source: xdg-utils
> Version: 1.1.3-2
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20201119 ftbfs-bullseye
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> > make[3]: Entering directory '/<<PKGBUILDDIR>>/autotests'
[...]
> > * Testing that xdg-open
> >   - opens a URL with gio open in recent GNOME 3, and Cinnamon
> > ASSERTION FAILED: expected command to be run: gio open http://www.freedesktop.org/
> > ASSERTION FAILED: expected command to be run: gio open http://www.freedesktop.org/
[...]

The problem is using the command "gio open" (containing space) and
a/ not properly handling its expansion b/ mocking it as an executable
including the space.

The attached patch fixes the problem, but I have no idea why this
problem appeared now....

Regards,
Andreas Henriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdg-utils-fix-test.patch
Type: text/x-diff
Size: 943 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20210104/f4dc1073/attachment.patch>


More information about the Pkg-freedesktop-maintainers mailing list