Skip Menu |
Report information
Id: 133102
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: shcorey <shawnhcorey [at]>

Operating System: (no value)
PatchStatus: (no value)
Severity: High
Type: library
Perl Version: 5.26.1
Fixed In: (no value)

From: Shawn H Corey <shawnhcorey [...]>
Subject: Error Message In File::Copy
Date: Thu, 12 Apr 2018 08:36:22 -0400
To: perlbug [...]
Download (untitled) / with headers
text/plain 4.3k
This is a bug report for perl from, generated with the help of perlbug 1.40 running under perl 5.26.1. ----------------------------------------------------------------- [Please describe your issue here] I got the following error message. Since it might be a future fatal error, this seems rather important. syswrite() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at /home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/File/ line 179. [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=library severity=high module=File::Copy --- Site configuration information for perl 5.26.1: Configured by Shawn H Corey at Fri Mar 9 08:15:37 EST 2018. Summary of my perl5 (revision 5 version 26 subversion 1) configuration: Platform: osname=linux osvers=4.4.0-116-generic archname=x86_64-linux-gnu-thread-multi uname='linux sage 4.4.0-116-generic #140~14.04.1-ubuntu smp fri feb 16 09:25:20 utc 2018 x86_64 x86_64 x86_64 gnulinux ' config_args='-de -Dprefix=/home/shawn/perl5/perlbrew/perls/perl-5.26.1 -Dusethreads -Duselargefiles -Duse64bitall -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dpager=/usr/bin/sensible-pager -Doptimize=-O2 -Duseshrplib -Dcf_by=Shawn H Corey -Aeval:scriptdir=/home/shawn/perl5/perlbrew/perls/perl-5.26.1/bin' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' optimize='-O2' cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='' gccversion='4.8.4' 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 -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.8/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 -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc so=so useshrplib=true gnulibc_version='2.19' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-E -Wl,-rpath,/home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux-gnu-thread-multi/CORE' cccdlflags='-fPIC' lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Locally applied patches: Devel::PatchPerl 1.48 --- @INC for perl 5.26.1: /home/shawn/perl5/lib /home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux-gnu-thread-multi /home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1 /home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux-gnu-thread-multi /home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1 --- Environment for perl 5.26.1: HOME=/home/shawn LANG=en_CA.UTF-8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/shawn/bin:/home/shawn/perl5/perlbrew/bin:/home/shawn/perl5/perlbrew/perls/perl-5.26.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:. PERL5LIB=/home/shawn/perl5/lib PERLBREW_BASHRC_VERSION=0.66 PERLBREW_HOME=/home/shawn/.perlbrew PERLBREW_MANPATH=/home/shawn/perl5/perlbrew/perls/perl-5.26.1/man PERLBREW_PATH=/home/shawn/perl5/perlbrew/bin:/home/shawn/perl5/perlbrew/perls/perl-5.26.1/bin PERLBREW_PERL=perl-5.26.1 PERLBREW_ROOT=/home/shawn/perl5/perlbrew PERLBREW_VERSION=0.66 PERL_BADLANG (unset) SHELL=/bin/bash -- Don't stop where the ink does. Shawn H Corey
To: perl5-porters [...]
Subject: Re: [perl #133102] Error Message In File::Copy
From: Dave Mitchell <davem [...]>
Date: Mon, 16 Apr 2018 12:15:17 +0100
Download (untitled) / with headers
text/plain 546b
On Thu, Apr 12, 2018 at 05:36:38AM -0700, Shawn H Corey wrote: Show quoted text
> I got the following error message. Since it might be a future fatal > error, this seems rather important. > > syswrite() is deprecated on :utf8 handles. This will be a fatal error > in Perl 5.30 > at /home/shawn/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/File/ > line 179.
Can you provide a small, self-contained example program which reproduces this issue? -- Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
RT-Send-CC: perl5-porters [...]
Download (untitled) / with headers
text/plain 136b
#!/usr/bin/env perl use strict; use warnings; use open qw( :encoding(UTF-8) :std ); use File::Copy; copy( $_, \*STDOUT ) for @ARGV;

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

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