Bugzilla – Bug 1221011
GCC 14: perl-DBD-mysql package fails
Last modified: 2024-03-11 09:36:11 UTC
Building perl-DBD-mysql with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/perl-DBD-mysql/standard/x86_64 Due to (exhaustive list of errors): dbdimp.c: In function ‘mysql_st_prepare’: dbdimp.c:3207:24: error: assignment to ‘my_bool *’ {aka ‘char *’} from incompatible pointer type ‘_Bool *’ [-Wincompatible-pointer-types] 3207 | bind->is_null= (_Bool*) &(fbind->is_null); | ^ See the meta bug#1220571 for more info.
Fixed upstream here: * https://github.com/perl5-dbi/DBD-mysql/pull/295/commits/93bc8768 I'll submit the patch in a moment.
Upstream pr: https://github.com/perl5-dbi/DBD-mysql/pull/295
Submitted here: https://build.opensuse.org/request/show/1155577
Released, closing.