maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Announcement] Perl-5.16 for Maemo5 (https://talk.maemo.org/showthread.php?t=87044)

AapoRantalainen 2012-09-26 07:28

[Announcement] Perl-5.16 for Maemo5
 
1 Attachment(s)
Quote:

Perl 5 is a highly capable, feature-rich programming language with over 24 years of development.
-- http://www.perl.org/

Perl History (http://www.cpan.org/src/README.html)

Code:

Version  State        Released
5.17.3    Devel        2012-08-20
5.16.1    Maint        2012-08-08
5.14.2    Maint        2011-09-26
5.12.4    End of life        2011-06-20
5.10.1    End of life        2009-08-23
5.8.9    End of life        2008-12-14
5.6.2    End of life        2003-11-15

Version on Fremantle (PR.1.3) = 5.8.3-3osso13+0m5

Version now in extras-devel 5.16.1. Package name is perl-5.16.
*Vanilla from upstream (no patches from debian/ubuntu)
*Can coexist with old perl.
*Optifed (16MB download, 66MB installed).
*Contains full perl (no separate packages)
*Compiled with gcc-4.6 (because gcc-4.2 seg faults (maybe out of memory)), so only for ARMEL.

----

I run full perl testsuite straight on device (as I skipped it on autobuilder) and only one test fails (out of 1881 tests)
Code:

MANIFEST: t/op/magic.t                    See if magic variables work

Result:
op/magic.t .. 108/156 # Failed test 152 - altering $0 is effective (testing with `ps`) at op/magic.t line 638


magic.t:638:            ok(!$ps 
              || ($^O eq 'freebsd' && $ps =~ m/^(?:perl: )?x(?: \(perl\))?$/),
                      'altering $0 is effective (testing with `ps`)');

Reason might be that my 'ps' is busybox. Or do you think this is fatal?

marmistrz 2012-12-15 15:51

Re: [Announcement] Perl-5.16 for Maemo5
 
I was trying to use it to build newer debhelper, having set in debian/rules:

Code:

PATH:=/opt/perl/bin:/usr/bin:$(PATH)
export PATH
PERL5LIB:=/opt/perl/lib/5.16.1/:$(PERL5LIB)
SBOX_REDIRECT_IGNORE:=$(shell echo /usr/bin/{python,perl,dh_*} | sed "s/ /:/g")
export SBOX_REDIRECT_IGNORE
export DEB_BUILD_OPTIONS:=nocheck

(copied some of the options from the debhelper7 package)

But dpkg-buildpackage fails on:

Code:

dpkg-buildpackage: source package is debhelper8
dpkg-buildpackage: source version is 8.0.0+maemo0
dpkg-buildpackage: source changed by Marcin Mielniczuk <marmistrz@linux.pl>
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 8.0.0+maemo0
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
./run dh clean
Undefined subroutine &Getopt::Long::GetOptionsFromArray called at /home/marcin/dh/debhelper/Debian/Debhelper/Dh_Getopt.pm line 156.
make: *** [clean] Error 255

How to fix it?

EDIT: I'm using this source: http://maemo.gitorious.org/maemo-pkg/debhelper

Halftux 2020-02-10 18:05

Re: [Announcement] Perl-5.16 for Maemo5
 
Quote:

Originally Posted by marmistrz (Post 1304825)

How to fix it?

Possible fix: change your perl5 lib environment variable to:

PERL5LIB=/opt/perl/lib/5.16.1/;$PERL5LIB

I got some success with this, so I place it here as a note, maybe someone else running into similar problems.

Maemish 2020-02-11 05:26

Re: [Announcement] Perl-5.16 for Maemo5
 
8 year gap. I so like this how things here live even it would seem they are dead.

ste-phan 2020-02-11 11:16

Re: [Announcement] Perl-5.16 for Maemo5
 
There is no time gap or dead thread in Vintage Devices.
Time moves not according to commercial interest, only user interest hence the ongoing existence of this Maemo website.
Stay healthy and in time all will be fixed, issues resolved. :-)

teroyk 2020-02-11 16:34

Re: [Announcement] Perl-5.16 for Maemo5
 
Quote:

Originally Posted by ste-phan (Post 1565245)
There is no time gap or dead thread in Vintage Devices.

Good vintage devices are timeless.

Halftux 2020-02-13 14:48

Re: [Announcement] Perl-5.16 for Maemo5
 
We also have so many knowledge here, that it took me 5 years to come to this point where I wanted to make use of it, probably unsuccessful. After some other years now I got success.
And I bet that no one will ask for a solution after 8 years. And I would also say that this information will be used by only a few people.
And I guess that in the future I will facing the same problem and forgot how I solved it and coming back here again. So sometimes I am talking to myself :)


All times are GMT. The time now is 12:57.

vBulletin® Version 3.8.8