Bug 223308 - net-mgmt/netdata: Add missing runtime dependencies
Summary: net-mgmt/netdata: Add missing runtime dependencies
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: Mahdi Mokhtari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-29 18:36 UTC by Christopher Beppler
Modified: 2018-02-14 17:59 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mmokhi)


Attachments
patch to add missing runtime dependencies (882 bytes, patch)
2017-10-29 18:36 UTC, Christopher Beppler
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Beppler 2017-10-29 18:36:55 UTC
Created attachment 187566 [details]
patch to add missing runtime dependencies

The attached patch adds runtime dependencies for bash, curl and python.

The python.d plugins execute bash to determine which python executable to use. This evaluation requires the executables called "python", "python2" or "python3" to exist. If python the python meta-package is not installed, this will not be the case and the plugins fail.

The current dependencies install python, but the executable is called python2.7 and therefore not found by the plugins. Adding the meta-package as runtime dependency adds the missing symlink.

It doesn't matter if the default python version is set to 2 or 3 since both are supported.

curl is used by some of the other plugins.

I've also used the USES= line up to satisfy portlint while I was editing the Makefile.
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-02-14 17:59:30 UTC
Makefile shows:
RUN_DEPENDS=    bash:shells/bash \
                curl:ftp/curl

USES=           autoreconf pathfix pkgconfig:both python shebangfix
( https://svnweb.freebsd.org/ports/head/net-mgmt/netdata/Makefile?r1=459323&r2=459322&pathrev=459323 ),

Is done, so I close here.