Bug 2259541 - perl-XML-DifferenceMarkup-1.05-33.fc40 FTBFS: perl-libxml-sax.c:1411:47: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’}
Summary: perl-XML-DifferenceMarkup-1.05-33.fc40 FTBFS: perl-libxml-sax.c:1411:47: erro...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-XML-DifferenceMarkup
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
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:14 UTC by Petr Pisar
Modified: 2024-01-23 10:48 UTC (History)
1 user (show)

Fixed In Version: perl-XML-DifferenceMarkup-1.05-35.fc40
Clone Of:
Environment:
Last Closed: 2024-01-23 10:48:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 151218 0 None None None 2024-01-23 10:36:32 UTC

Description Petr Pisar 2024-01-22 09:14:33 UTC
perl-XML-DifferenceMarkup-1.05-33.fc40 fails to build in Fedora 40:

g++ -c  -I/usr/include/libxml2 -I/usr/include/diffmark -I. -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 -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.05\" -DXS_VERSION=\"1.05\" -fPIC "-I/usr/lib64/perl5/CORE"  -DHAVE_UTF8 perl-libxml-sax.c
perl-libxml-sax.c: In function ‘int PmmSaxError(void*, const char*, ...)’:
perl-libxml-sax.c:1411:47: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
 1411 |     xmlErrorPtr last_err = xmlCtxtGetLastError( ctxt );
      |                            ~~~~~~~~~~~~~~~~~~~^~~~~~~~
      |                                               |
      |                                               const xmlError* {aka const _xmlError*}

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/16722996>. This failure is probably triggered by upgrading libxml2-devel from 2.11.5-1.fc40 to 2.12.0-1.fc40.


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