Package Details: chronograf 1.9.4-1

Git Clone URL: (read-only, click to copy)
Package Base: chronograf
Description: Time-series data visualization tool for InfluxDB
Upstream URL:
Licenses: AGPL
Submitter: justin8
Maintainer: gin078 (alaskanarcher)
Last Packager: gin078
Votes: 9
Popularity: 0.000204
First Submitted: 2015-11-24 20:57 (UTC)
Last Updated: 2022-06-13 17:36 (UTC)

Pinned Comments

Latest Comments

rageltman commented on 2021-07-27 02:24 (UTC)

Seems to be failing in the npm dependency stage:

[2021-07-27T02:19:56.087Z] info There appears to be trouble with your network connection. Retrying...
[2021-07-27T02:19:56.087Z] error An unexpected error occurred: " ESOCKETTIMEDOUT".
[2021-07-27T02:19:56.087Z] info If you think this is a bug, please open a bug report with the information provided in "/startdir/src/src/".
[2021-07-27T02:19:56.087Z] info Visit for documentation about this command.
[2021-07-27T02:19:56.087Z] info There appears to be trouble with your network connection. Retrying...
[2021-07-27T02:19:56.087Z] make: *** [Makefile:94: .jsdep] Error 1
[2021-07-27T02:19:56.087Z] ==> ERROR: A failure occurred in build().
[2021-07-27T02:19:56.087Z]     Aborting...

this is being built in an arch chroot by CI, and able to download dependencies otherwise - seems to consistently fail on that specific one, and does download from the host which builds in the chroots. Somewhat puzzling, though i'm no yarn expert.

gdamjan commented on 2020-11-04 15:16 (UTC) (edited on 2020-11-04 20:48 (UTC) by gdamjan)

Is nodejs-lts-dubnium the exact make requirement, or just nodejs can do?

… edit: seems to work fine with nodejs

jvreeland commented on 2020-04-26 03:31 (UTC) (edited on 2020-04-26 14:48 (UTC) by jvreeland)

This doesn't seem to build for me.

info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 23.22s.
==> ERROR: A failure occurred in build().

Doesn't build in a chroot for me builds fine otherwise.

alaskanarcher commented on 2019-04-25 17:58 (UTC) (edited on 2019-04-25 18:39 (UTC) by alaskanarcher)

Actually the best way to build this is to not export the GOPATH at all as go will default to using modules outside of the GOPATH which will be entirely deprecated in the next few releases.

Ideally we would be using their official Makefile but there are a number of subtle issue with it that I'm working through.

arren commented on 2019-04-25 13:08 (UTC)


You need to add GO111MODULE=on in build() function before go install... because chronograf now uses go modules. Have a look at the Makefile.

omgold commented on 2018-05-30 12:04 (UTC)

go-bindata should be added as builddep

alaskanarcher commented on 2018-03-17 01:12 (UTC)

This package now installs the canned dashboards that ship with chronograf. They are installed to /usr/share/chronograf/canned/.

alaskanarcher commented on 2018-02-28 03:37 (UTC)


I started building package I maintain in a clean chroot and found that python2 is required in the build process so I added it to the build dependencies. Just a heads up.

alaskanarcher commented on 2017-12-28 03:26 (UTC) (edited on 2017-12-28 03:27 (UTC) by alaskanarcher)

The update to corrects the issues with the PKGBUILD that were described in my previous comment below.

I also removed the unset LDFLAGS line in build() as this was a workaround for a build issue that has now been fixed upstream.

alaskanarcher commented on 2017-12-01 02:54 (UTC) (edited on 2017-12-09 22:31 (UTC) by alaskanarcher)


