Once upon a time, Alexander Ploumistos <[email protected]> said:
> I am trying to build the latest version of input-remapper[1] and I
> guess some change to the test units has led to this error:
>
> […]
> + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f
> /builddir/build/BUILD/input-remapper-2.1.1-build/input-remapper-2.1.1-1.fc42.x86_64-pyproject-modules
> Check import: inputremapper
> Check import: inputremapper.bin
> Check import: inputremapper.bin.input_remapper_control
> Check import: inputremapper.bin.input_remapper_gtk
>
> (import_all_modules.py:1580): Gtk-WARNING **: 01:44:47.167: cannot open
> display:
> error: Bad exit status from /var/tmp/rpm-tmp.QjGEES (%check)
> Bad exit status from /var/tmp/rpm-tmp.QjGEES (%check)
It sounds like it's something trying to test under a GUI; rather than
try to avoid the test, try using Xvfb to satisfy it. Add a
BuildRequires: Xvfb xauth
and then wrap tests with (possibly moving them to a script to call):
xvfb-run -a -w1 [check command]
--
Chris Adams <[email protected]>
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue