Bug 66418 - [PATCH] net/rrdtool: fix for pre-5.6 Perl
Summary: [PATCH] net/rrdtool: fix for pre-5.6 Perl
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 15:10 UTC by Lars Thegler
Modified: 2004-07-22 13:42 UTC (History)
1 user (show)

See Also:


Attachments
rrdtool-1.0.47.patch (710 bytes, patch)
2004-05-09 15:10 UTC, Lars Thegler
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Thegler 2004-05-09 15:10:21 UTC
Perl API function newSVuv() does not exist in perl 5.005_03.

Port maintainer (demon@FreeBSD.org) is cc'd.

Patch has also been submitted to rrd-developers@list.ee.ethz.ch for
inclusion in the next version.

Generated with FreeBSD Port Tools 0.50

Fix: Replace 'newSVuv' with 'newSViv'. time_t is signed, so this should
work fine.
How-To-Repeat: 
$ make build
[...]
$ cd work/rrdtool-1.0.47/perl-shared
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............Can't load 'blib/arch/auto/RRDs/RRDs.so' for module RRDs: blib/arch/auto/RRDs/RRDs.so: Undefined symbol "newSVuv" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at t/base.t line 20
BEGIN failed--compilation aborted at t/base.t line 20.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/base.t        255 65280     7    7 100.00%  1-7
Failed 1/1 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
*** Error code 2

Stop in /usr/home/lth/ports/net/rrdtool/work/rrdtool-1.0.47/perl-shared.
$
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-05-09 17:49:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->demon

Over to maintainer.
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2004-07-22 13:41:20 UTC
State Changed
From-To: open->closed

Added as a conditional EXTRA_PATCH, thanks!