Bug#877996: ERROR: appinfo

Simon McVittie smcv at debian.org
Sun Oct 8 16:12:34 UTC 2017


Control: merge 876658 877996

On Sun, 08 Oct 2017 at 13:11:45 +0200, jean-christophe manciot wrote:
> ERROR: appinfo - too few tests run (expected 13, got 2)
> ERROR: appinfo - exited with status 133 (terminated by signal 5?)

You already reported this, against an older version.

The part of the log that you're quoting is not particularly useful:
it's a summary rather than the actual failure, which is:

(/home/actionmystique/src/Glib/glib2.0-2.54.1-1/debian/build/deb/gio/tests/.libs/appinfo:2645): GLib-GIO-WARNING **: couldn't find a terminal, falling back to xterm

This test appears to fail (because normally-non-fatal warnings are made
fatal in tests) if you are building in an environment where $DISPLAY is
available, but you do not have any of the following terminals available:
gnome-terminal, nxterm, color-xterm, rxvt, dtterm. If $DISPLAY is not
available (for example on official Debian buildds) the test is skipped.

Workaround: env -u DISPLAY dpkg-buildpackage ...

In Debian, /usr/bin/xterm is a perfectly reasonable terminal, so it
might make sense to patch prepend_terminal_to_vector() to not warn if
xterm is found. It would also be reasonable to either force this test to
be skipped, or run this test with a fake gnome-terminal in $PATH.

    smcv



More information about the pkg-gnome-maintainers mailing list