Bug 1221011 - GCC 14: perl-DBD-mysql package fails
Summary: GCC 14: perl-DBD-mysql package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Pedro Monreal Gonzalez
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-06 07:14 UTC by Michal Jireš
Modified: 2024-03-11 09:36 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jireš 2024-03-06 07:14:12 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.
Comment 1 Pedro Monreal Gonzalez 2024-03-06 13:25:05 UTC
Fixed upstream here:
  * https://github.com/perl5-dbi/DBD-mysql/pull/295/commits/93bc8768

I'll submit the patch in a moment.
Comment 2 Pedro Monreal Gonzalez 2024-03-06 13:25:41 UTC
Upstream pr: https://github.com/perl5-dbi/DBD-mysql/pull/295
Comment 3 Pedro Monreal Gonzalez 2024-03-06 13:59:51 UTC
Submitted here: https://build.opensuse.org/request/show/1155577
Comment 4 Pedro Monreal Gonzalez 2024-03-11 09:36:11 UTC
Released, closing.