Opened 11 years ago

Closed 6 years ago

#38276 closed defect (wontfix)

nfsen @1.3 staging into destroot failure

Reported by: stanrandom@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jul_bsd@…, mojca (Mojca Miklavec), dbevans (David B. Evans), pokui@…
Port: nfsen

Description

It looks like nfsen's unhappy with the current version of RRD. I think this is the relevant bit of the install log.

:info:destroot Check for required Perl modules: All modules found.
:info:destroot RRD version '1.4007' not yet supported!
:info:destroot
:info:destroot Command failed: /opt/local/bin/perl5.12 ./install.pl ./etc/nfsen-dist.conf
:info:destroot Exit code: 255
:error:destroot org.macports.destroot for port nfsen returned: command execution failed

I'm on Mac OS 10.8.2 with MacPorts 2.1.3 and XCode 4.6

Attachments (5)

patch-nfsen-Portfile (1.7 KB) - added by jul_bsd@… 10 years ago.
patch-etc-nfsen-dist.conf.diff (2.5 KB) - added by jul_bsd@… 10 years ago.
patch-install.pl.diff (4.1 KB) - added by jul_bsd@… 10 years ago.
patch-nfsen-Portfile2 (4.5 KB) - added by jul_bsd@… 10 years ago.
patch-nfsen-Portfile.diff (6.7 KB) - added by jul_bsd@… 10 years ago.

Download all attachments as: .zip

Change History (20)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to markd@…

In the future, please Cc the port maintainer(s).

comment:2 Changed 11 years ago by stanrandom@…

This wasn't resolved by the recent version bumps to 10.8.3 with Xcode 4.6.1, for what it's worth - thought I'd update this just to reflect latest version numbers.

comment:3 Changed 11 years ago by stanrandom@…

I think this is the line in NfSenRRD.pm that's causing this:

if ( $rrd_version >= 1.2 && $rrd_version < 1.3 ) {

The nfsen port will only work with RRD 1.0.x or 1.2.x, and latest 1.2.x rrdtool in ports is five years old so I didn't fancy installing that.

The version of that file from the latest nfsen in github has 1.3 replaced with 1.5

comment:4 Changed 10 years ago by jul_bsd@…

Still got this problem on 10.9.1

made an update to 1.3.6p1 and an extra variant for devel (which seems a bit stalled since dec 2008 but used module::build / Work in progress)

still test needed but seems running

# nfsen stop 
Constant subroutine Lookup::AF_INET6 redefined at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/Lookup.pm line 43
Prototype mismatch: sub Lookup::AF_INET6 () vs none at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/Lookup.pm line 43
Constant subroutine Lookup::PF_INET6 redefined at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/Lookup.pm line 43
Prototype mismatch: sub Lookup::PF_INET6 () vs none at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/Lookup.pm line 43
Constant subroutine AbuseWhois::AF_INET6 redefined at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/AbuseWhois.pm line 42
Prototype mismatch: sub AbuseWhois::AF_INET6 () vs none at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/AbuseWhois.pm line 42
Constant subroutine AbuseWhois::PF_INET6 redefined at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/AbuseWhois.pm line 42
Prototype mismatch: sub AbuseWhois::PF_INET6 () vs none at /opt/local/lib/perl5/5.12.4/Exporter.pm line 64.
 at /opt/local/libexec/nfsen/AbuseWhois.pm line 42
Prototype mismatch: sub AbuseWhois::AF_INET6: none vs () at /opt/local/libexec/nfsen/AbuseWhois.pm line 44
Prototype mismatch: sub AbuseWhois::PF_INET6: none vs () at /opt/local/libexec/nfsen/AbuseWhois.pm line 44
Shutdown nfcapd: (upstream1)[64013]. .
Shutdown nfsend:[no pid file found!]

Changed 10 years ago by jul_bsd@…

Attachment: patch-nfsen-Portfile added

Changed 10 years ago by jul_bsd@…

Changed 10 years ago by jul_bsd@…

Attachment: patch-install.pl.diff added

comment:5 Changed 10 years ago by jul_bsd@…

Cc: jul_bsd@… added

Cc Me!

comment:6 Changed 10 years ago by jul_bsd@…

I recently reinstall my whole macports install and for some reason, rrdtool switch to 5.16 only

$ port contents rrdtool|grep RRDs.pm
  /opt/local/lib/perl5/vendor_perl/5.16.1/darwin-thread-multi-2level/RRDs.pm

Portfile doesn't seem to have change as seen here https://trac.macports.org/browser/trunk/dports/net/rrdtool?rev=107344&order=name

I switch the port to 5.16 but not sure if it's depending on install. Also put a subport devel instead of variant but for now it doesn't built as before, not sure why.

Note this bug superseded/solved #34977, #22923 and partially related to #42498

Changed 10 years ago by jul_bsd@…

Attachment: patch-nfsen-Portfile2 added

comment:7 Changed 10 years ago by jul_bsd@…

  • port lint --nitpick
  • livecheck
  • /tab/spacex4/

comment:8 Changed 10 years ago by jul_bsd@…

  • destroot.asroot yes
  • sha256
  • mode line

Changed 10 years ago by jul_bsd@…

Attachment: patch-nfsen-Portfile.diff added

comment:9 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…

markd has retired. See #44782.

comment:10 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:11 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: devans@… pokui@… added
Version: 2.1.3

I'm trying to work on #48365 and I was bitten by this problem.

Check for required Perl modules: All modules found.
RRD version '1.5001' not yet supported!

Command failed: /opt/local/bin/perl5.22 ./install.pl ./etc/nfsen-dist.conf

The rrdtool is currently at version 1.5.5. I upgraded p5-net-nfdump in r143405 hoping it might have any influence (and simply because it needed an update), but nothing changes.

I tried to switch to version 1.7 of nfsen, but that doesn't solve anything.

See the comment of the retired maintainer:

I recommended this port be deleted, for the reasons you can see. I thought there would be some way to patch this port, but without developer support there isn't a lot that can be done. My mistake was committing a non-finished port in the first place.

comment:12 Changed 8 years ago by mojca (Mojca Miklavec)

I now upgraded the port and switched to perl 5.22 nevertheless (it was broken before, so we have nothing to loose) in r143406.

I see that jul_bsd added additional patches, but I wasn't sure which ones are still relevent. If you are still here and willing to check what else might be needed, feel free to post a new patch and I can include that one.

Maybe there is a way to install an older (private) version of rrdtool somehow?

Anyway, I don't know if this port is needed/wanted. It hasn't been functional for a long time from what I can see and the development doesn't really seem active.

comment:13 Changed 6 years ago by mojca (Mojca Miklavec)

This port has apparently been broken for 5 years and I don't see any serious attempt to fix it as well as no upstream development. If someone wants to get the port working again, feel free to resurrect it, but I'll remove a defunct port from the distribution for now as it makes no sense to pretend to support it without actually supporting it.

comment:14 Changed 6 years ago by mojca (Mojca Miklavec)

In aec99d336a430ae0a67d60b8a44be43dd0986b8d/macports-ports:

nfsen: remove a broken, no longer maintained port

See: #22922
See: #38276

comment:15 Changed 6 years ago by mojca (Mojca Miklavec)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.