[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] /usr/bin/env: invalid option -- 'S'

From: Jeffrey Walton
Subject: Re: [Bug-wget] /usr/bin/env: invalid option -- 'S'
Date: Thu, 30 May 2019 07:21:48 -0400

On Thu, May 30, 2019 at 6:49 AM Jeffrey Walton <address@hidden> wrote:
> On Thu, May 30, 2019 at 6:30 AM Tim Rühsen <address@hidden> wrote:
> >
> > Reverted 79be99aff (passes CI). Could you give it try, please ?
> Where can we get that?
> It is not on the mirror (yet?), and https://www.gnu.org/software/wget/
> does not list Git or Savannah access.

I performed a sed on all the *.px files. (If this was wrong let me
know what you need).

for file in $(find "$PWD" -name '*.px')
    sed -e 's|env -S perl -I .|env perl|g' "$file" > "$file.fixed"
    chmod +w "$file"
    mv "$file.fixed" "$file"
    chmod +x "$file"
    chmod -w "$file"

The +x was needed for a few of the files (most were OK). Otherwise got
permission denied.

After the change, most tests pass. There were some failures that remained:

FAIL: Test-https-pfs.px
FAIL: Test-https-tlsv1.px
FAIL: Test-https-tlsv1x.px
FAIL: Test-https-selfsigned.px
SKIP: Test-https-weboftrust.px
FAIL: Test-https-clientcert.px
FAIL: Test-https-crl.px
PASS: Test-https-badcerts.px

$ cd ./wget-1.20.3/tests
$ ./Test-https-pfs.px
Can't locate WgetFeature.pm in @INC (you may need to install the
WgetFeature module) (@INC contains: /etc/perl
/usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24
/usr/share/perl/5.24 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base) at ./Test-https-pfs.px line 6.
BEGIN failed--compilation aborted at ./Test-https-pfs.px line 6.


$ find . -name WgetFeature.pm


reply via email to

[Prev in Thread] Current Thread [Next in Thread]