First, was trying to install CPAN::Reporter on my Win machine under cygwin.

Got a bunch of warnings/errors:

#   Failed test 'tee_stderr|perl|both|multiline - inner STDOUT'
#   at t/lib/Cases.pm line 27.
# got: 'sysread() is deprecated on :utf8 handles. This will be a fatal
error in Perl 5.30 at -e line 8.
# syswrite() is deprecated on :utf8 handles. This will be a fatal error in Perl
5.30 at -e line 9.
# syswrite() is deprecated on :utf8 handles. This will be a fatal error in Perl
5.30 at -e line 9.
# STDERR:First line
# Second line
# sysread() is deprecated on :utf8 handles. This will be a fatal error in Perl 5
.30 at -e line 9.
# '
#     expected: 'STDERR:First line
# Second line
# '
t/10-stdout-string.t ....... 833/? # Looks like you failed 150 tests of 873.
t/10-stdout-string.t ....... Dubious, test returned 150 (wstat 38400, 0x9600)
Failed 150/873 subtests
t/11-stderr-string.t ....... 162/? make: *** [Makefile:873: test_dynamic] Interr
upt
 DAGOLDEN/Capture-Tiny-0.48.tar.gz
 make.exe test -- NOT OK
---
I think this may be because I have -Mutf8 in my PERL5OPT to indicate I'll be using utf8 in my source. I went to look to find out why on my linux system:

 cpan
cpan[1]> look Capture::Tiny
Database was generated on Sat, 26 May 2018 10:13:12 GMT
Catching error: "Insecure \$ENV{PATH} while running setuid at /home/perl/perl-5.16.3/lib/site/CPAN/SQLite/META.pm line 325.\cJ" at /home/perl/perl-5.16.3/lib/CPAN.pm line 392.
 CPAN::shell() called at /home/perl/perl-5.16.3/lib/App/Cpan.pm line 395
App::Cpan::_process_options("App::Cpan") called at /home/perl/perl-5.16.3/lib/App/Cpan.pm line 492
 App::Cpan::run("App::Cpan") called at /usr/bin/cpan line 13
Lockfile removed.
Insecure dependency in chdir while running setuid at /home/perl/perl-5.16.3/lib/x86_64-linux-thread-multi-ld/Cwd.pm line 526.
 echo $UID $EUID
5013 5013


I can't find out why I'd be getting these warnings...
cpan, perl -- none of them are setuid.
and the above was just me trying to *look*.
It seems like a fail in CPAN?

Where could the setuid be coming from?

This is more than a little bit weird.

Reply via email to