Your message dated Wed, 30 Aug 2023 08:27:00 +0200
with message-id <ZO7hNDHolCT/2...@aurel32.net>
and subject line
has caused the Debian Bug report #1050673,
regarding gmult: FTBFS: error: Argument 1: Cannot convert from `unowned
uint8[]' to `unowned string'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1050673: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050673
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Cc
Bcc:
Subject: Re: Bug#1050673: gmult: FTBFS: error: Argument 1: Cannot convert
from `unowned uint8[]' to `unowned string'
Reply-To:
In-Reply-To: <169317008386.2811572.4447220177637898578.reportbug@ohm.local>
Hi,
On 2023-08-27 23:01, Aurelien Jarno wrote:
> 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
The issue was caused was vala, and has been fixed in version 0.56.13-1.
Closing the bug.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://aurel32.net
--- End Message ---