Bug#940164: bamf: FTBFS with GLib 2.62: uses deprecated G_TYPE_INSTANCE_GET_PRIVATE with -Werror
Control: severity -1 serious
On Fri, 13 Sep 2019 at 09:39:47 +0100, Simon McVittie wrote:
> To reproduce, build bamf against glib2.0 2.62.x, currently in experimental.
> glib2.0 2.62.x is part of GNOME 3.34 and will be uploaded to unstable soon,
> at which point this bug will become RC.
...
> The obvious solution is to stop compiling distro packages with -Werror,
> which is nearly always a RC bug waiting to happen. Untested patch:
> edit this line in configure.ac
>
> CFLAGS="$CFLAGS -Wall -Werror -Wno-error=deprecated-declarations -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm"
>
> and remove -Werror.
GLib 2.62 has been uploaded to unstable, so this is now RC.
Regards,
smcv
Reply to: