Package: src:terminator
Version: 2.1.5-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:terminator, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
I: pybuild base:385: python3.14 setup.py clean 
/<<PKGBUILDDIR>>/setup.py:7: DeprecationWarning: dep_util is Deprecated. Use 
functions from setuptools instead.
  from distutils.dep_util import newer
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build' (and everything under 
it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
rm -rf build/
rm -f data/terminator.desktop
rm -f data/terminator.metainfo.xml

[... snipped ...]

        "accel_params",
        [
            # 1) 'edit_tab_title' Ctrl+Alt+A
            ("9", 97, CONTROL_ALT_MOD, 38),
            # 2) 'edit_terminal_title' Ctrl+Alt+A
            ("10", 97, CONTROL_ALT_MOD, 38),
            # 3) 'edit_window_title' F11
            ("11", 65480, Gdk.ModifierType(0), 95),
            # 4) 'zoom_in' Shift+Ctrl+Z
            ("70", 122, CONTROL_SHIFT_MOD, 52),
        ],
    )
    def test_duplicate_accels_not_possible_to_set(accel_params):
        """
        Tests that a duplicate key binding accelerator, that is a key binding 
accelerator
        which is already defined in the config cannot be used to refer to more 
than
        one action.
        """
        from terminatorlib import config
        from terminatorlib import terminal
        from terminatorlib import prefseditor
    
        path, key, mods, code = accel_params
    
        term = terminal.Terminal()
        prefs_editor = prefseditor.PrefsEditor(term=term)
        message_dialog = MessageDialogToken()
    
        # Check for an active message dialog every second
        GLib.timeout_add_seconds(
            1, detect_close_message_dialog, prefs_editor, message_dialog
        )
    
        widget = prefs_editor.builder.get_object("keybindingtreeview")
        treemodelfilter = widget.get_model()
        liststore = treemodelfilter.get_model()
        binding = liststore.get_value(liststore.get_iter(path), 0)
    
        all_default_accelerators = {
            Gtk.accelerator_parse(accel)
            for accel in config.DEFAULTS["keybindings"].values()
            if accel != ""  # ignore empty key bindings
        }
        # Check that a test accelerator is indeed a duplicate
>       assert (key, mods) in all_default_accelerators
E       assert (97, <ModifierType.CONTROL_MASK|MOD1_MASK: 12>) in 
{(accelerator_key=43, accelerator_mods=<ModifierType.CONTROL_MASK: 4>), 
(accelerator_key=45, accelerator_mods=<ModifierType.CONTROL_MASK: 4>), 
(accelerator_key=48, accelerator_mods=<ModifierType.CONTROL_MASK: 4>), 
(accelerator_key=48, accelerator_mods=<ModifierType.SUPER_MASK: 67108864>), 
(accelerator_key=49, accelerator_mods=<ModifierType.SUPER_MASK: 67108864>), 
(accelerator_key=97, accelerator_mods=<ModifierType.SHIFT_MASK|CONTROL_MASK: 
5>), ...}

tests/test_prefseditor_keybindings.py:164: AssertionError
----------------------------- Captured stderr call -----------------------------
Terminal::match_remove: Unable to remove non-existent match launchpad_bug
Terminal::match_remove: Unable to remove non-existent match launchpad_code
Terminal::match_remove: Unable to remove non-existent match apturl
___________ test_duplicate_accels_not_possible_to_set[accel_params2] ___________

accel_params = ('11', 65480, <ModifierType: 0>, 95)

    @pytest.mark.parametrize(
        "accel_params",
        [
            # 1) 'edit_tab_title' Ctrl+Alt+A
            ("9", 97, CONTROL_ALT_MOD, 38),
            # 2) 'edit_terminal_title' Ctrl+Alt+A
            ("10", 97, CONTROL_ALT_MOD, 38),
            # 3) 'edit_window_title' F11
            ("11", 65480, Gdk.ModifierType(0), 95),
            # 4) 'zoom_in' Shift+Ctrl+Z
            ("70", 122, CONTROL_SHIFT_MOD, 52),
        ],
    )
    def test_duplicate_accels_not_possible_to_set(accel_params):
        """
        Tests that a duplicate key binding accelerator, that is a key binding 
accelerator
        which is already defined in the config cannot be used to refer to more 
than
        one action.
        """
        from terminatorlib import config
        from terminatorlib import terminal
        from terminatorlib import prefseditor
    
        path, key, mods, code = accel_params
    
        term = terminal.Terminal()
        prefs_editor = prefseditor.PrefsEditor(term=term)
        message_dialog = MessageDialogToken()
    
        # Check for an active message dialog every second
        GLib.timeout_add_seconds(
            1, detect_close_message_dialog, prefs_editor, message_dialog
        )
    
        widget = prefs_editor.builder.get_object("keybindingtreeview")
        treemodelfilter = widget.get_model()
        liststore = treemodelfilter.get_model()
        binding = liststore.get_value(liststore.get_iter(path), 0)
    
        all_default_accelerators = {
            Gtk.accelerator_parse(accel)
            for accel in config.DEFAULTS["keybindings"].values()
            if accel != ""  # ignore empty key bindings
        }
        # Check that a test accelerator is indeed a duplicate
