Skip Menu |

This queue is for tickets about the App-Staticperl CPAN distribution.

Report information
The Basics
Id: 89248
Status: resolved
Priority: 0/
Queue: App-Staticperl

People
Owner: Nobody in particular
Requestors: eljot_007 [...] poczta.onet.pl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: staticperl and problems with compile some kind of packages:
Date: Fri, 04 Oct 2013 11:17:57 +0200
To: bug-App-Staticperl [...] rt.cpan.org
From: "Eljot na Onet.pl" <eljot_007 [...] poczta.onet.pl>
Hi, I've got problems installing some perl modules under perlstatic: Environment: OS: CentOS 5.4 32bit App::Staticperl version 1.43 perl installed by staticperl: default (5.12.4) ------------------------------------ 1. Problem while install XS modules ------------------------------------ For example when I execute: $ staticperl cpan Params::Validate I got messages: Going to read '~/.staticperl/cpan/Metadata' Database was generated on Tue, 01 Oct 2013 23:08:10 GMT Running install for module 'Params::Validate' Running make for D/DR/DROLSKY/Params-Validate-1.08.tar.gz Checksum for ~/.staticperl/cpan/sources/authors/id/D/DR/DROLSKY/Params-Validate-1.08.tar.gz ok CPAN.pm: Going to build D/DR/DROLSKY/Params-Validate-1.08.tar.gz ld: warning: cannot find entry symbol _start; defaulting to 0000000008048074 Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Params-Validate' version '1.08' Building Params-Validate cc -Ic -I~/.staticperl/perl/lib/CORE -DXS_VERSION="1.08" -DVERSION="1.08" -c -g -DPERL_DISABLE_PMC -DPERL_ARENA_SIZE=16376 -DNO_PERL_MALLOC_ENV -D_GNU_SOURCE -DNDEBUG -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -o lib/Params/Validate/XS.o lib/Params/Validate/XS.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Params/Validate/XS/XS.bs') ld -o blib/arch/auto/Params/Validate/XS/XS.none lib/Params/Validate/XS.o ld: warning: cannot find entry symbol _start; defaulting to 0000000008048074 lib/Params/Validate/XS.o: In function `article': ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.xs:213: undefined reference to `Perl_sv_2pv_flags' lib/Params/Validate/XS.o: In function `boot_Params__Validate__XS': ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1802: undefined reference to `PL_markstack_ptr' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1802: undefined reference to `PL_stack_base' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1802: undefined reference to `PL_stack_sp' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_sv_2pv_flags' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `PL_stack_base' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_get_sv' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_form' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_newSVpvn' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_sv_derived_from' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_new_version' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_upg_version' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_vcmp' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_vstringify' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_sv_2mortal' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_newSVpvf' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_sv_2mortal' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_sv_free2' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_sv_free' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1814: undefined reference to `Perl_croak' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1817: undefined reference to `Perl_newXS_flags' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1818: undefined reference to `Perl_newXS' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1820: undefined reference to `PL_unitcheckav' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1821: undefined reference to `PL_scopestack_ix' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1821: undefined reference to `Perl_call_list' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1823: undefined reference to `PL_stack_base' ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.c:1823: undefined reference to `PL_sv_yes' [...] (about 700 rows cutted with similar info) ~/.staticperl/cpan/build/Params-Validate-1.08-6zjjy7/lib/Params/Validate/XS.xs:999: undefined reference to `Perl_sv_catpv' error building blib/arch/auto/Params/Validate/XS/XS.none from lib/Params/Validate/XS.o at ~/.staticperl/perl/lib/ExtUtils/CBuilder/Base.pm line 241. DROLSKY/Params-Validate-1.08.tar.gz ./Build -- NOT OK Running Build test Can't test without successful make Running Build install Make had returned bad status, install seems impossible All symbols are defined in libperl.a library so I think the linker is not given the library during make. Is it a bug in App:Starticperl or in package Makefile.PL or am I doing something wrong? ------------------------------------ 2. The second problem concerns those perl packages what doesn't have Makefile.PL but Build.PL instead and instsrc command is used. ------------------------------------ executing command: $ staticperl instsrc ./ (unpacked source is in $PWD) results with: *** *** installing modules from source *** . *** . Can't open perl script "MakeFile.PL": No such file or directory FATAL: .: error running MakeFile.PL Could yuo please help me? -- Greetings Jarek Lubczyński There are 10 kinds of people: Those who understand binary and those who don't
Subject: Re: [rt.cpan.org #89248] staticperl and problems with compile some kind of packages:
Date: Sat, 5 Oct 2013 21:49:13 +0200
To: "Eljot na Onet.pl via RT" <bug-App-Staticperl [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Hi! Please send your bug report it to the official contact/author address for the module in question (or send it to rt.cpan.org@schmorp.de, that's fine as well). What follows is the rationale for this request, you don't have to read it if you don't care. Why is this necessary? rt.cpan.org has many deficiencies which makes it tedious and hard to use, increasing the workload on the people who provide all the perl modules you probably appreciate (and that is really to be avoided - module authors should be able to invest all their time into improving their modules and not fighting with rt.cpan.org's bugs). Still, for some people, rt.cpan.org is useful to have, and some people even like it and really want to use it. That is fine, too. Unfortunately, the designers of rt.cpan.org didn't make their "service" optional - you can neither opt-in nor opt-out of rt.cpan.org as a module author. Just like a spammer, rt.cpan.org forces its "service" (whether wanted or unwanted) on everybody. Just like a spammer, they don't care for the people they actively hurt. Just like a spammer, they don't don't care to fix these issues and make their "service" ethically acceptable. You cannot even configure it to redirect tickets to somewhere else. Unfortunately, ignoring rt.cpan.org is not an option either: for people reporting possible bugs there is no indication that their report will be ignored, and for module authors it means they miss potentially vital bug reports such as yours (and of course it's a great impression if rt.cpan.org has lots of bug reports that are unanswered, making a module look unmaintained when in fact the opposite might be true). I am sorry that this wasted a bit of your time, but please understand that I am just as much a victim as you are - the problem is the unethical stance of the rt.cpan.org providers who force their "service" on everybody. Please redirect your bug report as stated in the beginning of this mail, and please consider petitioning the rt.cpan.org providers to stop their unethical behaviour and allow opt-in, opt-out, or some redirect option. One last issue: many people mail me that this can be "fixed" by including the bugtracker element in my module meta file. This is not true: 1. This field only affects search.cpan.org and maybe similar services. (Many people confuse rt.cpan.org with search.cpan.org for some reason). 2. It doesn't even work (there are still links to rt.cpan.org displayed). 3. Even if search.cpan.org does no longer display the link, it doesn't actually affect rt.cpan.org (and tests have shown that people go to rt.cpan.org regardless) Even *iff* rt.cpan.org would start listening on the bugtracker field, however, it's still wrong. I have a lot of modules, and each time a service like rt.cpan.org comes out, I would have to make dummy releases for all my modules. This not only creates a lot of extra work for me (I take releases very seriously) but also users, who would wonder why there is a new release. Thanks a lot, Marc Lehmann <rt.cpan.org@schmorp.de> Last updated: 2012-04-22
From: vitaliy.tokarev [...] gmail.com
On Fri Oct 04 05:22:59 2013, eljot_007@poczta.onet.pl wrote: Show quoted text
> Could yuo please help me?
Well, may be I'm posting to late, but I hope somebody may found this useful: https://github.com/gh0stwizard/staticperl-modules