There's a minor update for perl 5.30.2 out, mostly just some bugfixes,
but also documentation updates because the main repository and bug
tracker for perl has moved to GitHub.

The full perldeltas are here the main one for for 5.30.0, and 5.30.1
that we have in-tree now and the smaller bugfixes in 5.30.2.

https://metacpan.org/pod/release/SHAY/perl-5.30.2/pod/perl5300delta.pod
https://metacpan.org/pod/release/SHAY/perl-5.30.2/pod/perl5301delta.pod
https://metacpan.org/pod/release/SHAY/perl-5.30.2/pod/perldelta.pod


The logs for the testing I have done is here.
https://github.com/afresh1/OpenBSD-perl/tree/master/build_logs/5.30.2

Which includes alpha, amd64, arm64, armv7, i386, macppc, sparc64, and octeon.

On my alpha there's an odd failure in 01_IPC_Cmd.t, but that's not new
and seems to be something with buffers not getting flushed as expected.


For running the perl test suite, you can follow the instructions on
GitHub, repeated here:

https://github.com/afresh1/OpenBSD-perl

    download the patches and scripts
                https://github.com/afresh1/OpenBSD-perl/archive/master.tar.gz
                and extract someplace
                or git clone https://github.com/afresh1/OpenBSD-perl.git
    download perl-5.30.2.tar.gz into the same directory
        https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.30.2.tar.gz
    cd to someplace you have room
    run /path/to/OpenBSD-perl/build_perl
    wait
    send me the log file(s) it generates

You can download a pre-patched version of perl that can be extracted to
replace src/gnu/usr.bin/perl for building a system with the new perl:

https://cvs.afresh1.com/~andrew/perl-update/OpenBSD-perl-5.30.2.tar.gz

I also have what should be a mostly correct sets/lists patch for building a 
release.
https://cvs.afresh1.com/~andrew/perl-update/OpenBSD-perl-5.30.2-sets_lists.patch


Unfortunately, there are some characters in test files that are causing
`patch` to fail, so although you can get the patch here, I haven't been
able to figure out how to apply it successfully.  If you want to try,
this is supposed to apply to -current to update it to perl 5.30.2, to do
that you would copy it into /usr/src (or adjust the paths below) and
follow these ugly instructions.  You'll still need the above sets lists
patch if you're planning to build a release.

https://cvs.afresh1.com/~andrew/perl-update/OpenBSD-perl-5.30.2.patch.gz
or
https://cvs.afresh1.com/~andrew/perl-update/OpenBSD-perl-5.30.2.patch

cd /usr/src
patch -p0 -uNE < perl-5.30.2.patch

# Remove patch cruft
find gnu/usr.bin/perl -name '*.orig' -delete

# Add and remove binary and zero sized files that patch doesn't understand
grep -B1 -e '^Index:' -e 'Binary files /tmp/.* and /dev/null differ' \
    perl-5.30.2.patch | sed -ne 's/^diff -N //p' |
    while read f; do if [ -e $f ]; then rm $f; else touch $f; fi; done

cd gnu/usr.bin/perl && find -d . \
    \( -type d -o -path '*/CVS' -prune \) \
    ! -name CVS \
    -exec test -e {}/CVS \; \
    -execdir sh -c 'test $( ls -1 {} | grep -v '^CVS/$' | wc -l ) -eq 0' \; \
    -exec rm -r {} \;


Reply via email to