https://bugzilla.redhat.com/show_bug.cgi?id=2261449
Petr Pisar <ppisar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Hardware|Unspecified |i686
Doc Type|--- |If docs needed, set a value
Summary|perl-Prima: FTBFS in Fedora |perl-Prima-1.71-3.fc40:
|rawhide/f40 |FTBFS in F40:
| |img/codec_Xpm.c:635:28:
| |error: assignment to ‘Bool
| |(*)(struct ImgCodec *,
| |struct _ImgLoadFileInstance
| |*)’ {aka ‘long int
| |(*)(struct ImgCodec *,
| |struct _ImgLoadFileInstance
| |*)’} from incompatible
| |pointer type
--- Comment #4 from Petr Pisar <ppisar(a)redhat.com> ---
The failure only exhibits on i686:
gcc -c -Iinclude -Iinclude/generic -I/usr/include/fribidi
-I/usr/include/freetype2 -I/usr/include/sysprof-6 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng16
-I/usr/include/harfbuzz -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/cloudproviders
-I/usr/include/webp -I/usr/include/blkid -I/usr/include/at-spi-2.0
-I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/pixman-1
-I/usr/include/openjpeg-2.5 -fopenmp -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 -m32 -march=i686 -mtune=generic
-msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables
-fstack-clash-protection -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 -m32
-march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign
-fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"1.71\"
-DXS_VERSION=\"1.71\" -fPIC "-I/usr/lib/perl5/CORE" img/codec_Xpm.c
-o
img/codec_Xpm.o
img/codec_Xpm.c: In function ‘apc_img_codec_Xpm’:
img/codec_Xpm.c:635:28: error: assignment to ‘Bool (*)(struct ImgCodec *,
struct _ImgLoadFileInstance *)’ {aka ‘long int (*)(struct ImgCodec *, struct
_ImgLoadFileInstance *)’} from incompatible pointer type ‘int (*)(struct
ImgCodec *, struct _ImgLoadFileInstance *)’ [-Wincompatible-pointer-types]
635 | vmt. load = load;
| ^
img/codec_Xpm.c:639:28: error: assignment to ‘Bool (*)(struct ImgCodec *,
struct _ImgSaveFileInstance *)’ {aka ‘long int (*)(struct ImgCodec *, struct
_ImgSaveFileInstance *)’} from incompatible pointer type ‘int (*)(struct
ImgCodec *, struct _ImgSaveFileInstance *)’ [-Wincompatible-pointer-types]
639 | vmt. save = save;
| ^
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2261449
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...