Discussion:
[rt.cpan.org #96173] par-packer unpacks executeable to /tmp/par-HASHES instead of /tmp/par-USERNAME
(too old to reply)
Reisinger Emanuel via RT
2014-06-03 15:02:01 UTC
Permalink
Tue Jun 03 11:02:01 2014: Request 96173 was acted upon.
Transaction: Ticket created by ***@imtech-logistics.com
Queue: PAR-Packer
Subject: par-packer unpacks executeable to /tmp/par-HASHES instead of /tmp/par-USERNAME
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@imtech-logistics.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96173 >


Hello,

Since the upgrade to PAR-Packer-1.018 and Perl 5.20.0 on AIX 5.3 pp unpacks the perl executeable to /tmp/par-HASHES instead of /tmp/par-USERNAME.
The files in /tmp/par-HASHES/cache-myname/ are HASHES.p[lm], too.
Former I used Perl 5.12 and PAR-Packer-1.006

My pack command:
pp -T myname -I myIncludeDir -o outfile mainfile.pl

Unpacked files:
# ls -ld /tmp/par*
drwx------ 3 informix informix 256 Jun 03 16:42 /tmp/par-696e666f726d6978/
# ls -ld /tmp/par*/*
drwx------ 3 informix informix 4096 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/
# ls -l /tmp/par*/*/*
-rw-rw-rw- 1 informix informix 2108 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/f37cf457.pm
-rw-rw-rw- 1 informix informix 4522 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/f3f8d352.pm
-rw-rw-rw- 1 informix informix 1025 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/f6652c58.pm
-rw-rw-rw- 1 informix informix 405 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/f8270ed2.pm
-rw-rw-rw- 1 informix informix 3969 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/f8272fc4.pm
-rw-rw-rw- 1 informix informix 28613 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/fa0b56c4.pm
drwxrwxrwx 4 informix informix 256 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/inc/
-rwxr-xr-x 1 informix informix 2639721 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/libperl.a*
-rwxr-xr-x 1 informix informix 171303 Jun 03 16:42 /tmp/par-696e666f726d6978/cache-myname/myname*

If I omit the -T flag myname is replaced with hashes, like pp documentation explains. But USERNAME and perl files are still extracted/packed as hash names.

Mit freundlichen GrÌßen / Best regards

Dipl.-Ing. (FH) Emanuel Reisinger
Senior Software Engineer

[cid:***@01CF7F4A.BB3A6EB0]

Imtech ICT Austria GmbH
Logistics Software
Mehr Beweglichkeit fÃŒr Ihre IT.
Mehr Kraft fÃŒr Ihr Business.

Goethestraße 84
4020 Linz, Donau | Austria


T: +43 (5) 1715 - 1844
F: +43 (5) 1715 - 99 1844
E: ***@imtech-logistics.com

www.imtech-ict.at<http://www.imtech-ict.at>

Sitz: Linz | LG Linz | FN: 127950m | UID-Nr.: ATU37517004
Roderich Schupp via RT
2014-06-03 15:45:24 UTC
Permalink
Tue Jun 03 11:45:23 2014: Request 96173 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: par-packer unpacks executeable to /tmp/par-HASHES instead of /tmp/par-USERNAME
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@imtech-logistics.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96173 >
Post by Reisinger Emanuel via RT
Since the upgrade to PAR-Packer-1.018 and Perl 5.20.0 on AIX 5.3 pp
unpacks the perl executeable to /tmp/par-HASHES instead of /tmp/par-
USERNAME.
No, it's not a hash, it *is* USER, but "spelled" in hex, cf the changelog for 1.013.
I've updated the documentation accordingly.
In any case, this is not something you should rely on,
Post by Reisinger Emanuel via RT
The files in /tmp/par-HASHES/cache-myname/ are HASHES.p[lm], too.
This has always been the case (if not, then it was a bug).
Note that using the option -T of pp is not recommended.

So, no bug here.

Cheers, Roderich
Reisinger Emanuel via RT
2014-06-04 06:40:32 UTC
Permalink
Wed Jun 04 02:40:32 2014: Request 96173 was acted upon.
Transaction: Correspondence added by ***@imtech-logistics.com
Queue: PAR-Packer
Subject: AW: [rt.cpan.org #96173] par-packer unpacks executeable to /tmp/par-HASHES instead of /tmp/par-USERNAME
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@imtech-logistics.com
Status: rejected
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96173 >


Okay.

BR, Emanuel

-----Ursprüngliche Nachricht-----
Von: Roderich Schupp via RT [mailto:bug-PAR-***@rt.cpan.org]
Gesendet: Dienstag, 3. Juni 2014 17:45
An: Reisinger Emanuel
Betreff: [rt.cpan.org #96173] par-packer unpacks executeable to /tmp/par-HASHES instead of /tmp/par-USERNAME

<URL: https://rt.cpan.org/Ticket/Display.html?id=96173 >
Post by Reisinger Emanuel via RT
Since the upgrade to PAR-Packer-1.018 and Perl 5.20.0 on AIX 5.3 pp
unpacks the perl executeable to /tmp/par-HASHES instead of /tmp/par-
USERNAME.
No, it's not a hash, it *is* USER, but "spelled" in hex, cf the changelog for 1.013.
I've updated the documentation accordingly.
In any case, this is not something you should rely on,
Post by Reisinger Emanuel via RT
The files in /tmp/par-HASHES/cache-myname/ are HASHES.p[lm], too.
This has always been the case (if not, then it was a bug).
Note that using the option -T of pp is not recommended.

So, no bug here.

Cheers, Roderich

Loading...