https://bugzilla.redhat.com/show_bug.cgi?id=2259166
Bug ID: 2259166
Summary: perl-PDF-Haru-1.00-42.fc40 FTBFS: Haru.xs:1195:44:
error: passing argument 2 of ‘HPDF_Page_SetDash’ from
incompatible pointer type
Product: Fedora
Version: rawhide
URL:
https://koschei.fedoraproject.org/package/perl-PDF-Har
u
Status: NEW
Component: perl-PDF-Haru
Assignee: robinlee.sysu(a)gmail.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org,
robinlee.sysu(a)gmail.com
Blocks: 2231791 (F40FTBFS,RAWHIDEFTBFS)
Target Milestone: ---
Classification: Fedora
perl-PDF-Haru-1.00-42.fc40 fails to build in Fedora 40:
gcc -c -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.00\" -DXS_VERSION=\"1.00\" -fPIC
"-I/usr/lib64/perl5/CORE"
Haru.c
Haru.xs: In function ‘XS_PDF__Haru__Page_SetDash’:
Haru.xs:1195:44: error: passing argument 2 of ‘HPDF_Page_SetDash’ from
incompatible pointer type [-Wincompatible-pointer-types]
1195 | RETVAL = HPDF_Page_SetDash (page, ptn, num_elem + 1, phase);
| ^~~
| |
| HPDF_UINT16 * {aka short
unsigned int *}
In file included from Haru.xs:5:
/usr/include/hpdf.h:1192:39: note: expected ‘const HPDF_REAL *’ {aka ‘const
float *’} but argument is of type ‘HPDF_UINT16 *’ {aka ‘short unsigned int *’}
1192 | const HPDF_REAL *dash_ptn,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
A difference between passing and failing build roots is at
<
https://koschei.fedoraproject.org/build/17079758>. This failure is probably
triggered by upgrading gcc from 13.2.1-6.fc40 to 14.0.1-0.1.fc40.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2231791
[Bug 2231791] Fedora 40 FTBFS Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2259166
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...