Fairly sure perl 5.30.1 is as ready for import as I can get it without
other folks trying it out, so I'd like some additional testing on some
of the architectures I don't have and a bulk ports build to see what
sort of fallout happens there.  I have been running 5.30 on my main
testing machine for several months now and things have been working
well.

One thing that I know happened is that Locale::Codes and related modules
were removed from core and I haven't yet had time to look at fixing
the things that showed up when sthen@ grepped for that in the extracted
ports tree.

Anyone running a speedy bulk ports cluster who could do a full build for
me would be appreciated.


The full perldelta is here, both between version 5.30.0 and 5.28.2 that
we have in-tree now and the smaller bugfixes in 5.30.1.  The
perl5-porters have been hard at work on deprecating a lot of terrible
features so they can turn them into something better:

https://metacpan.org/pod/release/SHAY/perl-5.30.1/pod/perl5300delta.pod
https://metacpan.org/pod/release/SHAY/perl-5.30.1/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.1

Which includes alpha, amd64, arm64, armv7, i386, macppc, and octeon.
Sadly my sparc64 is giving me trouble and I haven't had time to spend on
the replacement.

Apparently my 166MHz single processor alpha is slow as it failed
speed.t.

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.1.tar.gz into the same directory
        https://cpan.metacpan.org/authors/id/S/SH/SHAY/perl-5.30.1.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/OpenBSD-perl-5.30.1.tar.gz

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


There's also patch file that should apply to a -current tree updating to
perl 5.30.1, copy it into /usr/src (or adjust the paths below) and
follow these ugly instructions.  You'll still need the sets lists patch
if you're planning to build a release.

https://cvs.afresh1.com/~andrew/OpenBSD-perl-5.30.1.patch

patch -p0 -E < OpenBSD-perl-5.30.1.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 .* and /dev/null differ' \
    OpenBSD-perl-5.30.1.patch | sed -ne 's/^diff -N //p' |
    while read f; do if [ -e $f ]; then rm $f; else touch $f; fi; done

# Remove empty directories, or those with only a CVS directory in them
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 {} \;


-- 
andrew - http://afresh1.com

The 3 great virtues of a programmer: Laziness, Impatience, and Hubris.
                      --Larry Wall

Reply via email to