>       assert (key, mods) in all_default_accelerators
E       assert (65480, <ModifierType: 0>) in {(accelerator_key=43, 
accelerator_mods=<ModifierType.CONTROL_MASK: 4>), (accelerator_key=45, 
accelerator_mods=<ModifierType.CONTROL_MASK: 4>), (accelerator_key=48, 
accelerator_mods=<ModifierType.CONTROL_MASK: 4>), (accelerator_key=48, 
accelerator_mods=<ModifierType.SUPER_MASK: 67108864>), (accelerator_key=49, 
accelerator_mods=<ModifierType.SUPER_MASK: 67108864>), (accelerator_key=97, 
accelerator_mods=<ModifierType.SHIFT_MASK|CONTROL_MASK: 5>), ...}

tests/test_prefseditor_keybindings.py:164: AssertionError
----------------------------- Captured stderr call -----------------------------
Terminal::match_remove: Unable to remove non-existent match launchpad_bug
Terminal::match_remove: Unable to remove non-existent match launchpad_code
Terminal::match_remove: Unable to remove non-existent match apturl
___________ test_duplicate_accels_not_possible_to_set[accel_params3] ___________

accel_params = ('70', 122, <ModifierType.SHIFT_MASK|CONTROL_MASK: 5>, 52)

    @pytest.mark.parametrize(
        "accel_params",
        [
            # 1) 'edit_tab_title' Ctrl+Alt+A
            ("9", 97, CONTROL_ALT_MOD, 38),
            # 2) 'edit_terminal_title' Ctrl+Alt+A
            ("10", 97, CONTROL_ALT_MOD, 38),
            # 3) 'edit_window_title' F11
            ("11", 65480, Gdk.ModifierType(0), 95),
            # 4) 'zoom_in' Shift+Ctrl+Z
            ("70", 122, CONTROL_SHIFT_MOD, 52),
        ],
    )
    def test_duplicate_accels_not_possible_to_set(accel_params):
        """
        Tests that a duplicate key binding accelerator, that is a key binding 
accelerator
        which is already defined in the config cannot be used to refer to more 
than
        one action.
        """
        from terminatorlib import config
        from terminatorlib import terminal
        from terminatorlib import prefseditor
    
        path, key, mods, code = accel_params
    
        term = terminal.Terminal()
        prefs_editor = prefseditor.PrefsEditor(term=term)
        message_dialog = MessageDialogToken()
    
        # Check for an active message dialog every second
        GLib.timeout_add_seconds(
            1, detect_close_message_dialog, prefs_editor, message_dialog
        )
    
        widget = prefs_editor.builder.get_object("keybindingtreeview")
        treemodelfilter = widget.get_model()
        liststore = treemodelfilter.get_model()
        binding = liststore.get_value(liststore.get_iter(path), 0)
    
        all_default_accelerators = {
            Gtk.accelerator_parse(accel)
            for accel in config.DEFAULTS["keybindings"].values()
            if accel != ""  # ignore empty key bindings
        }
        # Check that a test accelerator is indeed a duplicate
>       assert (key, mods) in all_default_accelerators
E       assert (122, <ModifierType.SHIFT_MASK|CONTROL_MASK: 5>) in 
{(accelerator_key=43, accelerator_mods=<ModifierType.CONTROL_MASK: 4>), 
(accelerator_key=45, accelerator_mods=<ModifierType.CONTROL_MASK: 4>), 
(accelerator_key=48, accelerator_mods=<ModifierType.CONTROL_MASK: 4>), 
(accelerator_key=48, accelerator_mods=<ModifierType.SUPER_MASK: 67108864>), 
(accelerator_key=49, accelerator_mods=<ModifierType.SUPER_MASK: 67108864>), 
(accelerator_key=97, accelerator_mods=<ModifierType.SHIFT_MASK|CONTROL_MASK: 
5>), ...}

tests/test_prefseditor_keybindings.py:164: AssertionError
----------------------------- Captured stderr call -----------------------------
Terminal::match_remove: Unable to remove non-existent match launchpad_bug
Terminal::match_remove: Unable to remove non-existent match launchpad_code
Terminal::match_remove: Unable to remove non-existent match apturl
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/gi/overrides/__init__.py:159
  /usr/lib/python3/dist-packages/gi/overrides/__init__.py:159: 
PyGIDeprecationWarning: GLib.unix_signal_add_full is deprecated; use 
GLibUnix.signal_add_full instead
    value = getattr(proxy, attr)

terminatorlib/ipc.py:10
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/ipc.py:10: 
DeprecationWarning: Importing dbus.glib to use the GLib main loop with 
dbus-python is deprecated.
  Instead, use this sequence:
  
      from dbus.mainloop.glib import DBusGMainLoop
  
      DBusGMainLoop(set_as_default=True)
  
    import dbus.glib

terminatorlib/keybindings.py:52
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/keybindings.py:52: 
DeprecationWarning: Gdk.Keymap.get_default is deprecated
    self.keymap = Gdk.Keymap.get_default()

