D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Authen-Krb5-1.905.0-6.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7RvgtJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Authen-Krb5-1.905 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Authen-Krb5-1.905.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Authen-Krb5-1.905 + rm -rf /home/pterjan/rpmbuild/BUILD/Authen-Krb5-1.905-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Authen-Krb5-1.905-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Dk4sGG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Authen-Krb5-1.905 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Build.PL installdirs=vendor destdir=/home/pterjan/rpmbuild/BUILDROOT/perl-Authen-Krb5-1.905.0-6.mga10.x86_64/ Found MIT kerberos 5 version 1.21.3 LDFLAGS: -L/usr/lib64 -lkrb5 -lk5crypto -lcom_err Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Authen-Krb5' version '1.905' + ./Build Building Authen-Krb5 gcc -I/usr/lib64/perl5/CORE '-DVERSION="1.905"' '-DXS_VERSION="1.905"' -fPIC -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -g -o lib/Authen/Krb5.o lib/Authen/Krb5.c In file included from /usr/lib64/perl5/CORE/perl.h:4530, from lib/Authen/Krb5.xs:5: lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_mk_req': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:457:24: note: in expansion of macro 'SvPV' 457 | in_data.data = SvPV(in,in_data.length); | ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:7812: /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_rd_req': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:479:24: note: in expansion of macro 'SvPV' 479 | in_data.data = SvPV(in,in_data.length); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_gen_portaddr': lib/Authen/Krb5.xs:496:15: error: implicit declaration of function 'krb5_gen_portaddr' [-Wimplicit-function-declaration] 496 | err = krb5_gen_portaddr(context,addr,(krb5_pointer)&port,&RETVAL); | ^~~~~~~~~~~~~~~~~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_gen_replay_name': lib/Authen/Krb5.xs:523:15: error: implicit declaration of function 'krb5_gen_replay_name'; did you mean 'krb5_set_real_time'? [-Wimplicit-function-declaration] 523 | err = krb5_gen_replay_name(context,addr,uniq,&RETVAL); | ^~~~~~~~~~~~~~~~~~~~ | krb5_set_real_time lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_mk_priv': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:538:24: note: in expansion of macro 'SvPV' 538 | in_data.data = SvPV(in,in_data.length); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_rd_priv': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:553:24: note: in expansion of macro 'SvPV' 553 | in_data.data = SvPV(in,in_data.length); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_get_server_rcache': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:566:22: note: in expansion of macro 'SvPV' 566 | rc_data.data=SvPV(piece,rc_data.length); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_sendauth': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:593:24: note: in expansion of macro 'SvPV' 593 | in_data.data = SvPV(in,in_data.length); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5__EncTktPart_DESTROY': lib/Authen/Krb5.xs:1011:17: error: implicit declaration of function 'krb5_free_enc_tkt_part'; did you mean 'krb5_free_enctypes'? [-Wimplicit-function-declaration] 1011 | krb5_free_enc_tkt_part(context,etp); | ^~~~~~~~~~~~~~~~~~~~~~ | krb5_free_enctypes lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5__Address_new': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ lib/Authen/Krb5.xs:1026:42: note: in expansion of macro 'SvPV' 1026 | RETVAL->contents = (krb5_octet *)SvPV(contents,RETVAL->length); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5__Address_DESTROY': lib/Authen/Krb5.xs:1037:17: error: implicit declaration of function 'krb5_free_address'; did you mean 'krb5_free_addresses'? [-Wimplicit-function-declaration] 1037 | krb5_free_address(context,addr); | ^~~~~~~~~~~~~~~~~ | krb5_free_addresses error building lib/Authen/Krb5.o from 'lib/Authen/Krb5.c' at /usr/share/perl5/ExtUtils/CBuilder/Base.pm line 185. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Dk4sGG (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Dk4sGG (%build) I: [iurt_root_command] ERROR: chroot