[OpenIndiana-discuss] FLAG DAY: Default perl updated from 5.22 to 5.34

Joshua M. Clulow josh at sysmgr.org
Thu Jun 30 21:20:51 UTC 2022


On Thu, 30 Jun 2022 at 14:12, Marcel Telka <marcel at telka.sk> wrote:
> The change of default perl constitutes a flag-day for people building
> illumos-gate on OpenIndiana hipster.
>
> After you update your build machine to latest bits, the previously
> installed runtime/perl-522/module/sun-solaris package should be no
> longer installed and new runtime/perl-534/module/sun-solaris should
> appear there.  Once this happens you need to have the system-perl
> mediator set to 5.34 to build the illumos-gate successfully.  Please
> note that system-perl mediator defaults to 5.34 now, so usually you
> should be safe.
>
> To confirm the current system-perl mediator you could run the following
> command:
>
>     # pkg mediator system-perl
>
> Basically, the above should match the installed sun-solaris module:
>
>     # pkg list | grep "runtime/perl-.*/module/sun-solaris"
>
> So if you have runtime/perl-534/module/sun-solaris installed, the
> system-perl mediator should be set to 5.34.  As noted above, this is
> default now.
>
> In addition, you very likely want to update your env file (illumos.sh) to
> contain following lines so runtime/perl-534/module/sun-solaris package
> is properly built during illumos-gate nightly:
>
>     export PERL_VERSION="5.34"
>     export PERL_VARIANT="-thread-multi"
>     export PERL_PKGVERS="-534"
>     export BUILDPERL32="#"

Can you suggest updates to the official gate building documents where
they cover OpenIndiana?

    https://illumos.org/docs/developers/build/#openindiana_1

The source for this documentation is in a GitHub repository:

    https://github.com/illumos/docs/blob/master/docs/developers/build.md#openindiana-1

Cheers.

-- 
Joshua M. Clulow
http://blog.sysmgr.org



More information about the openindiana-discuss mailing list