Getting a new MainWindow is commonly the first step in using perl-tk, and it yields a segmentation fault, when using perl 5.20. This one has already been solved upstream, but perhaps not released yet. The Arch people have pulled out from git a couple of patches which solve the problem; I'll be attaching those. Reproducible: Always Steps to Reproduce: Run perl -MTk -e '$mw = new MainWindow' Actual Results: A core dump Expected Results: Nothing
Created attachment 385698 [details, diff] freetype location patch
Created attachment 385700 [details, diff] MainWindow patch
Where did these patches come from? Which specific problems do they fix?
They come originally from upstream (git), and were picked up by Arch. Sorry, I meant to include the URL for that discussion, but forgot: https://bugs.archlinux.org/task/40692
Created attachment 385836 [details] perl-tk-804.32.0-r1.ebuild I hadn't uploaded the ebuild I'm running, since the modifications seemed so trivial (just added those two patches to the PATCHES list), but what the hell...
Comment on attachment 385836 [details] perl-tk-804.32.0-r1.ebuild --- perl-tk-804.32.0.ebuild +++ perl-tk-804.32.0.ebuild @@ -28,6 +28,8 @@ SRC_TEST="skip" PATCHES=( "${FILESDIR}"/${PN}-804.31.0-xorg.patch + "${FILESDIR}"/1ca4589ef5a87999ec564081900bc8fdaed83c74.patch + "${FILESDIR}"/ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b.patch ) src_prepare() { You really ought to rename those patches to specify their meaning or the issue they resolve.
Created attachment 386136 [details] new ebuild Ebuild modified as requested
+*perl-tk-804.32.0-r1 (21 Oct 2014) + + 21 Oct 2014; Justin Lecher <jlec@gentoo.org> +perl-tk-804.32.0-r1.ebuild, + +files/freetype_location.patch, +files/mainwindow_segfaults.patch: + Add fix for build against perl-5.20, thanks Norman Yarvin for the patch, + #523982 +