Sun Dec 04 03:34:32 2011: Request 72930 was acted upon.
Transaction: Ticket created by garyyang6
       Queue: PAR
     Subject: Cannot install PAR-Packer-1.012.tar.gz with 
ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz. 
ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized.
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: garyya...@yahoo.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72930 >


When I install PAR-Packer-1.012.tar.gz, I got “Prototype
mismatch: sub main::prompt: none vs ($;$) at
/opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219 objdump:
/opt/ActivePerl-5.14/lib/CORE/libperl.so: File format not recognized”. 

Below is the detail.

I installed ActivePerl-5.14.2.1402-x86_64-linux-glibc-2.3.5-295342.tar.gz
with the command, "sh install.sh". I took all the default options (this
is binary distribution). Then, I install PAR-Packer-1.012.tar.gz.

/tmp/PAR-Packer-1.012> perl Makefile.PL 
Checking if your
kit is complete...
Looks good
Prototype mismatch:
sub main::prompt: none vs ($;$) at
/opt/ActivePerl-5.14/site/lib/ExtUtils/MakeMaker.pm line 219 objdump: 
/opt/ActivePerl-5.14/lib/CORE/libperl.so:
File format not recognized
Writing Makefile
for par
Writing MYMETA.yml
and MYMETA.json
Writing Makefile
for PAR::Packer
Writing MYMETA.yml
and MYMETA.json 

The ExtUtils::MakeMaker version is 6.62
cpan> install
ExtUtils::MakeMaker
ExtUtils::MakeMaker
is up to date (6.62).

make
cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm
cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.pm
cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm
cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm
cp lib/pp.pm blib/lib/pp.pm
cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm
make[1]: Entering directory `/tmp/PAR-Packer-1.012/myldr'
Makefile:726: warning: overriding commands for target `.c.o'
Makefile:332: warning: ignoring old commands for target `.c.o'
/opt/ActivePerl-5.14/bin/perl-static ./file2c.pl -s ../script/par.pl 
my_par_pl.c load_my_par_pl
/opt/ActivePerl-5.14/bin/perl-static sha1.c.PL
gcc -c -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE 
-DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/opt/ActivePerl-5.14/lib/CORE  
-DPARL_EXE=\"parl\" -O2 main.c
In file included from mktmpdir.h:85,
                 from mktmpdir.c:1,
                 from main.c:52:
sha1.c: In function ‘sha_transform’:
sha1.c:146: warning: right shift count >= width of type
gcc main.o  -s -Wl,-E -Wl,-rpath,/opt/ActivePerl-5.14/lib/CORE   
-L/opt/ActivePerl-5.14/lib/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread 
-lc -o ./par
/opt/ActivePerl-5.14/lib/CORE/libperl.so: file not recognized: File format not 
recognized
collect2: ld returned 1 exit status
make[1]: *** [par] Error 1
make[1]: Leaving directory `/tmp/PAR-Packer-1.012/myldr'
make: *** [subdirs] Error 2


perl -V

Summary of my
perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.11-1.1369_fc4,
archname=x86_64-linux-thread-multi
    uname='linux perl-linux64-vm
2.6.11-1.1369_fc4 #1 thu jun 2 22:56:33 edt 2005 x86_64 x86_64 x86_64 gnulinux
'
    config_args='-ders -Dcc=gcc -Dusethreads
-Duseithreads -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Duse64bitall
-Dlibpth=/lib64 /usr/lib64 /usr/local/lib64 -Accflags=-DUSE_SITECUSTOMIZE
-Duselargefiles -Accflags=-DPERL_RELOCATABLE_INCPUSH
-Accflags=-fno-merge-constants -Dprefix=/opt/ActivePerl-5.14
-Dprivlib=/opt/ActivePerl-5.14/lib -Darchlib=/opt/ActivePerl-5.14/lib
-Dsiteprefix=/opt/ActivePerl-5.14/site -Dsitelib=/opt/ActivePerl-5.14/site/lib
-Dsitearch=/opt/ActivePerl-5.14/site/lib -Dsed=/bin/sed -Duseshrplib
-Dcf_by=ActiveState -Dcf_email=supp...@activestate.com'
    hint=recommended, useposix=true,
d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef,
uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define,
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT
-D_GNU_SOURCE -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH
-fno-merge-constants -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE
-DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants 
-fno-strict-aliasing
-pipe'
    ccversion='', gccversion='4.0.0 20050519
(Red Hat 4.0.0-8)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8,
doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =''
    libpth=/lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt
-lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil
-lpthread -lc
    libc=/lib/libc-2.3.5.so, so=so,
useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so,
d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/ActivePerl-5.14/lib/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2'
 
 
Characteristics
of this binary (from libperl): 
  Compile-time options: MULTIPLICITY
PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API USE_SITECUSTOMIZE
  Locally applied patches:
        ActivePerl Build 1402 [295342]
  Built under linux
  Compiled at Oct  9 2011 15:47:00
  @INC:
    /opt/ActivePerl-5.14/site/lib
    /opt/ActivePerl-5.14/lib
 
uname -a    
Linux 2.6.18-274.7.1.el5.centos.plusxen
#1 SMP Thu Oct 20 20:15:26 EDT 2011 x86_64 GNU/Linux
 
You can reproduce the error with the steps I describe. Please help investigate.

Reply via email to