Bug 2259535 - perl-DBD-Firebird-1.34-8.fc40 FTBFS: Firebird.xs:1277:13: error: passing argument 1 of ‘isc_event_block’ from incompatible pointer type
Summary: perl-DBD-Firebird-1.34-8.fc40 FTBFS: Firebird.xs:1277:13: error: passing argu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-DBD-Firebird
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-22 09:04 UTC by Petr Pisar
Modified: 2024-04-19 21:25 UTC (History)
2 users (show)

Fixed In Version: perl-DBD-Firebird-1.34-10.fc40
Clone Of:
Environment:
Last Closed: 2024-04-19 21:25:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github mariuz perl-dbd-firebird issues 54 0 None open Firebird.xs:1277:13: error: passing argument 1 of ‘isc_event_block’ from incompatible pointer type 2024-03-02 00:20:35 UTC

Description Petr Pisar 2024-01-22 09:04:44 UTC
perl-DBD-Firebird-1.34-8.fc40 fails to build in Fedora 40:

gcc -c  -I"/usr/include" -I"/usr/lib64/perl5/vendor_perl/auto/DBI" -Wall -fno-strict-aliasing -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -DVERSION=\"1.34\" -DXS_VERSION=\"1.34\" -fPIC "-I/usr/lib64/perl5/CORE"   Firebird.c
[...]
Firebird.xs: In function ‘XS_DBD__Firebird__db_ib_init_event’:
Firebird.xs:1277:13: error: passing argument 1 of ‘isc_event_block’ from incompatible pointer type [-Wincompatible-pointer-types]
 1277 |             &(ev.event_buffer),
      |             ^~~~~~~~~~~~~~~~~~
      |             |
      |             char **
/usr/include/ibase.h:503:44: note: expected ‘ISC_UCHAR **’ {aka ‘unsigned char **’} but argument is of type ‘char **’
  503 | ISC_LONG ISC_EXPORT_VARARG isc_event_block(ISC_UCHAR**,
      |                                            ^~~~~~~~~~~
Firebird.xs:1278:13: error: passing argument 2 of ‘isc_event_block’ from incompatible pointer type [-Wincompatible-pointer-types]
 1278 |             &(ev.result_buffer),
      |             ^~~~~~~~~~~~~~~~~~~
      |             |
      |             char **
/usr/include/ibase.h:504:84: note: expected ‘ISC_UCHAR **’ {aka ‘unsigned char **’} but argument is of type ‘char **’
  504 |                                                                                    ISC_UCHAR**,
      |                                                                                    ^~~~~~~~~~~

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/17079241>. This failure is probably triggered by upgrading gcc from 13.2.1-6.fc40 to 14.0.1-0.1.fc40.

Comment 1 Aoife Moloney 2024-02-15 23:11:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Fedora Update System 2024-03-31 22:55:25 UTC
FEDORA-2024-63c25e6f16 (perl-DBD-Firebird-1.34-10.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-63c25e6f16

Comment 3 Fedora Update System 2024-04-01 01:50:50 UTC
FEDORA-2024-63c25e6f16 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-63c25e6f16`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-63c25e6f16

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-04-19 21:25:50 UTC
FEDORA-2024-63c25e6f16 (perl-DBD-Firebird-1.34-10.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.