[Pkg-deepin-devel] Bug#954581: deepin-terminal: FTBFS: command_panel.vala:302.40-302.63: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
Lucas Nussbaum
lucas at debian.org
Sun Mar 22 07:23:19 GMT 2020
Source: deepin-terminal
Version: 5.0.0+ds1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/vi.dir/DependInfo.cmake --color=
> /<<PKGBUILDDIR>>/widget/command_panel.vala:302.40-302.63: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> focus_term.term.feed_child(command_string.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^
> Scanning dependencies of target ur
> [ 45%] Built target sk
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make -f CMakeFiles/ur.dir/build.make CMakeFiles/ur.dir/build
> make -f CMakeFiles/sl.dir/build.make CMakeFiles/sl.dir/depend
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/sl.dir/DependInfo.cmake --color=
> Scanning dependencies of target vi
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make -f CMakeFiles/vi.dir/build.make CMakeFiles/vi.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> /<<PKGBUILDDIR>>/widget/window.vala:331.50-331.109: warning: Access to possible `null'. Perform a check or use an unsafe cast.
> unowned X.Display xdisplay = (get_window().get_display() as Gdk.X11.Display).get_xdisplay();
> ^^^^^^^^^^^^^^^^^^^^^^^^^^[ 45%] Generating ur-deepin-terminal.gmo
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/window.vala:353.55-353.86: cd /<<PKGBUILDDIR>> && /usr/bin/msgfmt -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ur-deepin-terminal.gmo po/ur/LC_MESSAGES/deepin-terminal.po
> warning: Gtk.Widget.get_margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/window.vala:353.92-353.124: warning: Gtk.Widget.get_margin_right has been deprecated since 3.12
> Scanning dependencies of target sl
> /<<PKGBUILDDIR>>/widget/window.vala:462.120-462.188: warning: unhandled error `GLib.KeyFileError'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> if (Utils.is_tiling_wm() || screen_monitor.is_composited() || window_is_fullscreen() || window_is_max() || config.config_file.get_boolean("advanced", "always_hide_resize_grip")) {
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make -f CMakeFiles/sl.dir/build.make CMakeFiles/sl.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 46%] Generating vi-deepin-terminal.gmo
> cd /<<PKGBUILDDIR>> && /usr/bin/msgfmt -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/vi-deepin-terminal.gmo po/vi/LC_MESSAGES/deepin-terminal.po
> /<<PKGBUILDDIR>>/widget/window.vala:64.13-64.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
> /<<PKGBUILDDIR>>/widget/window.vala:58.36-58.101: warning: unhandled error `GLib.KeyFileError'
> tabbar_at_the_bottom = config.config_file.get_boolean("advanced", "tabbar_at_the_bottom");
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 47%] Generating sl-deepin-terminal.gmo
> cd /<<PKGBUILDDIR>> && /usr/bin/msgfmt -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/sl-deepin-terminal.gmo po/sl/LC_MESSAGES/deepin-terminal.po
> [ 47%] Built target ur
> /<<PKGBUILDDIR>>/widget/confirm_dialog.vala:102.13-102.38: warning: Gtk.Container.set_focus_chain has been deprecated since 3.24
> make -f CMakeFiles/zh_CN.dir/build.make CMakeFiles/zh_CN.dir/depend
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/zh_CN.dir/DependInfo.cmake --color=
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 47%] Built target vi
> /<<PKGBUILDDIR>>/./main.vala:41.5-41.20: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
> public void exit() {
> ^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/search_panel.vala:149.17-149.47: warning: Vte.Terminal.search_set_gregex has been deprecated since 0.46
> Scanning dependencies of target zh_CN
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make -f CMakeFiles/zh_CN.dir/build.make CMakeFiles/zh_CN.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 47%] Built target sl
> /<<PKGBUILDDIR>>/widget/encoding_panel.vala:118.50-118.77: warning: Vte.Terminal.get_encoding has been deprecated since 0.54
> /<<PKGBUILDDIR>>/widget/encoding_panel.vala:123.25-123.52: warning: Vte.Terminal.set_encoding has been deprecated since 0.54
> [ 48%] Generating zh_CN-deepin-terminal.gmo
> cd /<<PKGBUILDDIR>> && /usr/bin/msgfmt -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zh_CN-deepin-terminal.gmo po/zh_CN/LC_MESSAGES/deepin-terminal.po
> /<<PKGBUILDDIR>>/widget/remote_panel.vala:229.13-229.35: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/terminal.vala:1551.17-1551.33: warning: Vte.Terminal.set_encoding has been deprecated since 0.54
> /<<PKGBUILDDIR>>/widget/terminal.vala:1584.37-1584.59: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> term.feed_child(login_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/remote_server_dialog.vala:411.13-411.32: warning: Gtk.Window.set_default_geometry has been deprecated since 3.20
> /<<PKGBUILDDIR>>/widget/remote_server_dialog.vala:397.17-397.42: warning: Gtk.Container.set_focus_chain has been deprecated since 3.24
> [ 48%] Built target zh_CN
> /<<PKGBUILDDIR>>/widget/remote_panel.vala:161.13-161.41: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/remote_panel.vala:162.13-162.42: warning: Gtk.Widget.margin_right has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/remote_panel.vala:345.17-345.39: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:693.17-693.41: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:669.17-669.40: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:760.17-760.39: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:144.56-144.79: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> new_focus_term.term.feed_child(switch_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/rename_dialog.vala:108.13-108.38: warning: Gtk.Container.set_focus_chain has been deprecated since 3.24
> /<<PKGBUILDDIR>>/widget/config_window.vala:578.29-578.55: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
> /<<PKGBUILDDIR>>/widget/command_dialog.vala:224.17-224.42: warning: Gtk.Container.set_focus_chain has been deprecated since 3.24
> /<<PKGBUILDDIR>>/widget/command_panel.vala:131.13-131.42: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/command_panel.vala:132.13-132.43: warning: Gtk.Widget.margin_right has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/command_panel.vala:193.17-193.39: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:727.13-727.36: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:735.13-735.36: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:769.13-769.35: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:777.13-777.35: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:805.13-805.38: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:813.13-813.38: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:787.13-787.37: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:795.13-795.37: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/workspace.vala:718.17-718.42: warning: Gtk.Widget.margin_left has been deprecated since 3.12
> /<<PKGBUILDDIR>>/widget/terminal.vala:608.46-608.69: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(upload_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:636.54-636.70: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(command.to_utf8());
> ^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:681.50-681.73: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(switch_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:686.58-686.83: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(download_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:691.66-691.88: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(enter_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:976.53-976.76: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> term.feed_child(command_string.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:1087.50-1087.73: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(upload_command.to_utf8());
> ^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:1102.42-1102.57: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(uris_s.to_utf8());
> ^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:1111.42-1111.55: error: Argument 1: Cannot convert from `char[]' to `unowned uint8[]?'
> this.term.feed_child(data.to_utf8());
> ^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/terminal.vala:1125.30-1125.50: warning: Vte.Terminal.match_add_gregex has been deprecated since 0.46
> /<<PKGBUILDDIR>>/widget/terminal.vala:1127.21-1127.46: warning: Vte.Terminal.match_set_cursor_type has been deprecated since 0.54
> /<<PKGBUILDDIR>>/widget/terminal.vala:1252.25-1252.39: warning: Vte.Terminal.spawn_sync has been deprecated since 0.48
> /<<PKGBUILDDIR>>/widget/terminal.vala:1185.25-1185.39: warning: Vte.Terminal.spawn_sync has been deprecated since 0.48
> /<<PKGBUILDDIR>>/widget/quake_window.vala:47.13-47.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
> /<<PKGBUILDDIR>>/widget/quake_window.vala:232.50-232.109: warning: Access to possible `null'. Perform a check or use an unsafe cast.
> unowned X.Display xdisplay = (get_window().get_display() as Gdk.X11.Display).get_xdisplay();
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/widget/quake_window.vala:462.13-462.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
> /<<PKGBUILDDIR>>/widget/quake_window.vala:286.34-286.61: warning: Gdk.Screen.get_monitor_at_window has been deprecated since 3.22
> /<<PKGBUILDDIR>>/widget/quake_window.vala:289.13-289.39: warning: Gdk.Screen.get_monitor_geometry has been deprecated since 3.22
> /<<PKGBUILDDIR>>/./main.vala:59.5-59.28: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
> public void show_or_hide() {
> ^^^^^^^^^^^^^^^^^^^^^^^^
> /<<PKGBUILDDIR>>/./main.vala:258.17-258.42: warning: Gtk.Window.set_has_resize_grip has been deprecated since 3.14
> Compilation failed: 12 error(s), 60 warning(s)
> make[3]: *** [CMakeFiles/deepin-terminal.dir/build.make:126: main.c] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/03/21/deepin-terminal_5.0.0+ds1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-deepin-devel
mailing list