FS#57724 - [grafana] PhantomJS missing from 5.0.0-1 build

Attached to Project: Community Packages
Opened by Julian Brost (julian) - Monday, 05 March 2018, 23:29 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 06 March 2018, 17:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In Grafana 5.0.0, the path of PhantomJS changed and it is not copied to $pkgdir. Please add the following line to package() to fix this:

cp -r tools "$pkgdir/usr/share/grafana/"

Additional info:
* package version(s): grafana 5.0.0-1

Steps to reproduce:
* Open some Dashboard in Grafana
* Click on a panel titel
* Click "Share"
* Click "Direct link rendered image"
* You will see an error message and a syslog message like this: grafana-server[24683]: t=2018-03-05T23:50:36+0100 lvl=eror msg="Rendering failed." logger=context userId=2 orgId=1 uname=julian error="fork/exec /usr/share/grafana/tools/phantomjs/phantomjs: no such file or directory"
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Tuesday, 06 March 2018, 17:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  grafana-5.0.0-2
Comment by Eli Schwartz (eschwartz) - Monday, 05 March 2018, 23:53 GMT
Looks like this is supposed to be somehow automatically copied via a grunt task, FWIW.

(Using some prebuilt binary, sadly.)

Loading...