Skip Menu |

This queue is for tickets about the HTML-Template-Pro CPAN distribution.

Report information
The Basics
Id: 38013
Status: resolved
Priority: 0/
Queue: HTML-Template-Pro

People
Owner: vlasenko [...] imath.kiev.ua
Requestors: mjr [...] phonecoop.coop
Cc:
AdminCc:

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



Subject: FTBFS HTML-Template-Pro-0.70 on MacOS X 10.5
Date: Tue, 29 Jul 2008 12:35:17 +0100
To: bug-HTML-Template-Pro [...] rt.cpan.org
From: MJ Ray <mjr [...] phonecoop.coop>
HTML-Template-Pro-0.70 fails to build from source from CPAN shell. This is perl, v5.8.8 built for darwin-thread-multi-2level (with 1 registered patch, see perl -V for more detail) Darwin mainserver 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386 Commands: perl -MCPAN -e shell install HTML::Template::Pro Result: There are a few warnings during build, including:- In file included from Pro.xs:16: ppport.h:231:1: warning: "PERL_UNUSED_DECL" redefined In file included from Pro.xs:7: /System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/perl.h:163:1: warning: this is the location of the previous definition In file included from Pro.xs:16: ppport.h:231:1: warning: "PERL_UNUSED_DECL" redefined In file included from Pro.xs:7: /System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/perl.h:163:1: warning: this is the location of the previous definition rm -f blib/arch/auto/HTML/Template/Pro/Pro.bundle cc -mmacosx-version-min=10.5 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib Pro.o expr.o pbuffer.o procore.o proscope.o pstring.o tmpllog.o -o blib/arch/auto/HTML/Template/Pro/Pro.bundle \ -lm \ make test fails with lines including:- t/HTML-Template-Expr....ok 1/19 *** test_expr8.out Thu Apr 3 18:51:05 2008 --- test_expr8.raw Tue Jul 29 12:28:34 2008 *************** *** 6,12 **** <b>70</b> <b>70</b> ! <b>200001000000</b> <b>70</b> <b>70</b> <b>1</b> --- 6,12 ---- <b>70</b> <b>70</b> ! <b>-1862462912</b> <b>70</b> <b>70</b> <b>1</b> # Failed test 16 in t/HTML-Template-Expr.t at line 87 fail #8 # t/HTML-Template-Expr.t line 87 is: ok (defined $output and $output eq &catfile("$file.out")); Please let me know if you would like more information or us to carry out other tests. Thank you, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
it is a minor bug, namely, build misdetected int64 type on MacOS X and used int32 instead. It affects int64 aryphmetics only. accepted for future fix.
Show quoted text
> FTBFS HTML-Template-Pro-0.70 on MacOS X 10.5
could you be so kind to provide me with perl -e 'use Config; print $Config{i64type},"\n";' оn your system? also, please provide me with perl -e 'use Config; print Config::myconfig(),"\n";'
Subject: Re: [rt.cpan.org #38013] FTBFS HTML-Template-Pro-0.70 on MacOS X 10.5
Date: Tue, 26 Aug 2008 23:34:19 +0100
To: bug-HTML-Template-Pro [...] rt.cpan.org
From: MJ Ray <mjr [...] phonecoop.coop>
"Igor Yu. Vlasenko via RT" <bug-HTML-Template-Pro@rt.cpan.org> wrote: Show quoted text
> could you be so kind to provide me with > perl -e 'use Config; print $Config{i64type},"\n";' > оn your system? > > also, please provide me with > perl -e 'use Config; print Config::myconfig(),"\n";'
$ perl -e 'use Config; print $Config{i64type},"\n";' long $ perl -e 'use Config; print Config::myconfig(),"\n";' Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level uname='darwin omen.apple.com 9.0 darwin kernel version 9.0.0b5: mon sep 10 17:17:11 pdt 2007; root:xnu-1166.6~1release_ppc power macintosh ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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='cc', ccflags ='-arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc -mmacosx-version-min=10.5', ldflags ='-arch i386 -arch ppc -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib' Hope that helps, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
From: ohiocore [...] gmail.com
For comparison, here's the same output from an intel based MacBook running MacOS X 10.4, where this module compiles, tests and runs fine by default: $ perl -e 'use Config; print Config::myconfig(),"\n";' Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level uname='darwin b05.apple.com 8.0 darwin kernel version 8.8.4: sun oct 29 15:30:27 pst 2006; root:xnu-792.16.4.obj~1release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5363) (+4864187)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' $ perl -e 'use Config; print $Config{i64type},"\n";' long long
Втр. Авг. 26 18:34:48 2008, mjr@phonecoop.coop: Show quoted text
> $ perl -e 'use Config; print $Config{i64type},"\n";' > long
Show quoted text
> $ perl -e 'use Config; print Config::myconfig(),"\n";'
longsize=4, d_longlong=define, longlongsize=8 Show quoted text
> Hope that helps,
Thanks to all. now it is simple. Ray has misconfigured perl, its $Config{i64type} should be long long (8 bytes) but it is long (4 bytes there). at contrast, ohiocore@ has properly configured perl and its $Config{i64type} is correct. Now I will not trust $Config{i64type}, and will try to guess it independently. The fix should be released in 0.71. But I also suggest to report this as a bug against that 'perl, v5.8.8 built for darwin-thread-multi-2level' build.
Subject: Re: [rt.cpan.org #38013] FTBFS HTML-Template-Pro-0.70 on MacOS X 10.5
Date: Wed, 27 Aug 2008 11:36:46 +0100
To: bug-HTML-Template-Pro [...] rt.cpan.org
From: MJ Ray <mjr [...] phonecoop.coop>
"Igor Yu. Vlasenko via RT" <bug-HTML-Template-Pro@rt.cpan.org> wrote: Show quoted text
> Ray has misconfigured perl, its $Config{i64type} should be long long > (8 bytes) but it is long (4 bytes there).
[...] Show quoted text
> But I also suggest to report this as a bug against that > 'perl, v5.8.8 built for darwin-thread-multi-2level' build.
I believe it is the usual Apple Perl, so this may apply to many MacOS X 10.5 systems, but I will contact its sysadmin to check. Thanks for your assistance, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237