I've updated our patches for perl 5.30.0  and I'd like to get some other
folks to kick the tyres.  I doubt it's quite ready to become system perl
just yet, but I have been running it on a test machine for a while now.

This summer has been surprisingly good at keeping me from spending much
time on OpenBSD, but after being on a beach next week I should have time
again.
(Which is why I'm sending it now, so yinz can test it while I'm relaxing.)


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.

The full perldelta is here, and 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/XSAWYERX/perl-5.30.0/pod/perldelta.pod


It would be nice to get feedback on some of the architectures I don't
have, and a bulk ports build to see what sort of fallout happens there.

The logs for what I do have are here.
https://github.com/afresh1/OpenBSD-perl/tree/master/build_logs/5.30.0

Which are alpha, amd64, arm64, armv7, i386, macppc, and octeon.


I did have some failures with capturing output from forked processes on
my alpha, so that was a bit odd, but I haven't yet gotten around to
figuring out if that's a new failure or a new test.


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.0.tar.gz into the same directory
        https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/perl-5.30.0.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.0.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.0-sets_lists.patch


There's also patch file that should apply to a -current tree updating to
perl 5.30, 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.0.patch

patch -p0 -E < perl-5.30.0.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.0.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 {} \;

l8rZ,
-- 
andrew - http://afresh1.com

($do || !$do) && undef($try) ;  # Master of Perl, Yoda is.  Hmmmm?

Reply via email to