perl-Unix-Statgrab-0.04-14.fc18 does not build in F18: Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FI62R4 + umask 022 + cd /builddir/build/BUILD + cd Unix-Statgrab-0.04 + unset DISPLAY + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0_pod.t ........... ok t/0_pod_coverage.t .. ok t/Unix-Statgrab.t ... Failed 1/22 subtests Test Summary Report ------------------- t/Unix-Statgrab.t (Wstat: 11 Tests: 21 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 22 tests but ran 21. Files=3, Tests=23, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.15 cusr 0.03 csys = 0.22 CPU) Result: FAIL Failed 1/3 test programs. 0/23 subtests failed. make: *** [test_dynamic] Error 255 This happens with perl 5.16.0. I guess the test plan is wrong or the perl segfaults.
This issue has been `fixed' by removing the tests: commit 15d0455635bdb46f3739941a75cd960951680bfc Author: Oliver Falk <oliver> Date: Mon Aug 6 14:48:02 2012 +0200 * Mon Aug 06 2012 Oliver Falk <oliver> - 0.04-17 - Remove segfaulting tests This could be bug in perl-5.16. Minimal test case: #!/usr/bin/perl use strict; use warnings; use Unix::Statgrab; my $p = get_process_stats; if ($p) { my @a = sort sort_procs_by_name $p->all_procs; my @b = sort sort_procs_by_pid $p->all_procs; my @c = sort sort_procs_by_uid $p->all_procs; } Returns perl error: Attempt to free unreferenced scalar: SV 0x259c538, Perl interpreter: 0x257c010 at test line 7. Changing the assignments to the same array causes segfault.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Upstream claims this issue has been fixed in Unix-Statgrab-0.099_001 and libstatgrab-0.90.
I'll bump this 0.104. This will require Config::AutoConf.
This also requires libstatgrab >= 0.90.
*** This bug has been marked as a duplicate of bug 1163320 ***