Skip Menu |

This queue is for tickets about the Archive-Unzip-Burst CPAN distribution.

Report information
The Basics
Id: 114206
Status: resolved
Priority: 0/
Queue: Archive-Unzip-Burst

People
Owner: Nobody in particular
Requestors: BNPatton [...] west.com
Cc:
AdminCc:

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



Subject: Archive::Unzip::Burst
Date: Fri, 6 May 2016 13:14:00 +0000
To: "bug-Archive-Unzip-Burst [...] rt.cpan.org" <bug-Archive-Unzip-Burst [...] rt.cpan.org>
From: "Patton, Billy N" <BNPatton [...] west.com>
Module : Archive-Unzip-Burst-0.05 gcc version : Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) OS : CentOS release 6.7 (Final) name -a : Linux ... 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Modeled pulled from cpan after cpan install failed. Results of Make : make cp lib/Archive/Unzip/Burst.pm blib/lib/Archive/Unzip/Burst.pm Running Mkbootstrap for lib/Archive/Unzip/Burst () chmod 644 "lib/Archive/Unzip/Burst.bs" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/Archive/Unzip/Burst.bs blib/arch/auto/Archive/Unzip/Burst/Burst.bs 644 "/usr/local/bin/perl" "/usr/local/lib/perl5/5.18.4/ExtUtils/xsubpp" -typemap '/usr/local/lib/perl5/5.18.4/ExtUtils/typemap' lib/Archive/Unzip/Burst.xs > lib/Archive/Unzip/Burst.xsc Please specify prototyping behavior for Burst.xs (see perlxs manual) mv lib/Archive/Unzip/Burst.xsc lib/Archive/Unzip/Burst.c gcc -c -I. -Iunzip-6.0 -Iunzip-6.0/unix \ -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 \ -DVERSION=\"0.05\" \ -DXS_VERSION=\"0.05\" -fPIC "-I/usr/local/lib/perl5/5.18.4/x86_64-linux-thread-multi/CORE" -DDLL lib/Archive/Unzip/Burst.c -o lib/Archive/Unzip/Burst.o In file included from /usr/local/lib/perl5/5.18.4/x86_64-linux-thread-multi/CORE/reentr.h:109, from /usr/local/lib/perl5/5.18.4/x86_64-linux-thread-multi/CORE/op.h:688, from /usr/local/lib/perl5/5.18.4/x86_64-linux-thread-multi/CORE/perl.h:3479, from lib/Archive/Unzip/Burst.xs:2: unzip-6.0/crypt.h:132: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ unzip-6.0/crypt.h:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ unzip-6.0/crypt.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ make: *** [lib/Archive/Unzip/Burst.o] Error 1
It seems what's happening here is that unzip's crypt.h is being included by your Perl headers. The unzip library's crypt.h (among others) is only designed to be included by unzip C files, which define an OF() macro to deal with ANSI vs K&R declarations. This seems like a rare situation. Could you please try inserting this at the start of your Burst.xs and seeing if it helps? #ifdef PROTO # define OF(a) a #else # define OF(a) () #endif
An update: I realised that the -I in the Makefile.PL might not be adding anything, and tried removing them. It still built on my Linux, so the -Iunzip etc are now gone, and I have released 0.06. Please disregards my previous request, and let me know whether 0.06 works for you?
Subject: RE: [rt.cpan.org #114206] Archive::Unzip::Burst
Date: Sat, 7 May 2016 02:05:52 +0000
To: "bug-Archive-Unzip-Burst [...] rt.cpan.org" <bug-Archive-Unzip-Burst [...] rt.cpan.org>
From: "Patton, Billy N" <BNPatton [...] west.com>
Roger that, will let you know. Will be Monday before I try again. Sent from my Verizon Wireless 4G LTE smartphone Show quoted text
-------- Original message -------- From: Ed J via RT Date:05/06/2016 8:32 PM (GMT-06:00) To: "Patton, Billy N" Subject: [rt.cpan.org #114206] Archive::Unzip::Burst <URL: https://rt.cpan.org/Ticket/Display.html?id=114206 > An update: I realised that the -I in the Makefile.PL might not be adding anything, and tried removing them. It still built on my Linux, so the -Iunzip etc are now gone, and I have released 0.06. Please disregards my previous request, and let me know whether 0.06 works for you?
Subject: Re: [rt.cpan.org #114206] Archive::Unzip::Burst
Date: Mon, 9 May 2016 11:19:19 +0000
To: Ed J via RT <bug-Archive-Unzip-Burst [...] rt.cpan.org>
From: "Patton, Billy N" <BNPatton [...] west.com>
Worked like a charm, thanks. On 5/6/16, 8:32 PM, "Ed J via RT" <bug-Archive-Unzip-Burst@rt.cpan.org> wrote: Show quoted text
><URL: https://rt.cpan.org/Ticket/Display.html?id=114206 > > >An update: I realised that the -I in the Makefile.PL might not be adding anything, and tried removing them. It still built on my Linux, so the -Iunzip etc are now gone, and I have released 0.06. > >Please disregards my previous request, and let me know whether 0.06 works for you?
You're welcome, thanks for the report!