Bug 153178 - perl-BSD-Resource: specfile update
perl-BSD-Resource: specfile update
Product: Fedora
Classification: Fedora
Component: perl-BSD-Resource (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Warren Togami
Depends On:
  Show dependency treegraph
Reported: 2005-04-01 20:33 EST by Jose Pedro Oliveira
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-09 03:54:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Specfile cleanup (3.03 KB, patch)
2005-04-01 20:33 EST, Jose Pedro Oliveira
no flags Details | Diff

  None (edit)
Description Jose Pedro Oliveira 2005-04-01 20:33:00 EST
Description of problem:
Specfile update (using Fedora.Extras template).

Version-Release number of selected component (if applicable):
Comment 1 Jose Pedro Oliveira 2005-04-01 20:33:00 EST
Created attachment 112608 [details]
Specfile cleanup
Comment 2 Warren Togami 2005-04-01 21:01:56 EST

+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/setrlimit......Use of uninitialized value in concatenation (.) or string at
t/setrlimit.t line 44.
Use of uninitialized value in numeric eq (==) at t/setrlimit.t line 45.
FAILED test 14
        Failed 1/14 tests, 92.86% okay
Failed 1/6 test scripts, 83.33% okay. 1/39 subtests failed, 97.44% okay.
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
t/setrlimit.t               14    1   7.14%  14
make: *** [test_dynamic] Error 255
error: Bad exit status from /usr/src/build/549719-ppc/install-tmp/rpm-tmp.86827
Comment 3 Warren Togami 2005-04-01 21:06:10 EST
failure on i386 too... something might be different about the beehive buildroot
Comment 4 Jose Pedro Oliveira 2005-04-01 21:17:04 EST
I have no problems building perl-BSD-Resource with both specfiles (releases 1
and 2) in Fedora Core 3 systems.
  All tests successful.

Also note that the old specfile (release 1) executed the tests with the
following command:
   make test || /bin/true
Comment 5 Warren Togami 2005-04-01 21:34:28 EST
This may be indicative of something else being broken in FC4.  Have you tried
mach+yum?  It will easily allow you to build FC4 packages on your FC3 machine.

Check out, make a tarball and rpmbuild -ta, then install it
Comment 6 Warren Togami 2005-04-01 22:02:17 EST
Build succeeded without that test failure on my x86_64 everything install. 
Could this be a missing BuildReq?
Comment 7 Warren Togami 2005-04-01 22:55:20 EST
(BTW I didn't include the part of your patch that added %doc.  The license does
not require adding docs and we're in trouble right now limiting the size of FC.
Every bit counts...)
Comment 8 Michael Schwendt 2005-04-03 04:07:32 EDT
[mach+yum builds this without problems on a moderately updated FC4T1]

setrlimit is a glibc function, accessed from the Perl test via a C wrapper
function in Resource.pm -> Resource.o. The Perl function returns 'undef' on
failure, which explains the results in the test. Does beehive impose any special
kinds of resource limits?
Comment 9 Warren Togami 2005-04-09 03:54:28 EDT
No time to test, skipped test. 
Comment 10 Jose Pedro Oliveira 2005-04-13 11:15:44 EDT

No problems rebuilding perl-BSD-Resource in a FC4test2 system with the
test suite enabled. 

The problem must be in the building system (see also comment #8).
Comment 11 Neil Horman 2007-08-22 07:56:18 EDT
*** Bug 251101 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.