Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 52439
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: Ulrich.Waldispuhl [...] hp.com
Cc:
AdminCc:

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



Subject: Can't build version 0.78
Date: Fri, 4 Dec 2009 18:48:38 +0000
To: "bug-version [...] rt.cpan.org" <bug-version [...] rt.cpan.org>
From: "Waldispuehl, Ulrich" <Ulrich.Waldispuhl [...] hp.com>
Hi I'm trying to install version-0.78.tar.gz on AlphaServer hardware with Tru64 Unix. Show quoted text
>> # uname -a >> OSF1 fwtest1.che.hp.com V5.1 2650 alpha
Show quoted text
>> # perl -v >> This is perl, v5.8.3 built for alpha-dec_osf-ld
Please find below what happens. Attachment: 2 Makefiles Regards Ueli WaldispĆ¼hl ============================================== # perl Makefile.PL Testing if you have a C compiler Checking if your kit is complete... Looks good Writing Makefile for version::vxs Writing Makefile for version # make cp lib/version/Internals.pod blib/lib/version/Internals.pod cp lib/version.pm blib/lib/version.pm cp lib/version.pod blib/lib/version.pod cp lib/version/vxs.pm ../blib/lib/version/vxs.pm cc -c -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3/alpha-dec_osf-ld/CORE" vutil.c /usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap ../lib/version/typemap vxs.xs > vxs.xsc && mv vxs.xsc vxs.c cc -c -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3/alpha-dec_osf-ld/CORE" vxs.c cc: Error: vxs.xs, line 251: Invalid expression. (badexpr) SvPVx_nolen_const(ST(0)) ); ----------------------------^ cc: Error: vxs.xs, line 251: Invalid statement. (badstmt) SvPVx_nolen_const(ST(0)) ); ----------------------------^ *** Exit 1 Stop. *** Exit 1 Stop.
Download version078.zip
application/x-zip-compressed 13.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #52439] Can't build version 0.78
Date: Sat, 05 Dec 2009 08:10:39 -0500
To: bug-version [...] rt.cpan.org
From: John Peacock <john.peacock [...] havurah-software.org>
Waldispuehl, Ulrich via RT wrote: Show quoted text
> cc -c -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3/alpha-dec_osf-ld/CORE" vutil.c > /usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap ../lib/version/typemap vxs.xs > vxs.xsc && mv vxs.xsc vxs.c > cc -c -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3/alpha-dec_osf-ld/CORE" vxs.c > cc: Error: vxs.xs, line 251: Invalid expression. (badexpr) > SvPVx_nolen_const(ST(0)) ); > ----------------------------^ > cc: Error: vxs.xs, line 251: Invalid statement. (badstmt) > SvPVx_nolen_const(ST(0)) ); > ----------------------------^
Surprisingly enough, I don't have access to all possible hardware, OS, and compiler combinations. The line it is complaining about is, as far as I can tell, perfectly legal C code. Is there anyway you could give me a login on that box so I can poke around and see if I can make it happy? I can provide a copy of my public key, so we wouldn't have to mess around with passwords. Thanks for the bug report... John
Subject: RE: [rt.cpan.org #52439] Can't build version 0.78
Date: Sat, 5 Dec 2009 14:10:52 +0000
To: "bug-version [...] rt.cpan.org" <bug-version [...] rt.cpan.org>
From: "Waldispuehl, Ulrich" <Ulrich.Waldispuhl [...] hp.com>
Hi John Thanks for your quick reply. I can't give you access to this machine because it's in a corporate intranet. But I can give you access to a very similar one. Slightly different hardware, same software, same problem. The machine scheduled for being taken out of service, and I don't know when it becomes unavailable. So hurry up ;-) Just send me you public key, and I can give you root access. Regards Ueli Show quoted text
-----Original Message----- From: John Peacock via RT [mailto:bug-version@rt.cpan.org] Sent: Samstag, 5. Dezember 2009 14:11 To: Waldispuehl, Ulrich Subject: Re: [rt.cpan.org #52439] Can't build version 0.78 <URL: https://rt.cpan.org/Ticket/Display.html?id=52439 > Waldispuehl, Ulrich via RT wrote:
> cc -c -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3/alpha-dec_osf-ld/CORE" vutil.c > /usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap ../lib/version/typemap vxs.xs > vxs.xsc && mv vxs.xsc vxs.c > cc -c -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3/alpha-dec_osf-ld/CORE" vxs.c > cc: Error: vxs.xs, line 251: Invalid expression. (badexpr) > SvPVx_nolen_const(ST(0)) ); > ----------------------------^ > cc: Error: vxs.xs, line 251: Invalid statement. (badstmt) > SvPVx_nolen_const(ST(0)) ); > ----------------------------^
Surprisingly enough, I don't have access to all possible hardware, OS, and compiler combinations. The line it is complaining about is, as far as I can tell, perfectly legal C code. Is there anyway you could give me a login on that box so I can poke around and see if I can make it happy? I can provide a copy of my public key, so we wouldn't have to mess around with passwords. Thanks for the bug report... John
Subject: Re: [rt.cpan.org #52439] Can't build version 0.78
Date: Wed, 09 Dec 2009 21:37:06 -0500
To: bug-version [...] rt.cpan.org
From: John Peacock <john.peacock [...] havurah-software.org>
On 12/05/2009 09:11 AM, Waldispuehl, Ulrich via RT wrote: Show quoted text
> Queue: version > Ticket<URL: http://rt.cpan.org/Ticket/Display.html?id=52439>
The Tru64 UNIX C compiler doesn't permit braces inside macro definitions, so I had to do this: === vutil/ppport.h ================================================================== --- vutil/ppport.h (revision 519) +++ vutil/ppport.h (local) @@ -7083,7 +7083,11 @@ #endif #ifndef SvPVx_nolen_const -# define SvPVx_nolen_const(sv) ({SV *_sv = (sv); SvPV_nolen_const(_sv); }) +# if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) +# define SvPVx_nolen_const(sv) ({SV *_sv = (sv); SvPV_nolen_const(_sv); }) +# else +# define SvPVx_nolen_const(sv) (SvPV_nolen_const(sv)) +# endif #endif #endif /* _P_P_PORTABILITY_H_ */ That will be included in the next CPAN release. Thanks for the bug report! John
Fixed in 0.79