terminatorlib/ipc.py:32
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/ipc.py:32: 
DeprecationWarning: Gdk.get_display is deprecated
    DISPLAY = Gdk.get_display().partition('.')[0]

terminatorlib/window.py:62
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/window.py:62: 
PyGIDeprecationWarning: GObject.PARAM_READWRITE is deprecated; use 
GObject.ParamFlags.READWRITE instead
    GObject.PARAM_READWRITE)

tests/test_borg.py:35
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_borg.py:35: 
PytestCollectionWarning: cannot collect test class 'TestBorg' because it has a 
__init__ constructor (from: tests/test_borg.py)
    class TestBorg(Borg):

tests/test_borg.py:47
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_borg.py:47: 
PytestCollectionWarning: cannot collect test class 'TestBorg2' because it has a 
__init__ constructor (from: tests/test_borg.py)
    class TestBorg2(Borg):

tests/test_signalman.py:38
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_signalman.py:38: 
PytestCollectionWarning: cannot collect test class 'TestWidget' because it has 
a __init__ constructor (from: tests/test_signalman.py)
    class TestWidget():

terminatorlib/factory.py::terminatorlib.factory
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/window.py:388: 
DeprecationWarning: Gtk.Widget.is_composited is deprecated
    if self.is_composited() == False:

terminatorlib/factory.py::terminatorlib.factory
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/window.py:204: 
DeprecationWarning: Gtk.Widget.render_icon is deprecated
    icon = self.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.IconSize.BUTTON)

terminatorlib/factory.py::terminatorlib.factory
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/config.py:399: 
DeprecationWarning: Gio.Settings.list_schemas is deprecated
    elif 'org.gnome.desktop.interface' not in Gio.Settings.list_schemas():

terminatorlib/factory.py::terminatorlib.factory
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/editablelabel.py:162:
 DeprecationWarning: Gtk.Widget.modify_font is deprecated
    self._label.modify_font(fontdesc)

terminatorlib/factory.py::terminatorlib.factory
  /usr/lib/python3/dist-packages/gi/overrides/__init__.py:372: 
DeprecationWarning: Gdk.color_parse is deprecated
    ret = method(*args, **kwargs)

terminatorlib/factory.py::terminatorlib.factory
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/editablelabel.py:150:
 DeprecationWarning: Gtk.Widget.modify_fg is deprecated
    self._label.modify_fg(state, color)

terminatorlib/factory.py::terminatorlib.factory
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/titlebar.py:173: 
DeprecationWarning: Gtk.Widget.modify_bg is deprecated
    self.modify_bg(Gtk.StateType.NORMAL,

terminatorlib/factory.py::terminatorlib.factory
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/searchbar.py:70: 
DeprecationWarning: Gtk.Image.set_from_stock is deprecated
    icon.set_from_stock(Gtk.STOCK_CLOSE, Gtk.IconSize.MENU)

terminatorlib/factory.py::terminatorlib.factory
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/terminal.py:737: 
DeprecationWarning: Vte.Terminal.set_allow_bold is deprecated
    self.vte.set_allow_bold(self.config['allow_bold'])

tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params0-False]
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/prefseditor.py:1698:
 DeprecationWarning: Gtk.FontButton.set_font_name is deprecated
    widget.set_font_name(fontname)

tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params0-False]
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/prefseditor.py:611: 
DeprecationWarning: Gtk.ColorButton.set_color is deprecated
    widget.set_color(Gdk.color_parse(self.config['cursor_fg_color']))

tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params1-True]
tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params2-True]
tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params3-True]
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/terminatorlib/prefseditor.py:1979:
 PyGTKDeprecationWarning: The "flags" argument for dialog construction is 
deprecated. Please use initializer keywords: modal=True and/or 
destroy_with_parent=True. See: 
https://wiki.gnome.org/Projects/PyGObject/InitializerDeprecations
    dialog = Gtk.MessageDialog(

tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params1-True]
  /usr/lib/python3/dist-packages/gi/events.py:803: DeprecationWarning: 
'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in 
Python 3.16
    AbstractEventLoopPolicy = getattr(asyncio, "AbstractEventLoopPolicy", 
object)

tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params1-True]
tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params2-True]
tests/test_prefseditor_keybindings.py::test_message_dialog_is_shown_on_duplicate_accel_assignment[accel_params3-True]
  /usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
    if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
tests/test_prefseditor_keybindings.py::test_duplicate_accels_not_possible_to_set[accel_params0]
FAILED 
tests/test_prefseditor_keybindings.py::test_duplicate_accels_not_possible_to_set[accel_params1]
FAILED 
tests/test_prefseditor_keybindings.py::test_duplicate_accels_not_possible_to_set[accel_params2]
FAILED 
tests/test_prefseditor_keybindings.py::test_duplicate_accels_not_possible_to_set[accel_params3]
================== 4 failed, 23 passed, 26 warnings in 5.05s ===================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest 
--doctest-modules
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 
--parallel=2 returned exit code 13
make[1]: *** [debian/rules:25: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to