Bug#1050673: gmult: FTBFS: error: Argument 1: Cannot convert from `unowned uint8[]' to `unowned string'
Aurelien Jarno
aurel32 at debian.org
Sun Aug 27 22:01:23 BST 2023
Source: gmult
Version: 11.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Dear maintainer,
gmult fails to build from source. From my build log on amd64:
| valac -C --pkg=config --target-glib=2.70 --vapidir /<<PKGBUILDDIR>>/vapi --pkg gtk4 --target-glib ' 2.70' --pkg glib-2.0 --pkg libadwaita-1 --color=always --directory gmult/gmult.p --basedir ../gmult --gresources=../data/resources.xml ../gmult/main.vala ../gmult/Canvas.vala ../gmult/CharBox.vala ../gmult/DigitBox.vala ../gmult/GtkMult.vala ../gmult/MultPuzzle.vala ../gmult/ScalingLetter.vala ../gmult/Separator.vala ../gmult/TableBox.vala
| ../gmult/CharBox.vala:44.29-44.36: error: Argument 1: Cannot convert from `unowned uint8[]' to `unowned string'
| 44 | provider.load_from_data(css.data);
| | ^~~~~~~~
| ../gmult/CharBox.vala:44.5-44.37: error: 1 missing arguments for `void Gtk.CssProvider.load_from_data (string, ssize_t)'
| 44 | provider.load_from_data(css.data);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../gmult/ScalingLetter.vala:40.19-40.35: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
| 40 | var context = get_style_context();
| | ^~~~~~~~~~~~~~~~~
| ../gmult/ScalingLetter.vala:40.9-40.15: warning: `Gtk.StyleContext' has been deprecated since 4.10
| 40 | var context = get_style_context();
| | ^~~~~~~
| ../gmult/ScalingLetter.vala:41.5-41.22: warning: `Gtk.Snapshot.render_layout' has been deprecated since 4.10
| 41 | snap.render_layout(context, x, y, layout);
| | ^~~~~~~~~~~~~~~~~~
| ../gmult/CharBox.vala:56.5-56.28: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
| 56 | button.get_style_context().add_provider(provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
| | ^~~~~~~~~~~~~~~~~~~~~~~~
| ../gmult/TableBox.vala:28.5-28.16: warning: `Gtk.DropTarget.on_drop' has been deprecated since vala-0.58. Use DropTarget.drop
| 28 | drag.on_drop.connect(handle_drag_drop);
| | ^~~~~~~~~~~~
| ../gmult/Separator.vala:13.17-13.33: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
| 13 | var style = get_style_context ();
| | ^~~~~~~~~~~~~~~~~
| ../gmult/Separator.vala:13.9-13.13: warning: `Gtk.StyleContext' has been deprecated since 4.10
| 13 | var style = get_style_context ();
| | ^~~~~
| Compilation failed: 2 error(s), 7 warning(s)
| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j12 -v returned exit code 1
| make: *** [debian/rules:6: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
A full build log on riscv64 is also available:
https://buildd.debian.org/status/fetch.php?pkg=gmult&arch=riscv64&ver=11.0-1&stamp=1693145453&raw=0
Regards
Aurelien
More information about the Pkg-games-devel
mailing list