FS#40692 - [perl-tk] Needs rebuild for perl 5.20.0.
Attached to Project:
Arch Linux
Opened by Brian BIdulock (bidulock) - Wednesday, 04 June 2014, 21:35 GMT
Last edited by Felix Yan (felixonmars) - Monday, 07 July 2014, 14:33 GMT
Opened by Brian BIdulock (bidulock) - Wednesday, 04 June 2014, 21:35 GMT
Last edited by Felix Yan (felixonmars) - Monday, 07 July 2014, 14:33 GMT
|
Details
Description:
perl-tk requires rebuild against perl-5.20.0. |
This task depends upon
Closed by Felix Yan (felixonmars)
Monday, 07 July 2014, 14:33 GMT
Reason for closing: Fixed
Additional comments about closing: 804.032-3
Monday, 07 July 2014, 14:33 GMT
Reason for closing: Fixed
Additional comments about closing: 804.032-3
versions:
perl 5.20.0-2
perl-tk 804.032-2
test program - perl -MTk -e '$mw = new MainWindow'
Looks like an upstream issue then :/
I'm no perl XS expert...
I reported the following upstream bug:
https://rt.cpan.org/Public/Bug/Display.html?id=96280
I made a perl-tk-git package at
https://aur.archlinux.org/packages/perl-tk-git/
and it runs fine.
It appears to be this upstream commit that solved the problem:
https://github.com/eserte/perl-tk/commit/ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b
I have attached the diff as a patch that could be applied until
the upstream changes make it into a release.
Here's a package for x86_64 as well as the source package, if you want to take a look.
http://pkgbuild.com/~fyan/staging/perl-tk-804.032-3-x86_64.pkg.tar.xz
http://pkgbuild.com/~fyan/staging/perl-tk-804.032-3.src.tar.gz
Try https://aur.archlinux.org/packages/perl-tk-git/
this works fine for me.
Attached is a patch that patches in all of the commits up to the current git.
1. Confirm problem with extra/perl-tk-804.032-2 under perl 5.20.0-4.
2. Git version from AUR (perl-tk-git-804.032.r8.g2eaf2e3-2-i686) seems to work OK.
Both observations above on a system that was -Syyu'ed on 21-Jun-2014 around 22:00 UTC.
https://rt.cpan.org/Public/Bug/Display.html?id=96543
It appears that both the TkMainWindow create commit and the freetype.h header file commits are needed to do the job. That is likely why perl-tk-git works but not the TkMainWindow create commit applied on its own to 804.302. We should likely just apply the git.patch file above and wait for the next release.
Thanks for your work on it guys, much appreciated.
Thanks.