Fri Dec 19 18:52:40 2014: Request 101000 was acted upon. Transaction: Correspondence added by pradeep.kumar.jaya...@intel.com Queue: PAR-Packer Subject: RE: [rt.cpan.org #101000] Perl pp error: Nested packages Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: angan....@intel.com Status: rejected Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=101000 >
Hi Roderich, Let me try to give a clear picture of my scenario, I have a perl script which I am compiling using pp. In the executable returned as output by pp we see few Intel specific paths being mentioned (eg: /<prefix>/intel/<suffix>). To keep it generic and to ensure that Intel specific paths are not used we replace all the occurrence of "intel" with "dummy" in the PP output executable file. But we see that when we run the executable and another Perl script is called from inside this executable (system call in the original Perl script) we get an error in the lines of, Can't locate warnings.pm in @INC (@INC contains: /<prefix>/dummy/<suffix>) at <perl_script_called_using_systemcall> at line <line_no>. BEGIN failed--compilation aborted at <perl_script_called_using_systemcall> at line <line_no>. The <line_no> and warnings.pm points to "use warnings;" line in the Perl script called from the executable using system calls. Is there way to prevent the PP output executable from controlling @INC for the system calls of Perl scripts inside the executable? Regards, Pradeep -----Original Message----- From: Das, Angan Sent: Friday, December 19, 2014 10:56 AM To: bug-par-pac...@rt.cpan.org Cc: Jayapal, Pradeep Kumar Subject: RE: [rt.cpan.org #101000] Perl pp error: Nested packages Roderich, Thanks. I am not sure why Pradeep got stripped off from the mail thread. Anyways, looks like a 'bug' to us (from the what we could decipher from the user guide). Now, whether it is a real bug to be fixed or is there is some work around -- I will let you decide. Pradeep, could you kindly give some snippets of the error messages you got (hiding relevant Intel IP information) that might help Roderich to give some pointers. Also, please send the same email to "par@perl.org" so that we might get some help from there as well. - Angan -----Original Message----- From: Roderich Schupp via RT [mailto:bug-par-pac...@rt.cpan.org] Sent: Friday, December 19, 2014 4:09 AM To: Das, Angan Subject: [rt.cpan.org #101000] Perl pp error: Nested packages <URL: https://rt.cpan.org/Ticket/Display.html?id=101000 > On 2014-12-18 16:15:48, angan....@intel.com wrote: > Pradeep (from our team) has a recent issue with 'pp' -- nested Perl > packages (used within 'included/called' Perl scripts from parent Perl > script) complain being not found. Environment does not seem to be an > issue over here, and including all packages within the parent script > does not help. > > Could you kindly help? Sorry, rt.cpan.org is a *bug* tracker: clearly state what you were trying to do, what you expected and what you got instead. Your report does not contain anything base a diagnosis on. Stuff like "need some help" do not belong on the bug tracker, please take them to the PAR mailing list, par@perl.org, instead. Cheers, Roderich