Bug 190970 - [PATCH] net-mgmt/smokeping: fix building problem by the use of gmake
Summary: [PATCH] net-mgmt/smokeping: fix building problem by the use of gmake
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rodrigo Osorio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 16:08 UTC by stephon
Modified: 2014-07-20 15:05 UTC (History)
1 user (show)

See Also:


Attachments
patch-Makefile (445 bytes, application/octet-stream)
2014-06-12 16:08 UTC, stephon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description stephon 2014-06-12 16:08:12 UTC
Created attachment 143711 [details]
patch-Makefile

Hello all,

I found net-mgmt/smokeping build failed on FreeBSD 9.2R.
It shows below: 

$ cd /usr/ports/net-mgmt/smokeping && make
(...deleted)

** Ready to install Smokeping ******************************

   Settings:

     PERL5LIB = /usr/local/smokeping/lib
     PERL = /usr/local/bin/perl

   The Smokeping Makefiles use GNU make functionality.
   Continue installation with

     /usr/local/bin/gmake install

===>  Building for smokeping-2.6.9
Making all in bin
Making all in doc
Error expanding embedded variable.
*** [all-recursive] Error code 1

Stop in /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9.
*** [do-build] Error code 1

Stop in /usr/ports/net-mgmt/smokeping.
*** [build] Error code 1

Stop in /usr/ports/net-mgmt/smokeping.

----
 
After that, I found that in Makefile, USES=gmake perl5 has been commented out.
And I can build net-mgmt/smokeping with this USES.

In the attachment is the patch of Makefile.
Please help to update the ports tree.

Thanks a lot.
---
stephon
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-13 03:52:50 UTC
Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-06-13 03:54:41 UTC
*** Bug 190959 has been marked as a duplicate of this bug. ***
Comment 3 Dikshie 2014-06-13 04:56:51 UTC
(In reply to Mark Linimon from comment #2)
> *** Bug 190959 has been marked as a duplicate of this bug. ***

unfortunately, the patch does not solve my problem.  
i am still getting: 

checking checking for gnu make availablility... /usr/local/bin/gmake is GNU make
checking checking for perl module 'RRDs'... Failed






looks like smokeping fails finding RRD perl module.  

note that i installed RRD with perl module from ports and it sits  in:
root@sfc-monitor:/usr/local/lib/perl5/site_perl/5.16 # pwd
/usr/local/lib/perl5/site_perl/5.16
root@sfc-monitor:/usr/local/lib/perl5/site_perl/5.16 # find . -name "RRD*"
./mach/auto/RRDp
./mach/auto/RRDs
./mach/auto/RRDs/RRDs.so
./mach/RRDs.pm
./RRDp.pm
./Log/Log4perl/Appender/RRDs.pm
Comment 4 Rodrigo Osorio freebsd_committer freebsd_triage 2014-07-20 15:05:00 UTC
tested with FreeBSD-9.3-RELASE