Subject: | Loading latest Time::Format_XS (1.03) kills milli/microseconds |
Hello,
I have compiled and installed Time::Format_XS 1.03 (released on same day as Time::Format 1.11.
As a consequence : milliseconds and microseconds are now desperately reported as "000" and "000000" respectively.
Unlinking all installed files solves the problem.
Cheers,
T.
unlink /opt/perl/lib/site_perl/5.10.1/darwin-thread-multi-2level/Time/Format_XS.pm
unlink /opt/perl/lib/site_perl/5.10.1/darwin-thread-multi-2level/auto/Time/Format_XS/Format_XS.bs
unlink /opt/perl/lib/site_perl/5.10.1/darwin-thread-multi-2level/auto/Time/Format_XS/Format_XS.bundle
unlink /opt/perl/man/man3/Time::Format_XS.3pm
unlink /opt/perl/lib/site_perl/5.10.1/darwin-thread-multi-2level/auto/Time/Format_XS/.packlist
The target system is a Leopard MacBookPro with a custom compiled PERL.
This is perl, v5.10.1 (*) built for darwin-thread-multi-2level
Darwin 211pc31.rou.st.com 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
Writing Makefile for Time::Format_XS
211pc31:Time-Format_XS-1.03 root# perl -pi -e 's,10\.3 cc,10.5 cc,' Makefile
211pc31:Time-Format_XS-1.03 root# make
cp Format_XS.pm blib/lib/Time/Format_XS.pm
/opt/perl/bin/perl /opt/perl/lib/5.10.1/ExtUtils/xsubpp -typemap /opt/perl/lib/5.10.1/ExtUtils/typemap Format_XS.xs > Format_XS.xsc && mv
Format_XS.xsc Format_XS.c
Please specify prototyping behavior for Format_XS.xs (see perlxs manual)
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include
-O3 -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" "-I/opt/perl/lib/5.10.1/darwin-thread-multi-2level/CORE" Format_XS.c
In file included from Format_XS.xs:5:
ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from Format_XS.xs:2:
/opt/perl/lib/5.10.1/darwin-thread-multi-2level/CORE/perl.h:330:1: warning: this is the location of the previous definition
Running Mkbootstrap for Time::Format_XS ()
chmod 644 Format_XS.bs
rm -f blib/arch/auto/Time/Format_XS/Format_XS.bundle
env MACOSX_DEPLOYMENT_TARGET=10.5 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector
Format_XS.o -o blib/arch/auto/Time/Format_XS/Format_XS.bundle \
\
chmod 755 blib/arch/auto/Time/Format_XS/Format_XS.bundle
cp Format_XS.bs blib/arch/auto/Time/Format_XS/Format_XS.bs
chmod 644 blib/arch/auto/Time/Format_XS/Format_XS.bs
Manifying blib/man3/Time::Format_XS.3pm
211pc31:Time-Format_XS-1.03 root# make test
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/DateTime.t .. ok
t/func.t ...... ok
t/iso8601.t ... ok
t/quot.t ...... ok
All tests successful.
Files=4, Tests=414, 0 wallclock secs ( 0.09 usr 0.03 sys + 0.32 cusr 0.04 csys = 0.48 CPU)
Result: PASS
211pc31:Time-Format_XS-1.03 root# make install