Skip Menu |

This queue is for tickets about the Devel-LeakTrace CPAN distribution.

Report information
The Basics
Id: 44970
Status: open
Priority: 0/
Queue: Devel-LeakTrace

People
Owner: Nobody in particular
Requestors: MATEU [...] cpan.org
Cc:
AdminCc:

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



Subject: t/Devel-LeakTrace.t failures
# make test /usr/bin/perl Build --makefile_env_macros 1 test t/00compile..........Too late to run INIT block at /root/.cpan/build/Devel-LeakTrace-0.05-Fogrps/blib/lib/Devel/LeakTrace.pm line 15. t/00compile..........1/1 leaked SV(0x1ef3a28) from /usr/share/perl/5.10/warnings/register.pm line 13 leaked SV(0x1ef3a40) from /usr/share/perl/5.10/warnings/register.pm line 13 leaked SV(0x1ef3a58) from /usr/share/perl/5.10/warnings/register.pm line 13 leaked SV(0x1edd548) from /usr/share/perl/5.10/warnings/register.pm line 13 leaked SV(0x1d1cfb0) from /usr/share/perl/5.10/warnings/register.pm line 13 leaked SV(0x1e75b28) from /usr/share/perl/5.10/warnings/register.pm line 23 t/00compile..........ok t/Devel-LeakTrace....1/11 # Failed test 'one SV' # at t/Devel-LeakTrace.t line 30. # Failed test 'and that's all' # at t/Devel-LeakTrace.t line 33. # Looks like you failed 2 tests of 11. t/Devel-LeakTrace.... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/11 subtests Test Summary Report ------------------- t/Devel-LeakTrace (Wstat: 512 Tests: 11 Failed: 2) Failed tests: 8, 11 Non-zero exit status: 2 Files=2, Tests=12, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr 0.04 csys = 0.14 CPU) Result: FAIL Failed 1/2 test programs. 2/12 subtests failed. make: *** [test] Error 2
Hi. Please check last commits at repo: https://github.com/KES777/Devel-LeakTrace Does that fixes your problem?
On Thu Mar 09 07:03:52 2017, KES wrote: Show quoted text
> Hi. > Please check last commits at repo: https://github.com/KES777/Devel-LeakTrace > > Does that fixes your problem?
I not in the same environment since I filed that issue, but my current environment runs the tests fine so I'm going to say "yes" that fixes my problem :) Here's the build/test outoput: ----------------------------- hunter@seny:~/dev/Devel-LeakTrace (master)$ perl Makefile.PL # running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Devel-LeakTrace' version '0.05' Unknown 'build_class', defaulting to 'Module::Build' hunter@seny:~/dev/Devel-LeakTrace (master)$ make /usr/bin/perl Build --makefile_env_macros 1 Building Devel-LeakTrace x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -DXS_VERSION="0.05" -DVERSION="0.05" -fPIC -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -o lib/Devel/LeakTrace.o lib/Devel/LeakTrace.c lib/Devel/LeakTrace.xs: In function ‘print_me’: lib/Devel/LeakTrace.xs:69:39: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘gpointer {aka void *}’ [-Wformat=] fprintf(stderr, "leaked %s(0x%x) from %s line %d\n", ^ ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Devel/LeakTrace/LeakTrace.bs') x86_64-linux-gnu-gcc -shared -L/usr/local/lib -fstack-protector-strong -o blib/arch/auto/Devel/LeakTrace/LeakTrace.so lib/Devel/LeakTrace.o -lglib-2.0 hunter@seny:~/dev/Devel-LeakTrace (master)$ make test /usr/bin/perl Build --makefile_env_macros 1 test t/00compile.t ........ Too late to run INIT block at /home/hunter/dev/Devel-LeakTrace/blib/lib/Devel/LeakTrace.pm line 15. t/00compile.t ........ ok t/Devel-LeakTrace.t .. ok All tests successful. Files=2, Tests=12, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.21 cusr 0.02 csys = 0.25 CPU) Result: PASS