Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.98k stars 559 forks source link

BBC: Blead Breaks Net::SSH2 #22686

Open cjg-cguevara opened 1 month ago

cjg-cguevara commented 1 month ago

This is a bug report for perl from "Carlos Guevara" carlos@carlosguevara.com, generated with the help of perlbug 1.43 running under perl 5.41.6.


BBC: Blead Breaks Net::SSH2

Please see http://fast-matrix.cpantesters.org/?dist=Net::SSH2


Flags

Configured by cpan at Sun Oct 20 22:36:51 EDT 2024.

Summary of my perl5 (revision 5 version 41 subversion 6) configuration: Commit id: cb2baa70118e364c1428dc77cb8f9c614060c26e Platform: osname=linux osvers=5.14.0-427.40.1.el9_4.x86_64 archname=x86_64-linux uname='linux cjg-rhel9 5.14.0-427.40.1.el9_4.x86_64 #1 smp preempt_dynamic fri oct 4 15:22:45 edt 2024 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Dprefix=/home/cpan/bin/perl -Dscriptdir=/home/cpan/bin/perl/bin -Dusedevel -Duse64bitall' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define Compiler: cc='cc' ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2' optimize='-O2' cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='11.4.1 20231218 (Red Hat 11.4.1-3)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags =' -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /usr/lib64 /usr/local/lib64 libs=-lpthread -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc libc=/lib/../lib64/libc.so.6 so=so useshrplib=false libperl=libperl.a gnulibc_version='2.34' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-E' cccdlflags='-fPIC' lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'


@INC for perl 5.41.6: /home/cpan/bin/perl/lib/site_perl/5.41.6/x86_64-linux /home/cpan/bin/perl/lib/site_perl/5.41.6 /home/cpan/bin/perl/lib/5.41.6/x86_64-linux /home/cpan/bin/perl/lib/5.41.6


Environment for perl 5.41.6: HOME=/home/cpan LANG=en_US.UTF-8 LANGUAGE (unset) LC_ALL=C LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/cpan/bin/perl/bin:/home/cpan/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin PERL_BADLANG (unset) SHELL=/bin/bash

mauke commented 1 month ago

Error message:

Unparseable XSUB parameter: 'SV*' in SSH2.xs, line 985
jkeenan commented 1 month ago

Environment:

$ uname -mrs
FreeBSD 13.3-RELEASE-p6 amd64

(Bisection required $ sudo pkg install libssh2.)

Bisection:

$ perl Porting/bisect.pl \
--start=69864d9a5ac17bf15bfb560c1c08977dc527eb6e^ \
--end=a66489bb47fd2e66a5fb15dd3372a76fdc0c8352 \
--module=Net::SSH2

Result:

commit a399a4923c7f15aa1aa5bdb38a5dccf59ef51678
Author:     David Mitchell <davem@iabyn.nospamdeletethisbit.com>
AuthorDate: Mon Sep 23 18:52:11 2024 +0100
Commit:     David Mitchell <davem@iabyn.nospamdeletethisbit.com>
CommitDate: Fri Oct 18 11:12:17 2024 +0100

    ParseXS: refactor: XSUB signature-processing
iabyn commented 1 month ago

On Sun, Oct 20, 2024 at 09:53:26PM -0700, mauke wrote:

Error message:


Unparseable XSUB parameter: 'SV*' in SSH2.xs, line 985

This is the issue as #22685 (using 'SV*' as a placeholder) and will thus have the same resolution as whatever is agreed for that ticket.

-- A major Starfleet emergency breaks out near the Enterprise, but fortunately some other ships in the area are able to deal with it to everyone's satisfaction. -- Things That Never Happen in "Star Trek" #13

iabyn commented 5 days ago

This should now be fixed in blead by v5.41.5-148-g1b37187592 from PR #22761