Running phase: unpackPhase unpacking source archive /nix/store/lnhhybzqkl0pd75x41kj2v17cpj58l7r-Authen-Krb5-1.905.tar.gz source root is Authen-Krb5-1.905 setting SOURCE_DATE_EPOCH to timestamp 1512419426 of file "Authen-Krb5-1.905/typemap" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching ./eg/simple_server... patching ./eg/simple_client... patching ./eg/sample_server... patching ./eg/sample_client... patching ./t/release-minimum-version.t... patching ./t/author-pod-coverage.t... patching ./t/author-pod-syntax.t... no configure script, doing nothing Running phase: buildPhase Found MIT kerberos 5 version 1.21.3 CFLAGS: -I/nix/store/5psqk8j1cackb01qqwg9r0wgqs9pwp93-krb5-1.21.3-dev/include LDFLAGS: -L/nix/store/wf5nbjqn7m899zbpv38vbpyc5jk773qa-krb5-1.21.3-lib/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/nix/store/wf5nbjqn7m899zbpv38vbpyc5jk773qa-krb5-1.21.3-lib/lib -lkrb5 -lk5crypto -lcom_err Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Authen-Krb5' version '1.905' Building Authen-Krb5 gcc -I/nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE '-DVERSION="1.905"' '-DXS_VERSION="1.905"' -fPIC -I/nix/store/5psqk8j1cackb01qqwg9r0wgqs9pwp93-krb5-1.21.3-dev/include -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -o lib/Authen/Krb5.o lib/Authen/Krb5.c In file included from /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/perl.h:4541, from lib/Authen/Krb5.xs:5: lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_mk_req': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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 /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/perl.h:7870: /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_rd_req': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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); | ^~~~ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | 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' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 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'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 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': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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); | ^~~~ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_rd_priv': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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); | ^~~~ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_get_server_rcache': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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); | ^~~~ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5_sendauth': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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); | ^~~~ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | 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'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1011 | krb5_free_enc_tkt_part(context,etp); | ^~~~~~~~~~~~~~~~~~~~~~ | krb5_free_enctypes lib/Authen/Krb5.xs: In function 'XS_Authen__Krb5__Address_new': /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/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); | ^~~~ /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE/sv_inline.h:910:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'unsigned int *' 910 | 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'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1037 | krb5_free_address(context,addr); | ^~~~~~~~~~~~~~~~~ | krb5_free_addresses error building lib/Authen/Krb5.o from 'lib/Authen/Krb5.c' at /nix/store/l4x3hcysvp19pxv9fsy7k8gwqzr9mln0-perl-5.40.0/lib/perl5/5.40.0/ExtUtils/CBuilder/Base.pm line 185.