[OpenIndiana-discuss] FLAG DAY: Default Perl in OpenIndiana is 5.36 now

Marcel Telka marcel at telka.sk
Tue Aug 30 20:56:16 UTC 2022


Perl 5.36 is default now
------------------------

The default Perl in OpenIndiana switched from version 5.34 to version
5.36.  Perl 5.36 is fully supported now and all additional Perl modules
were rebuilt to properly support Perl 5.36.  OpenIndiana currently
provides over 210 additional Perl modules in the package repository.

Perl 5.34 is still available in repository for your convenience to allow
smooth transition to Perl 5.36.

All other Perl versions, namely 5.22 and 5.24, were obsoleted because
they reached End of life several years ago.


Perl is first class citizen now
-------------------------------

Perl became first class citizen and commands like `man perl` or
`pod2man` now works by default without any additional tweaks with PATH
and/or MANPATH.

This change affects additional Perl modules too but it will become
visible only after they are rebuilt.  Please note that only handful of
additional Perl modules were rebuilt so far.  Other modules will be
rebuilt either when they are upgraded, or when new major Perl version is
integrated to OpenIndiana.  For example, `man Type::Tiny` already works,
but `man Mojo` does not (yet) and you still need to invoke something
like `MANPATH=/usr/perl5/5.36/man man Mojo` to read the man page.

In addition, we introduced unversioned runtime/perl package.  If you
need any Perl version installed, just install runtime/perl and you are
done.  The runtime/perl package will always point to the default Perl
version.  Currently it is 5.36.


system-perl mediator
--------------------

Unless you really knows what you are doing your system-perl mediator
should be unset.  Before update to latest bits your system-perl mediator
should look like this (if your system is recent):

    # pkg mediator system-perl
    MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
    system-perl         vendor    5.34    vendor     
    #

or like this (if your system is older than ca 2 months):

    # pkg mediator system-perl
    MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
    system-perl         vendor    5.22    vendor     
    #

If this is not the case and the output of the above command looks
differently, it is higly recommended to switch the system-perl mediator
back to its default state using this command:

    # pkg unset-mediator system-perl

After you update your machine to latest bits, the system-perl
mediator should automatically switch to version 5.36:

    # pkg mediator system-perl
    MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
    system-perl         vendor    5.36    vendor     
    #


illumos-gate nightly
--------------------

The change of default Perl version constitutes a flag-day for people
building illumos-gate on OpenIndiana.

You should update your env file (illumos.sh) to contain following lines
so runtime/perl-536/module/sun-solaris package is properly built during
illumos-gate nightly:

    export PERL_VERSION="5.36"
    export PERL_VARIANT="-thread-multi"
    export PERL_PKGVERS="-536"
    export BUILDPERL32="#"


Thanks.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list