LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2018, 11:39 AM   #1
codeguy
Member
 
Registered: Jan 2004
Distribution: Slackware
Posts: 153

Rep: Reputation: 33
Perl 5.28 released, too soon for current?


Perl 5.28 was just released, the change log is https://perldoc.pl/perldelta

I would love to see this in Slackware 15, but it was also just released. Other than downloading, compiling, and testing a few things, is there something I can test or do to help it into current?
 
Old 06-23-2018, 11:56 AM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,464

Rep: Reputation: Disabled
I would suggest checking out the sticky threads at the top of the forum.

https://www.linuxquestions.org/quest...-a-4175620463/
 
Old 06-28-2018, 04:23 PM   #3
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 740
Blog Entries: 26

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by codeguy View Post
Perl 5.28 was just released, the change log is https://perldoc.pl/perldelta

I would love to see this in Slackware 15, but it was also just released. Other than downloading, compiling, and testing a few things, is there something I can test or do to help it into current?
I'll be doing some tests myself.

If you want to do a little, you can pick some packages from http://cpan.simcop2387.info/test.html and see if they pass their unit tests on -current. Modules flagged red might fail tests for reasons unrelated to Slackware.

For instance: "# cpan Data::Babel" <-- will download and install Data::Babel from CPAN and all of the modules it depends on and run its unit tests.

If you want to do a lot, you can join the CPAN-testers effort and add your own -current system to the pool of test platforms. This will use your system to test all new CPAN modules as they are submitted, and provide feedback to the module authors.

https://metacpan.org/pod/CPAN::Testers
 
1 members found this post helpful.
Old 06-28-2018, 05:22 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,305

Rep: Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463Reputation: 5463
It's already in current by the way.
 
Old 07-25-2018, 04:40 PM   #5
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 740
Blog Entries: 26

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Circling back to this. I have a CPAN test harness running on a dedicated slackware64-current testing system, testing/installing 37372 perl modules from CPAN and categorizing/logging failure modes (to distinguish things like unit test failure from missing external dependencies). At the rate it's going it should be through them all in a few weeks.

In the meantime I'll whack together some additional categorization logic to detect which failures might be specific to Slackware or to perl-5.28, and look more closely at those.

Ultimately I'd want to write Slackbuilds to apply patches for relevant modules, but will likely hold off on those until at least RC1, in case -current upgrades perl again (warranting re-testing).
 
1 members found this post helpful.
Old 07-26-2018, 07:19 PM   #6
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 740
Blog Entries: 26

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
So far the only severe problems have been with Math::Pari and Mojolicious. Both have been worked around by installing existing slackbuilds from sbo -- installing the "pari" package means Math::Pari doesn't need to, which avoids its broken pari tarball downloading code, and installing the "perl-Mojolicious" package seems to satisfy the dependencies of other Mojolicious-using modules.

The Mojolicious bug is pretty dramatic, though. When installed via cpanm(1), the commands.t test hits an infinite recursion somewhere and consumes all memory. When I tried running it from the command line myself, it ran without errors, consuming very little memory. May revisit that, since it might be a platform-specific bug, as CPAN-testers didn't run into it on other linux distributions: http://matrix.cpantesters.org/?dist=Mojolicious+7.88
 
3 members found this post helpful.
Old 07-27-2018, 07:29 AM   #7
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 740
Blog Entries: 26

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
My test system just ran afoul of this:

https://rt.cpan.org/Public/Bug/Display.html?id=43349

One of the modules the test framework installed (I think CPAN::Index::Author) pulled in ADAMK's bogus CPAN::Index, which rendered cpan(1)/cpanm(1) inoperable.

I'm re-installing core CPAN::Index, yanking CPAN::Index::* from the list of modules to test, trimming the framework's list of "failed" modules and restarting the framework so it re-tests the ones that "failed" from this.
 
Old 10-07-2018, 11:36 PM   #8
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 740
Blog Entries: 26

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
I'm going to call this little experiment done. I've found a vast diversity of flaws within CPAN modules' makefiles, but little if any of it is specific to perl-v5.28.0.

I need to improve the test harness so it jfw and doesn't need constant monitoring and manual intervention, and might re-run the tests then, but more likely to put it off at least until Slackware updates perl again.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting the current shell in a perl script jayadhanesh Linux - Newbie 4 06-29-2014 01:04 AM
[SOLVED] Current: Perl 5.14.0, DateTime lopid Slackware 14 06-02-2011 04:50 PM
Perl 5.12.2 In -current lopid Slackware 3 01-03-2011 03:57 AM
KDE 4.4.5 is released on -current Ahmed Slackware 16 07-20-2010 12:59 AM
Emacs 23.2 released ... and in -current! Lufbery Slackware 2 05-10-2010 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration