Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540092 - dev-lang/perl-5.20.2 version bump
Summary: dev-lang/perl-5.20.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://metacpan.org/release/SHAY/per...
Whiteboard:
Keywords:
Depends on: 519958 532156
Blocks:
  Show dependency tree
 
Reported: 2015-02-14 20:16 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2015-02-14 23:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch gentoo/cleanup-paths.diff (cleanup-paths.diff,2.76 KB, patch)
2015-02-14 20:39 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
patch gentoo/darwin-cc-ld.diff (darwin-cc-ld.diff,1.23 KB, patch)
2015-02-14 20:58 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
patch gentoo/enc2xs_checksums.diff (enc2xs_checksums.diff,601 bytes, patch)
2015-02-14 21:55 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
patch gentoo/io_socket_ip_tests.diff (io_socket_ip_tests.diff,824 bytes, patch)
2015-02-14 21:59 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff
controlfile patches/series (series,759 bytes, text/plain)
2015-02-14 22:00 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
perl 5.20.2.ebuild.patch (ebuild.patch,1.46 KB, patch)
2015-02-14 22:05 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 20:16:34 UTC
5.20.2 is fresh off the press. So this bug intends to be a marshal point to explain all the changes that need to happen for this.

Also, please pretty please make sure bug #51958 is fixed in this release so we can actually have tests on by default.

These are the only clear "new" virtuals that are necessary.

bump: virtual/perl-File-Spec 3.480.0 -> 3.480.100 ( technically RC )
      || ( =dev-lang/perl-5.20.2* .... )

bump: virtual/perl-Module-CoreList => 5.201.502.14
      || ( =dev-lang/perl-5.20.2* .... )

bumb: virtual/perl-Storable => 2.490.100  ( technically RC )
      || ( =dev-lang/perl-5.20.2* .... )

Theres a bunch of other changes upstream have done that pretty much
can't be imagined to be resolved normally by our current virtual scheme due to
mix-and-matching different versions of different things from the same CPAN dist in perl itself. https://gist.github.com/kentfredric/694009644fbe144292c4 

These oddities are presently satisfiable by 5.20.1 virtuals, but I can't see them working cleanly with 5.20.2 virtuals .... so we'll have to fudgeit somewhere.

 virtual/perl-CPAN
 virtual/perl-IO
 virtual/perl-Pod-Parser ( this one we can hack around by only making it available from perl-core because this one is cpan-available )

And the following virtuals presently only map to 5.20.1 and need to be also provided by 5.20.2

 perl-Exporter-5.710.0
 perl-ExtUtils-CBuilder-0.280.217
 perl-version-0.990.900

You'll note I skipped over Data::Dumper, but thats acceptable because we're way ahead of perl-itself there anyway.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 20:18:22 UTC
Bah. Meant to mention bug #519958 in the text. I got it right in the block, fortunately.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2015-02-14 20:27:57 UTC
(In reply to Kent Fredric from comment #0)

> Theres a bunch of other changes upstream have done that pretty much
> can't be imagined to be resolved normally by our current virtual scheme due
> to
> mix-and-matching different versions of different things from the same CPAN
> dist in perl itself.
> https://gist.github.com/kentfredric/694009644fbe144292c4 
> 
> These oddities are presently satisfiable by 5.20.1 virtuals, but I can't see
> them working cleanly with 5.20.2 virtuals .... so we'll have to fudgeit
> somewhere.
> 
>  virtual/perl-CPAN

I guess here we can just add a version 2.90.0 virtual

>  virtual/perl-IO

No choice but to ignore it?

>  virtual/perl-Pod-Parser 
> (this one we can hack around by only making it
> available from perl-core because this one is cpan-available )

OK, so let's add Pod-Parser-1.630.0 both as virtual and perl-core and be done with it.
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 20:39:59 UTC
Created attachment 396460 [details, diff]
patch gentoo/cleanup-paths.diff

This attached patch is required to replace the one in the existing patch-set.
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 20:58:57 UTC
Created attachment 396462 [details, diff]
patch gentoo/darwin-cc-ld.diff

I'm not sure if this is the right fix for this file, upstream patched it like this: https://metacpan.org/diff/file?target=SHAY/perl-5.20.2/&source=SHAY/perl-5.20.1/#hints/darwin.sh 

So this works. But I don't know if it works "right".
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 21:55:13 UTC
Created attachment 396468 [details, diff]
patch gentoo/enc2xs_checksums.diff

Fix for bug #519958
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 21:59:34 UTC
Created attachment 396470 [details, diff]
patch gentoo/io_socket_ip_tests.diff

Fix for #532156

Note: This requires activating in the ebuild, it creates an ENV var that can be used to disable the tests.

That way we can easily turn it on/off from the ebuild if we can find a sensible way w/network-sandbox 

And you can't just nuke the test, that causes configure to break and bail requiring nasty manifest tweaks to unconfuddle.
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 22:00:47 UTC
Created attachment 396472 [details]
controlfile patches/series

This is the updated series file that includes the enc2xs_checksums.diff and io_socket_ip_tests.diff entries, which is intended to fully replace the existing version.
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 22:05:33 UTC
Created attachment 396474 [details, diff]
perl 5.20.2.ebuild.patch

Ebuild changes needed attached in patch form.

Note, locally I was using this diff for testing purposes and locally tweaking the data in the patches dir before calling `ebuild prepare`

 SRC_URI="
        mirror://cpan/src/5.0/${MY_P}.tar.bz2
        mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
-       mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
-       http://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
+       mirror://gentoo/perl-5.20.1-patches-${PATCH_VER}.tar.xz
+       http://dev.gentoo.org/~dilfridge/distfiles/perl-5.20.1-patches-${PATCH_VER}.tar.xz
 "
Comment 9 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-02-14 22:20:09 UTC
Top comment has wrong module-corelist version bump req; should be 

perl-Module-CoreList-2.201.502.140
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2015-02-14 23:27:28 UTC
All done.