A few issues:

  • This PKGBUILD does not specify a source array and instead uses go get to install the necessary source repo. As a result this doesn't allow makepkg to check out the proper version. So regardless of the pkgver this installs the bleeding edge git version. If that is your intention the pkgname should be chronograf-git. Otherwise you should use a source array like this instead: source=("git+$pkgver")

  • The systemd service assumes there will be a user named "chronograf". Without this user the service fails to start. The canonical way to create a system user is using systemd-sysusers. See man sysusers.d. Also check out how the other InfluxData AUR packages handle this.

  • It is not necessary to specify dependencies that are in the 'base' group. That dependency is assumed, and the 'base-devel' group is assumed during build. So it is not useful to specify the 'glibc' dependency.

I have published fixes for the above here: Please feel free to pull these changes.

I'm interested in being a co-maintainer, so if you would like some help with this package, please add me.

alaskanarcher commented on 2017-11-30 23:29 (UTC)

@gin078, Thank you for the quick fix. InfluxData is now aware of this issue and a fix has been proposed.

alaskanarcher commented on 2017-11-22 07:05 (UTC) (edited on 2017-11-22 09:23 (UTC) by alaskanarcher)

I get the following error early during build(). error /home/user/influx-pkgs/chronograf/src/src/ Command failed. Exit code: 1 I get a lot more output as well which you can read here: I'm investigating the issue and will comment back when I know more. Update: I suspected this was due to some environment variables that makepkg was setting. The error occurs when invoking make with the environment that makepkg sets up: COMMAND_MODE=legacy CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-pl" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt" GOPATH=/home/user/influx-pkgs/chronograf/src TEXTDOMAINDIR=/usr/share/locale TEXTDOMAIN=pacman-scripts CHOST=x86_64-pc-linux-gnu CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/user/influx-pkgs/chronograf/src/bin make but it builds fine when I just use the correct PATH and GOPATH variables: GOPATH=/home/user/influx-pkgs/chronograf/src PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/user/influx-pkgs/chronograf/src/bin make I'm working on narrowing this down to the variable that is the culprit. Update 2: I narrowed the culprit down to the LDFLAGS environment variable. Update 3: If LDFLAGS is exported at all then the build fails. Please add unset LDFLAGS before running make.

petrosagg commented on 2017-08-14 01:11 (UTC)

The PKGBUILD is broken and it only works if GOPATH is already set by the user. In the PKGBUILD you either have to `export GOPATH=${srcdir}` or prefix the Go commands with it `GOPATH=${srcdir} /usr/bin/go get ...`.

alaskanarcher commented on 2017-08-04 20:01 (UTC)

Not only is this out of date, but it breaks the convention for AUR packages to install from source. This should be named chronograf-bin.

butler360 commented on 2017-03-15 01:55 (UTC)

This is super out of date now, has the package been abandoned?

visibilityspots commented on 2016-08-31 19:09 (UTC)

just installed the package on a armv7h architecture, any possibility to add this to architecture to the pkgbuild file?

ogarcia commented on 2016-06-02 14:49 (UTC)

@cacack, you can use `systemd-sysusers` to create user, is more "elegant" than adduser/addgroup. This automagically checks for user and, if not exists, do create. In my repo I have the line in post-install, but can be in post-upgrade.

cacack commented on 2016-06-02 13:52 (UTC)

Updated to 0.13. Refactored PKGBUILD based on few of @ogarcia's suggestions. The user/group creation only happens if they don't exist so no harm in running it after install or upgrade.

ogarcia commented on 2016-05-27 13:56 (UTC)

You must modify several things in you package. 1. The license not is MIT is an unknown closed license. (See in "How will Chronograf be licensed?" section). 2. You not need define empty variables as depends or conflicts, you can delete these lines. 3. In the install scrip, not is necessary create group before create user. The adduser command make the work for you. And not is necessary do work in post_upgrade. Why try create user account after every upgrade? This not make sense. If you want you can use this: The PKGBUILD: The install: Greetings :)

cacack commented on 2016-04-25 13:34 (UTC)

@djmattyg007 yep it doesn't need it since it is using the deb packaging. I've removed them.

djmattyg007 commented on 2016-04-14 11:44 (UTC)

Why are git and go listed as make dependencies? As far as I can tell, neither of them are actually used while building the package.