New comment by hervyqa on void-packages repository https://github.com/void-linux/void-packages/pull/32301#issuecomment-896073369 Comment: > > If @noarchwastaken is interested in this continuing the work on pdfarranger, I will to close this PR as a duplicate of #30338, but @hervyqa, please create a review on that PR, because some parts of this one are better and should be moved there. > > If they are not interested in it anymore, we can continue here and pull in some of their changes. > > @rivanfebrian123 thanks for noticing this > > I'll go with this PR since it has the above fixes. > > About the `xvfb-run` dependency, I can't find any checks included with `pdfarranger`, so what does `setup.py test` actually do here? Needs a graphical session. https://github.com/void-linux/void-packages/pull/32301#issuecomment-891248272 ``` running build_ext Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused /builddir/pdfarranger-1.7.1/pdfarranger/splitter.py:17: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk (setup.py:3814): Gtk-CRITICAL **: 18:11:15.810: gtk_clipboard_get_for_display: assertion 'display != NULL' failed (setup.py:3814): Gtk-CRITICAL **: 18:11:15.810: gtk_clipboard_get_for_display: assertion 'display != NULL' failed Unable to init server: Could not connect: Connection refused (setup.py:3814): Gtk-WARNING **: 18:11:15.811: cannot open display: => ERROR: pdfarranger-1.7.1_1: do_check: 'python3 setup.py ${make_check_target} ${make_check_args}' exited with 1 => ERROR: in do_check() at common/build-style/python3-module.sh:40 Error: Process completed with exit code 1. ```