[Userland-team] [OpenIndiana Distribution - Bug #1664] /usr/perl5/bin needs to be split into its own package

illumos project devnull at illumos.org
Thu Oct 20 12:32:21 UTC 2011

Issue #1664 has been updated by Igor S.Kozhukhov.

I have solution how to update illumos-gate for perl transition.

1. we have to install perl-5.10 and perl-5.12 to the build system - have been done by OI-experimental userland.

2. have to update illumos-gate for building 2 version of modules.

igor at srv242:/myshare/builds/illumos-gate/illumos-gate/usr/src/cmd/perl$ hg diff
diff -r debf50957085 usr/src/cmd/perl/Makefile
--- a/usr/src/cmd/perl/Makefile Wed Oct 19 16:31:52 2011 +0400
+++ b/usr/src/cmd/perl/Makefile Thu Oct 20 14:00:54 2011 +0400
@@ -32,7 +32,7 @@
 test   := TARGET = test
 # PERL_LEGACY is versions of Perl still delivered through ON
+PERL_VERSIONS = 5.10.0 5.12
diff -r debf50957085 usr/src/cmd/perl/contrib/Sun/Solaris/PerlGcc/Makefile.PL
--- a/usr/src/cmd/perl/contrib/Sun/Solaris/PerlGcc/Makefile.PL  Wed Oct 19 16:31:52 2011 +0400
+++ b/usr/src/cmd/perl/contrib/Sun/Solaris/PerlGcc/Makefile.PL  Thu Oct 20 14:00:54 2011 +0400
@@ -48,6 +48,9 @@
 my $arch = qx{uname -p}; chomp($arch);
 my $pver = sprintf('%vd', $^V);
+# workaround for 5.12
+$pver = '5.12' if ($pver =~ /5.12/);
 # Figure out the appropriate Config.pm.  Use an older version if necessary.
 my $perlarch = ($arch eq "sparc") ? "sun4-solaris-64int":"i86pc-solaris-64int";

(This workaround not need if we update userland-perl-5.12 package for using full perl version - 5.12.3)

3. have to prepare new manifest for perl-5.12 - if need - I can attach. - library-perl-5-sun-solaris.mf

4. have to prepare manifest for perl-5.10 without man pages - for removing conflicts between 5.10 and 5.12 - I can attached library-perl-510-sun-solaris.mf

By result - we have different packages with illumos perl modules for different perl.

next steps will be later:

5. have to update userland-gate perl-5.10 manifest - remove link to /usr/bin/perl

6. have to update userland-gate perl-5.12 manifest - add link to /usr/bin/perl

7. rebuild userland packages with perl-5.12

Bug #1664: /usr/perl5/bin needs to be split into its own package

Author: Albert Lee
Status: New
Priority: High
Assignee: OI Userland
Category: oi-build
Target version: 
Difficulty: Medium

_/usr/perl5/bin_ actually needs to be refactored into its own package, to allow the illumos dependency to change to another Perl version that is concurrently installed, without having to replace the existing _runtime/perl-5xx_ package that delivers it -- ideally illumos-gate would provide this package, but we need to create one first, to allow a transition.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account

More information about the Userland-team mailing list