← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 2081981] [NEW] FTBFS armhf: incompatible pointer type

 

Public bug reported:

Build log[1]:

arm-linux-gnueabihf-gcc -I/<<PKGBUILDDIR>>/src/modules/perl -I/<<PKGBUILDDIR>>/xs -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/include/apache2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE -DMOD_PERL -DMP_COMPAT_1X -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libapache2-mod-perl2-2.0.13-1build5 -Wall -fgnu89-inline -DLINUX -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libapache2-mod-perl2-2.0.13-1build5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC \
-c modperl_directives.c && mv modperl_directives.o modperl_directives.lo
modperl_common_util.c:57:53: error: initialization of ‘int (*)(PerlInterpreter *, SV *, MAGIC *, SV *, const char *, I32)’ {aka ‘int (*)(struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, long int)’} from incompatible pointer type ‘int (*)(PerlInterpreter *, SV *, MAGIC *, SV *, const char *, int)’ {aka ‘int (*)(struct interpreter *, struct sv *, struct magic *, struct sv *, const char *, int)’} [-Wincompatible-pointer-types]
   57 |                                                     modperl_table_magic_copy};
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~
modperl_common_util.c:57:53: note: (near initialization for ‘modperl_table_magic_prefetch.svt_copy’)


Fix from upstream:
https://github.com/apache/mod_perl/commit/ead5012b9f8bca08415f39e15226dbc6112a9538


1. https://launchpadlibrarian.net/749244067/buildlog_ubuntu-oracular-armhf.libapache2-mod-perl2_2.0.13-1build5_BUILDING.txt.gz

** Affects: libapache2-mod-perl2 (Ubuntu)
     Importance: Undecided
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libapache2-mod-perl2 in Ubuntu.
https://bugs.launchpad.net/bugs/2081981

Title:
  FTBFS armhf: incompatible pointer type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-perl2/+bug/2081981/+subscriptions



Follow ups