On Mon, Feb 17, 2025 at 02:17:49AM +0100, Alexander Ploumistos wrote: > Hello, > > 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's not clear from your message, but are you trying to do a local build of the packge, ie. 'fedpkg local' or 'rpmbuild ..'? If so, adding this into the spec file before it runs the tests should fix the problem: unset DISPLAY If this happens in (eg) Koji or mock then the test probably needs fixing or disabling entirely. Rich. > > From the above message, I thought the error was caused by > tests/integration/test_gui.py, but when I disabled it (by adding > another ignore directive to pytest), the build still failed at the > same point, with the same message and I admit I am lost. > > Could someone please lend a hand? > > > Best regards, > A. > > > 1. https://github.com/sezanzeb/input-remapper/releases/tag/2.1.1 > -- > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com nbdkit - Flexible, fast NBD server with plugins https://gitlab.com/nbdkit/nbdkit -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue