Skip Menu |

This queue is for tickets about the PersistentPerl CPAN distribution.

Report information
The Basics
Id: 130060
Status: new
Priority: 0/
Queue: PersistentPerl

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PersistentPerl: fails to build against perl-5.31.0 on FreeBSD-12
As per subject line. Excerpt from cpanm build.log: ##### $ dumpjson HORROCKS.PersistentPerl-2.22.log.json { author => "HORROCKS", dist => "PersistentPerl", distname => "PersistentPerl-2.22", distversion => 2.22, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing PersistentPerl-2.22", "cd src && make", "\"/usr/home/jkeenan/var/tad/testing/perl-5.31.0/bin/perl\" -w optdefs.pl /home/jkeenan/var/tad/testing/perl-5.31.0/bin", "Writing perperl_optdefs.c", "Writing perperl_optdefs.h", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Redundant argument in printf at optdefs.pl line 158.", "Writing mod_persistentperl_cmds.c", "Writing mod_persistentperl2_cmds.c", "Writing PersistentPerl.pm", "cp src/PersistentPerl.pm blib/lib/PersistentPerl.pm", "rm -f perperl_backend_main.c", "cp ../src/perperl_backend_main.c perperl_backend_main.c", "cc -c -I../src -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\\\"2.22\\\" -DXS_VERSION=\\\"2.22\\\" -DPIC -fPIC \"-I/home/jkeenan/var/tad/testing/perl-5.31.0/lib/5.31.0/amd64-freebsd-thread-multi/CORE\" -DPERPERL_PROGNAME=\\\"perperl_backend\\\" -DPERPERL_VERSION=\\\"2.22\\\" -DPERPERL_BACKEND perperl_backend_main.c", "In file included from perperl_backend_main.c:24:", "In file included from ./perperl.h:2:", "In file included from ../src/perperl_inc.h:80:", "../src/perperl_util.h:42:20: warning: inline function 'perperl_util_getpid' is not defined [-Wundefined-inline]", "PERPERL_INLINE int perperl_util_getpid(void);", " ^", "perperl_backend_main.c:81:23: note: used here", " if (pid && pid != perperl_util_getpid())", " ^", "In file included from perperl_backend_main.c:24:", "In file included from ./perperl.h:2:", "In file included from ../src/perperl_inc.h:90:", "../src/perperl_file.h:54:20: warning: inline function 'perperl_file_set_state' is not defined [-Wundefined-inline]", "PERPERL_INLINE int perperl_file_set_state(int new_state);", " ^", "perperl_backend_main.c:117:2: note: used here", " perperl_file_set_state(FS_CLOSED);", " ^", "2 warnings generated.", "rm -f perperl_perl.c", "cp ../src/perperl_perl.c perperl_perl.c", "cc -c -I../src -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\\\"2.22\\\" -DXS_VERSION=\\\"2.22\\\" -DPIC -fPIC \"-I/home/jkeenan/var/tad/testing/perl-5.31.0/lib/5.31.0/amd64-freebsd-thread-multi/CORE\" -DPERPERL_PROGNAME=\\\"perperl_backend\\\" -DPERPERL_VERSION=\\\"2.22\\\" -DPERPERL_BACKEND perperl_perl.c", "perperl_perl.c:258:2: warning: implicit declaration of function 'New' is invalid in C99 [-Wimplicit-function-declaration]", " perperl_new(retval, 1, PersistentScript);", " ^", "../src/perperl_backend_main.h:41:28: note: expanded from macro 'perperl_new'", "#define perperl_new(s,n,t) New(123,s,n,t)", " ^", "perperl_perl.c:258:25: error: unexpected type name 'PersistentScript': expected expression", " perperl_new(retval, 1, PersistentScript);", " ^", "perperl_perl.c:449:2: warning: implicit declaration of function 'New' is invalid in C99 [-Wimplicit-function-declaration]", " perperl_new(buf, sz+1, char);", " ^", "../src/perperl_backend_main.h:41:28: note: expanded from macro 'perperl_new'", "#define perperl_new(s,n,t) New(123,s,n,t)", " ^", "perperl_perl.c:449:25: error: expected expression", " perperl_new(buf, sz+1, char);", " ^", "perperl_perl.c:484:5: warning: implicit declaration of function 'New' is invalid in C99 [-Wimplicit-function-declaration]", " perperl_new(cwd, 1, PersistentCwd);", " ^", "../src/perperl_backend_main.h:41:28: note: expanded from macro 'perperl_new'", "#define perperl_new(s,n,t) New(123,s,n,t)", " ^", "perperl_perl.c:484:25: error: unexpected type name 'PersistentCwd': expected expression", " perperl_new(cwd, 1, PersistentCwd);", " ^", "perperl_perl.c:808:9: warning: implicit declaration of function 'PerlIO_reopen' is invalid in C99 [-Wimplicit-function-declaration]", " if (PerlIO_reopen(dev_null, \"r\", pio_in ) == NULL ||", " ^", "perperl_perl.c:808:47: warning: comparison between pointer and integer ('int' and 'void *')", " if (PerlIO_reopen(dev_null, \"r\", pio_in ) == NULL ||", " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~", "perperl_perl.c:809:40: warning: comparison between pointer and integer ('int' and 'void *')", " PerlIO_reopen(dev_null, \"w\", pio_out) == NULL ||", " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~", "perperl_perl.c:810:40: warning: comparison between pointer and integer ('int' and 'void *')", " PerlIO_reopen(dev_null, \"w\", pio_err) == NULL)", " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~", "perperl_perl.c:917:29: warning: incompatible pointer types passing 'void (void)' to parameter of type 'XSINIT_t' (aka 'void (*)(struct interpreter *)') [-Wincompatible-pointer-types]", " if (perl_parse(my_perl, xs_init,", " ^~~~~~~", "/home/jkeenan/var/tad/testing/perl-5.31.0/lib/5.31.0/amd64-freebsd-thread-multi/CORE/proto.h:2739:65: note: passing argument to parameter 'xsinit' here", "PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env);", " ^", "8 warnings and 3 errors generated.", "*** Error code 1", "", "Stop.", "make[1]: stopped in /usr/home/jkeenan/var/tad/testing/perl-5.31.0/.cpanm/work/1562787494.14114/PersistentPerl-2.22/perperl_backend", "*** Error code 1", "", "Stop.", "make: stopped in /usr/home/jkeenan/var/tad/testing/perl-5.31.0/.cpanm/work/1562787494.14114/PersistentPerl-2.22", "-> FAIL Installing PersistentPerl failed. See /home/jkeenan/var/tad/testing/perl-5.31.0/.cpanm/work/1562787494.14114/build.log for details. Retry with --force to force install it.", ], via => "App::cpanminus::reporter 0.17 (1.7044)", } ##### Can you investigate? Thank you very much. Jim Keenan