Skip Menu |
Report information
Id: 132873
Status: rejected
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: slaven [at] rezic.de
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: sendToCPAN
Perl Version: (no value)
Fixed In: (no value)



CC: srezic [...] cpan.org
To: perlbug [...] perl.org
From: slaven [...] rezic.de
Date: Thu, 15 Feb 2018 22:46:34 +0100
Subject: Blead Breaks CPAN: JOHNH/Fsdb-2.64.tar.gz
Download (untitled) / with headers
text/plain 3.3k
This is a bug report for perl from slaven@rezic.de, generated with the help of perlbug 1.41 running under perl 5.27.9. ----------------------------------------------------------------- Fsdb-2.64 does not have any pass reports for perl >= 5.27.7, see http://fast-matrix.cpantesters.org/?dist=Fsdb-2.64 For older perls @ linux, the test results are not perfect, but mostly passes. ----------------------------------------------------------------- --- Flags: category=core severity=low --- Site configuration information for perl 5.27.9: Configured by eserte at Tue Feb 6 19:16:51 CET 2018. Summary of my perl5 (revision 5 version 27 subversion 9) configuration: Commit id: ef80cd9998532b7e2be7823cd9af7ba1198822e5 Platform: osname=linux osvers=3.16.0-4-amd64 archname=x86_64-linux uname='linux cabulja 3.16.0-4-amd64 #1 smp debian 3.16.51-3 (2017-12-13) x86_64 gnulinux ' config_args='-D useshrplib=true -Dprefix=/opt/perl5.27.8-157-gef80cd9 -Dusemymalloc=n -D cc=ccache cc -D usedevel=define -Duse64bit -de' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef 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='4.9.2' 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='ccache cc' ldflags =' -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.19.so so=so useshrplib=true libperl=libperl.so gnulibc_version='2.19' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-E -Wl,-rpath,/opt/perl5.27.8-157-gef80cd9/lib/5.27.9/x86_64-linux/CORE' cccdlflags='-fPIC' lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong' --- @INC for perl 5.27.9: /opt/perl5.27.8-157-gef80cd9/lib/site_perl/5.27.9/x86_64-linux /opt/perl5.27.8-157-gef80cd9/lib/site_perl/5.27.9 /opt/perl5.27.8-157-gef80cd9/lib/5.27.9/x86_64-linux /opt/perl5.27.8-157-gef80cd9/lib/5.27.9 --- Environment for perl 5.27.9: HOME=/home/eserte LANG=en_US.UTF-8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/eserte/bin/linux-gnu:/home/eserte/bin/sh:/home/eserte/bin:/home/eserte/bin/pistachio-perl/bin:/usr/games:/home/eserte/devel PERLDOC=-MPod::Perldoc::ToTextOverstrike PERL_BADLANG (unset) SHELL=/bin/zsh
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 712b
On Thu, 15 Feb 2018 13:49:44 -0800, slaven@rezic.de wrote: Show quoted text
> Fsdb-2.64 does not have any pass reports for perl >= 5.27.7, see > http://fast-matrix.cpantesters.org/?dist=Fsdb-2.64
Bisect points to commit 3d033384b2016a58c3eed89524dc658660c759ce Author: Zefram <zefram@fysh.org> Date: Thu Dec 14 04:23:58 2017 +0000 warn on $a.$b.$c in void context $a.$b.$c gets transformed early on to execute as ($a.$b).=$c, which didn't warn about void context becuase .= looks like a useful side effect. Happily, the recently-added OPpCONCAT_NESTED flag identifies that this has happened. Make scalarvoid() pay attention to this flag when a concat op is put into void context. Fixes [perl #6997]
To: perl5-porters [...] perl.org
Subject: Re: [perl #132873] Blead Breaks CPAN: JOHNH/Fsdb-2.64.tar.gz
Date: Fri, 16 Feb 2018 18:45:19 +0000
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 877b
It's an amusing combination of oversensitive tests (barfing on the warnings) combined with some code that's unintentionally putting a concat operator in void context. The problem is concerned with this code in Fsdb::Filter::dbcolstats: croak $self->{_prog} . ": target column " . $self->{_target_column} . " is not in input stream.\n" if (!defined($self->{_target_coli})); This code would be correct, except for the fact that croak() hasn't been imported into the package. This being Perl, the lack of importation doesn't make this a compile-time error, but does change how the code parses: "croak $self" parses as an indirect method call, and the concatenation becomes the top-level operation. This used to not even warn, but since 5.27.7 there is a correct warning about concatenation in void context. The fix is for that module to import croak(). -zefram
From: Zefram <zefram [...] fysh.org>
Date: Fri, 16 Feb 2018 18:51:28 +0000
Subject: Re: [perl #132873] Blead Breaks CPAN: JOHNH/Fsdb-2.64.tar.gz
To: perl5-porters [...] perl.org
Reported to Fsdb maintainer as [rt.cpan.org #124452]. -zefram


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org