Skip Menu |

This queue is for tickets about the Clone-Fast CPAN distribution.

Report information
The Basics
Id: 79904
Status: open
Priority: 0/
Queue: Clone-Fast

People
Owner: Nobody in particular
Requestors: djh [...] thermeon.com
Cc:
AdminCc:

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



Subject: Bad manifest prevents make
Checking if your kit is complete... Warning: the following files are missing in your kit: README Please inform the author. Checking if your kit is complete... Warning: the following files are missing in your kit: lib/Clone/Fast.pm README t/00general.t t/01array.t t/02hash.t t/03scalar.t t/04tie.t t/05dtype.t t/06refcnt.t t/07magic.t t/20hooks.t t/dump.pl t/rt-37174.t t/tied.pl Please inform the author. To fix, I ran: sed s/README/README.md/ MANIFEST -i - to correct the makefile rm -rf Clone-Fast-0.96.1/ - to correct the apparently-redundant directory
Same here. Even with the fixes mentioned above, the tests fail (see attached log). Best, Florent
Subject: log.txt
$ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Clone::Fast Writing MYMETA.yml and MYMETA.json $ make cp lib/Clone/Fast.pm blib/lib/Clone/Fast.pm /usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap Fast.xs > Fast.xsc && mv Fast.xsc Fast.c cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.96\" -DXS_VERSION=\"0.96\" -fPIC "-I/usr/lib/perl/5.14/CORE" Fast.c Fast.xs: In function ‘build_circular_return’: Fast.xs:218:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘struct SV *’ [-Wformat] Running Mkbootstrap for Clone::Fast () chmod 644 Fast.bs rm -f blib/arch/auto/Clone/Fast/Fast.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector Fast.o -o blib/arch/auto/Clone/Fast/Fast.so \ \ chmod 755 blib/arch/auto/Clone/Fast/Fast.so cp Fast.bs blib/arch/auto/Clone/Fast/Fast.bs chmod 644 blib/arch/auto/Clone/Fast/Fast.bs Manifying blib/man3/Clone::Fast.3pm uqfangly@brown:/srv/whitlam/bio/apps/12.04/sw/cpan-modules/.cpan/build/Clone-Fast-0.96.1-aJKUSi$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00general.t .. ok t/01array.t .... ok t/02hash.t ..... ok t/03scalar.t ... Failed 1/10 subtests t/04tie.t ...... ok t/05dtype.t .... ok t/06refcnt.t ... ok t/07magic.t .... ok t/20hooks.t .... ok t/rt-37174.t ... SV = IV(0x2329e08) at 0x2329e18 REFCNT = 1 FLAGS = (PADMY,ROK) RV = 0x2329308 SV = PVHV(0x2311890) at 0x2329308 REFCNT = 1 FLAGS = (SHAREKEYS) ARRAY = 0x23388e0 (0:7, 1:1) hash quality = 100.0% KEYS = 1 FILL = 1 MAX = 7 RITER = -1 EITER = 0x0 Elt "foo" HASH = 0x238678dd SV = IV(0x23292e0) at 0x23292f0 REFCNT = 1 FLAGS = (ROK) RV = 0x230bc20 SV = PVAV(0x230c9b8) at 0x230bc20 REFCNT = 1 FLAGS = () ARRAY = 0x2323300 FILL = 0 MAX = 0 ARYLEN = 0x0 FLAGS = (REAL) Elt No. 0 SV = PV(0x2309c20) at 0x23292c0 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x24c6e30 "Bar"\0 CUR = 3 LEN = 16 Record before clone: $VAR1 = { 'foo' => [ 'Bar' ] }; SV = IV(0x2329e08) at 0x2329e18 REFCNT = 1 FLAGS = (PADMY,ROK) RV = 0x2329308 SV = PVHV(0x2311890) at 0x2329308 REFCNT = 1 FLAGS = (OOK,SHAREKEYS) ARRAY = 0x23388e0 (0:7, 1:1) hash quality = 100.0% KEYS = 1 FILL = 1 MAX = 7 RITER = -1 EITER = 0x0 Elt "foo" HASH = 0x238678dd SV = IV(0x23292e0) at 0x23292f0 REFCNT = 1 FLAGS = (ROK) RV = 0x230bc20 SV = PVAV(0x230c9b8) at 0x230bc20 REFCNT = 1 FLAGS = () ARRAY = 0x2323300 FILL = 0 MAX = 0 ARYLEN = 0x0 FLAGS = (REAL) Elt No. 0 SV = PV(0x2309c20) at 0x23292c0 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x24c6e30 "Bar"\0 CUR = 3 LEN = 16 Record after clone: $VAR1 = { 'foo' => [ 'Bar' ] }; t/rt-37174.t ... ok Test Summary Report ------------------- t/03scalar.t (Wstat: 0 Tests: 10 Failed: 1) Failed test: 5 Files=10, Tests=73, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.22 cusr 0.05 csys = 0.35 CPU) Result: FAIL Failed 1/10 test programs. 1/73 subtests failed. make: *** [test_dynamic] Error 255
(0.96.2) Also, there's a garbage file .Changes.swp included in the dist. Also, in README.md, isn't code blocks need to be indented with at least 4 spaces or 1 tab? From the Markdown spec[1]: "Pre-formatted code blocks are used for writing about programming or markup source code. Rather than forming normal paragraphs, the lines of a code block are interpreted literally. Markdown wraps a code block in both <pre> and <code> tags." [1] http://daringfireball.net/projects/markdown/syntax
On Mon Oct 01 20:40:13 2012, SHARYANTO wrote: Show quoted text
> (0.96.2) > > Also, there's a garbage file .Changes.swp included in the dist. > > Also, in README.md, isn't code blocks need to be indented with at
least 4 Show quoted text
> spaces or 1 tab? From the Markdown spec[1]: "Pre-formatted code
blocks Show quoted text
> are used for writing about programming or markup source code. Rather
than Show quoted text
> forming normal paragraphs, the lines of a code block are interpreted > literally. Markdown wraps a code block in both <pre> and <code> tags." > > [1] http://daringfireball.net/projects/markdown/syntax
Dang, wrong quote copy-pasted. Sorry. "To produce a code block in Markdown, simply indent every line of the block by at least 4 spaces or 1 tab."