:: Synchronizing package databases... downloading staging.db... downloading testing.db... downloading core.db... downloading extra.db... downloading community-staging.db... downloading community-testing.db... downloading community.db... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: device-mapper will be installed before its glibc dependency warning: dependency cycle detected: warning: device-mapper will be installed before its glibc dependency warning: dependency cycle detected: warning: libgcrypt will be installed before its glibc dependency warning: dependency cycle detected: warning: libgcrypt will be installed before its glibc dependency warning: dependency cycle detected: warning: ncurses will be installed before its glibc dependency warning: dependency cycle detected: warning: ncurses will be installed before its glibc dependency warning: dependency cycle detected: warning: libgcrypt will be installed before its glibc dependency warning: dependency cycle detected: warning: device-mapper will be installed before its glibc dependency warning: dependency cycle detected: warning: device-mapper will be installed before its glibc dependency warning: dependency cycle detected: warning: device-mapper will be installed before its glibc dependency warning: dependency cycle detected: warning: popt will be installed before its glibc dependency warning: dependency cycle detected: warning: expat will be installed before its glibc dependency warning: dependency cycle detected: warning: iptables will be installed before its glibc dependency warning: dependency cycle detected: warning: libmnl will be installed before its glibc dependency warning: dependency cycle detected: warning: libpcap will be installed before its glibc dependency warning: dependency cycle detected: warning: libnl will be installed before its glibc dependency warning: dependency cycle detected: warning: libusb will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kbd will be installed before its glibc dependency warning: dependency cycle detected: warning: kmod will be installed before its glibc dependency warning: dependency cycle detected: warning: libelf will be installed before its glibc dependency warning: dependency cycle detected: warning: libseccomp will be installed before its glibc dependency warning: dependency cycle detected: warning: systemd will be installed before its glibc dependency warning: dependency cycle detected: warning: systemd will be installed before its coreutils dependency warning: dependency cycle detected: warning: systemd will be installed before its glibc dependency Packages (27) coreutils-8.28-1 cryptsetup-1.7.5-1 dbus-1.10.22-1 device-mapper-2.02.173-1 e2fsprogs-1.43.6-1 expat-2.2.4-1 file-5.32-1 filesystem-2017.09-2 glibc-2.26-2 hwids-20170715-1 iana-etc-20170824-1 iptables-1.6.1-1 kbd-2.0.4-1 kmod-24-1 libelf-0.169-2 libgcrypt-1.8.1-1 libksba-1.3.5-1 libmnl-1.0.4-1 libnftnl-1.0.7-1 libnl-3.3.0-1 libpcap-1.8.1-2 libseccomp-2.3.2-1 libusb-1.0.21-2 ncurses-6.0+20170902-1 popt-1.16-9 sudo-1.8.21.p1-1 systemd-234.11-8 Total Download Size: 12.34 MiB Total Installed Size: 106.66 MiB Net Upgrade Size: 32.44 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading ncurses-6.0+20170902-1-x86_64.pkg.tar.xz... downloading expat-2.2.4-1-x86_64.pkg.tar.xz... downloading filesystem-2017.09-2-x86_64.pkg.tar.xz... downloading glibc-2.26-2-x86_64.pkg.tar.xz... downloading coreutils-8.28-1-x86_64.pkg.tar.xz... downloading file-5.32-1-x86_64.pkg.tar.xz... downloading libksba-1.3.5-1-x86_64.pkg.tar.xz... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading ncurses... upgrading libgcrypt... installing device-mapper... installing popt... installing cryptsetup... upgrading expat... installing dbus... installing libmnl... installing libnftnl... installing libnl... installing libusb... installing libpcap... installing iptables... upgrading e2fsprogs... installing kbd... installing kmod... installing hwids... installing libelf... installing libseccomp... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group kvm with gid 999. Creating group systemd-journal-upload with gid 998. Creating user systemd-journal-upload (systemd Journal Upload) with uid 998 and gid 998. Creating group uuidd with gid 68. Creating user uuidd (n/a) with uid 68 and gid 68. Creating group systemd-coredump with gid 997. Creating user systemd-coredump (systemd Core Dumper) with uid 997 and gid 997. Creating group dbus with gid 81. Creating user dbus (n/a) with uid 81 and gid 81. Creating group systemd-journal-remote with gid 996. Creating user systemd-journal-remote (systemd Journal Remote) with uid 996 and gid 996. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat Optional dependencies for systemd libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user upgrading iana-etc... upgrading filesystem... warning: /etc/group installed as /etc/group.pacnew warning: /etc/passwd installed as /etc/passwd.pacnew warning: /etc/resolv.conf installed as /etc/resolv.conf.pacnew warning: /etc/gshadow installed as /etc/gshadow.pacnew warning: /etc/shadow installed as /etc/shadow.pacnew upgrading glibc... Generating locales... en_US.UTF-8... done de_DE.UTF-8... done Generation complete. upgrading coreutils... upgrading file... upgrading libksba... upgrading sudo... :: Running post-transaction hooks... (1/5) Updating udev hardware database... (2/5) Updating system user accounts... (3/5) Creating temporary files... (4/5) Arming ConditionNeedsUpdate... (5/5) Updating the info directory file... ==> Building in chroot for [staging] (x86_64)... ==> Synchronizing chroot copy [/var/lib/archbuild/staging-x86_64/root] -> [erich]...done ==> Making package: grafana 4.3.2-1 (Tue Sep 5 13:43:32 CEST 2017) ==> Retrieving sources... -> Cloning grafana git repo... Cloning into bare repository '/tmp/grafana/grafana'... -> Found grafana.service -> Found grafana.sysusers -> Found grafana.tmpfiles ==> Validating source files with md5sums... grafana ... Skipped grafana.service ... Passed grafana.sysusers ... Passed grafana.tmpfiles ... Passed ==> Making package: grafana 4.3.2-1 (Tue Sep 5 13:43:58 CEST 2017) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Packages (5) graphite-1:1.3.10-1 harfbuzz-1.5.0-1 libpng-1.6.32-1 fontconfig-2.12.4-1 freetype2-2.8-2 Total Installed Size: 11.45 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libpng... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program installing freetype2... installing fontconfig... Fontconfig configuration is done via /etc/fonts/conf.avail and conf.d. Read /etc/fonts/conf.d/README for more information. Configuration via /etc/fonts/local.conf is still possible, but is no longer recommended for options available in conf.avail. Main systemwide configuration should be done by symlinks (especially for autohinting, sub-pixel and lcdfilter): cd /etc/fonts/conf.d ln -s ../conf.avail/XX-foo.conf Check also https://wiki.archlinux.org/index.php/Font_Configuration and https://wiki.archlinux.org/index.php/Fonts. Rebuilding fontconfig cache... done. :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (12) c-ares-1.13.0-1 http-parser-2.7.1-1 libuv-1.14.0-1 nodejs-8.4.0-1 openssl-1.0-1.0.2.l-1 pcre2-10.23-1 perl-error-0.17025-2 semver-5.4.1-1 git-2.14.1-1 go-2:1.9-1 grunt-cli-1.2.0-3 npm-5.3.0-1 Total Download Size: 0.07 MiB Total Installed Size: 301.55 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading grunt-cli-1.2.0-3-any.pkg.tar.xz... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing pcre2... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn perl-mime-tools: git send-email perl-net-smtp-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python2: various helper scripts subversion: git svn cvsps2: git cvsimport gnome-keyring: GNOME keyring credential helper installing go... installing openssl-1.0... Optional dependencies for openssl-1.0 ca-certificates [installed] installing libuv... installing http-parser... installing c-ares... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager [pending] installing semver... installing npm... Optional dependencies for npm python2: for node-gyp installing grunt-cli... :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found grafana.service -> Found grafana.sysusers -> Found grafana.tmpfiles ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of grafana git repo... Cloning into 'grafana'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... -> GOPATH setup -> building the backend Version: 4.3.2, Linux Version: 4.3.2, Package Iteration: 1504611847 go get -v github.com/kardianos/govendor github.com/kardianos/govendor (download) github.com/kardianos/govendor/vendor/golang.org/x/sys/unix github.com/kardianos/govendor/prompt github.com/kardianos/govendor/vendor/github.com/dchest/safefile github.com/kardianos/govendor/internal/pathos github.com/kardianos/govendor/internal/vos github.com/kardianos/govendor/pkgspec github.com/kardianos/govendor/vendorfile github.com/kardianos/govendor/vendor/github.com/pkg/errors github.com/kardianos/govendor/vendor/golang.org/x/tools/go/vcs github.com/kardianos/govendor/vendor/gopkg.in/yaml.v2 github.com/kardianos/govendor/vendor/github.com/google/shlex github.com/kardianos/govendor/internal/vfilepath github.com/kardianos/govendor/vcs github.com/kardianos/govendor/context github.com/kardianos/govendor/vendor/github.com/Bowery/prompt github.com/kardianos/govendor/cliprompt github.com/kardianos/govendor/migrate github.com/kardianos/govendor/help github.com/kardianos/govendor/run github.com/kardianos/govendor go install -v ./pkg/cmd/grafana-server github.com/grafana/grafana/vendor/github.com/go-macaron/inject github.com/grafana/grafana/vendor/golang.org/x/crypto/pbkdf2 github.com/grafana/grafana/vendor/gopkg.in/ini.v1 github.com/grafana/grafana/vendor/github.com/go-stack/stack github.com/grafana/grafana/vendor/github.com/inconshreveable/log15/term github.com/grafana/grafana/vendor/github.com/mattn/go-colorable github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/awserr github.com/grafana/grafana/pkg/util github.com/grafana/grafana/vendor/github.com/go-ini/ini github.com/grafana/grafana/vendor/github.com/jmespath/go-jmespath github.com/grafana/grafana/vendor/github.com/Unknwon/com github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/client/metadata github.com/grafana/grafana/pkg/bus github.com/grafana/grafana/vendor/github.com/rainycape/unidecode github.com/grafana/grafana/pkg/components/null github.com/grafana/grafana/pkg/components/simplejson github.com/grafana/grafana/vendor/github.com/hashicorp/go-version github.com/grafana/grafana/vendor/github.com/inconshreveable/log15 github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/endpoints github.com/grafana/grafana/vendor/github.com/gosimple/slug github.com/grafana/grafana/vendor/github.com/klauspost/cpuid github.com/grafana/grafana/vendor/github.com/klauspost/crc32 github.com/grafana/grafana/vendor/github.com/bradfitz/gomemcache/memcache github.com/grafana/grafana/vendor/github.com/go-sql-driver/mysql github.com/grafana/grafana/vendor/github.com/lib/pq/oid github.com/grafana/grafana/vendor/github.com/lib/pq github.com/grafana/grafana/vendor/gopkg.in/bufio.v1 github.com/grafana/grafana/pkg/components/apikeygen github.com/grafana/grafana/vendor/github.com/BurntSushi/toml github.com/grafana/grafana/vendor/github.com/klauspost/compress/flate github.com/grafana/grafana/vendor/github.com/davecgh/go-spew/spew github.com/grafana/grafana/vendor/gopkg.in/redis.v2 github.com/grafana/grafana/vendor/gopkg.in/asn1-ber.v1 github.com/grafana/grafana/vendor/github.com/gorilla/websocket github.com/grafana/grafana/vendor/gopkg.in/macaron.v1 github.com/grafana/grafana/pkg/log github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/credentials github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/awsutil github.com/grafana/grafana/vendor/github.com/go-ldap/ldap github.com/grafana/grafana/pkg/cmd/grafana-cli/logger github.com/grafana/grafana/pkg/events github.com/grafana/grafana/vendor/github.com/benbjohnson/clock github.com/grafana/grafana/pkg/services/annotations github.com/grafana/grafana/vendor/golang.org/x/net/context github.com/grafana/grafana/vendor/github.com/streadway/amqp github.com/grafana/grafana/vendor/github.com/klauspost/compress/gzip github.com/grafana/grafana/vendor/gopkg.in/gomail.v2 github.com/grafana/grafana/vendor/github.com/go-xorm/core github.com/grafana/grafana/vendor/github.com/go-xorm/builder github.com/grafana/grafana/vendor/golang.org/x/sync/errgroup github.com/grafana/grafana/vendor/golang.org/x/oauth2 github.com/grafana/grafana/vendor/golang.org/x/net/context/ctxhttp github.com/grafana/grafana/vendor/github.com/mattn/go-sqlite3 github.com/grafana/grafana/vendor/github.com/patrickmn/go-cache github.com/grafana/grafana/vendor/github.com/prometheus/common/model github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/request github.com/grafana/grafana/vendor/github.com/go-macaron/binding github.com/grafana/grafana/vendor/github.com/go-macaron/session github.com/grafana/grafana/vendor/github.com/go-macaron/gzip github.com/grafana/grafana/pkg/api/static github.com/grafana/grafana/vendor/github.com/prometheus/client_golang/api/prometheus github.com/grafana/grafana/vendor/github.com/go-xorm/xorm github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/client github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/corehandlers github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol/rest github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol github.com/grafana/grafana/pkg/setting github.com/grafana/grafana/vendor/github.com/go-macaron/session/postgres github.com/grafana/grafana/vendor/github.com/go-macaron/session/mysql github.com/grafana/grafana/vendor/github.com/go-macaron/session/memcache github.com/grafana/grafana/vendor/github.com/go-macaron/session/redis github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol/query/queryutil github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/credentials/endpointcreds github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/signer/v4 github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol/query github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query github.com/grafana/grafana/pkg/api/avatar github.com/grafana/grafana/pkg/components/securejsondata github.com/grafana/grafana/pkg/services/eventpublisher github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds github.com/grafana/grafana/pkg/models github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/defaults github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/service/sts github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/service/ec2 github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/service/s3 github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/service/cloudwatch github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds github.com/grafana/grafana/pkg/plugins github.com/grafana/grafana/pkg/login github.com/grafana/grafana/pkg/services/search github.com/grafana/grafana/pkg/social github.com/grafana/grafana/pkg/tsdb github.com/grafana/grafana/pkg/services/cleanup github.com/grafana/grafana/vendor/github.com/aws/aws-sdk-go/aws/session github.com/grafana/grafana/pkg/services/notifications github.com/grafana/grafana/pkg/tsdb/testdata github.com/grafana/grafana/pkg/tsdb/graphite github.com/grafana/grafana/pkg/tsdb/influxdb github.com/grafana/grafana/pkg/tsdb/mqe github.com/grafana/grafana/pkg/metrics github.com/grafana/grafana/pkg/api/dtos github.com/grafana/grafana/pkg/tsdb/opentsdb github.com/grafana/grafana/pkg/tsdb/prometheus github.com/grafana/grafana/pkg/api/live github.com/grafana/grafana/pkg/middleware github.com/grafana/grafana/pkg/tsdb/mysql github.com/grafana/grafana/pkg/api/pluginproxy github.com/grafana/grafana/pkg/components/renderer github.com/grafana/grafana/pkg/components/imguploader github.com/grafana/grafana/pkg/services/alerting github.com/grafana/grafana/pkg/services/alerting/conditions github.com/grafana/grafana/pkg/services/alerting/notifiers github.com/grafana/grafana/pkg/api/cloudwatch github.com/grafana/grafana/pkg/api github.com/grafana/grafana/pkg/services/sqlstore/migrator github.com/grafana/grafana/pkg/services/sqlstore/migrations github.com/grafana/grafana/pkg/services/sqlstore github.com/grafana/grafana/pkg/cmd/grafana-server rm -r dist rm -r tmp rm -r /build/grafana/src/gopath/pkg/linux_amd64/github.com/grafana rm -r ./bin/grafana-server rm -r ./bin/grafana-server.md5 go version go version go1.9 linux/amd64 go build -ldflags -w -X main.version=4.3.2 -X main.commit=ed4d170bc -X main.buildstamp=1496220496 -o ./bin/grafana-server ./pkg/cmd/grafana-server rm -r ./bin/grafana-cli rm -r ./bin/grafana-cli.md5 go version go version go1.9 linux/amd64 go build -ldflags -w -X main.version=4.3.2 -X main.commit=ed4d170bc -X main.buildstamp=1496220496 -o ./bin/grafana-cli ./pkg/cmd/grafana-cli -> building the frontend /build/grafana/src/npm/bin/yarn -> /build/grafana/src/npm/lib/node_modules/yarn/bin/yarn.js /build/grafana/src/npm/bin/yarnpkg -> /build/grafana/src/npm/lib/node_modules/yarn/bin/yarn.js + yarn@0.27.5 added 207 packages in 9.276s yarn install v0.27.5 [1/4] Resolving packages... [2/4] Fetching packages... warning fsevents@1.0.17: The platform "linux" is incompatible with this module. info "fsevents@1.0.17" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... [4/4] Building fresh packages... warning Error running install script for optional dependency: "/build/grafana/src/grafana/node_modules/iltorb: Command failed.\nExit code: 1\nCommand: sh\nArguments: -c node-gyp rebuild\nDirectory: /build/grafana/src/grafana/node_modules/iltorb\nOutput:\ngyp info it worked if it ends with ok\ngyp info using node-gyp@3.6.2\ngyp info using node@8.4.0 | linux | x64\ngyp ERR! configure error \ngyp ERR! stack Error: Can't find Python executable \"python\", you can set the PYTHON env variable.\ngyp ERR! stack at PythonFinder.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)\ngyp ERR! stack at PythonFinder. (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)\ngyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)\ngyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)\ngyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16\ngyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5\ngyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5\ngyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)\ngyp ERR! System Linux 4.12.8-2-ARCH\ngyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\ngyp ERR! cwd /build/grafana/src/grafana/node_modules/iltorb\ngyp ERR! node -v v8.4.0\ngyp ERR! node-gyp -v v3.6.2\ngyp ERR! not ok" info This module is OPTIONAL, you can safely ignore this error error /build/grafana/src/grafana/node_modules/node-sass: Command failed. Exit code: 1 Command: sh Arguments: -c node scripts/build.js Directory: /build/grafana/src/grafana/node_modules/node-sass Output: Building: /usr/bin/node /build/grafana/src/grafana/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ '/usr/bin/node', gyp verb cli '/build/grafana/src/grafana/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.5.0 gyp info using node@8.4.0 | linux | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb `which` failed Error: not found: python2 gyp verb `which` failed at getNotFoundError (/build/grafana/src/grafana/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/build/grafana/src/grafana/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/build/grafana/src/grafana/node_modules/which/which.js:80:29) gyp verb `which` failed at /build/grafana/src/grafana/node_modules/which/which.js:89:16 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/index.js:44:5 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/access.js:8:5 gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:135:15) gyp verb `which` failed python2 { Error: not found: python2 gyp verb `which` failed at getNotFoundError (/build/grafana/src/grafana/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/build/grafana/src/grafana/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/build/grafana/src/grafana/node_modules/which/which.js:80:29) gyp verb `which` failed at /build/grafana/src/grafana/node_modules/which/which.js:89:16 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/index.js:44:5 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/access.js:8:5 gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:135:15) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` failed Error: not found: python gyp verb `which` failed at getNotFoundError (/build/grafana/src/grafana/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/build/grafana/src/grafana/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/build/grafana/src/grafana/node_modules/which/which.js:80:29) gyp verb `which` failed at /build/grafana/src/grafana/node_modules/which/which.js:89:16 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/index.js:44:5 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/access.js:8:5 gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:135:15) gyp verb `which` failed python { Error: not found: python gyp verb `which` failed at getNotFoundError (/build/grafana/src/grafana/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/build/grafana/src/grafana/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/build/grafana/src/grafana/node_modules/which/which.js:80:29) gyp verb `which` failed at /build/grafana/src/grafana/node_modules/which/which.js:89:16 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/index.js:44:5 gyp verb `which` failed at /build/grafana/src/grafana/node_modules/isexe/access.js:8:5 gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:135:15) code: 'ENOENT' } gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (/build/grafana/src/grafana/node_modules/node-gyp/lib/configure.js:454:19) gyp ERR! stack at PythonFinder. (/build/grafana/src/grafana/node_modules/node-gyp/lib/configure.js:368:16) gyp ERR! stack at F (/build/grafana/src/grafana/node_modules/which/which.js:68:16) gyp ERR! stack at E (/build/grafana/src/grafana/node_modules/which/which.js:80:29) gyp ERR! stack at /build/grafana/src/grafana/node_modules/which/which.js:89:16 gyp ERR! stack at /build/grafana/src/grafana/node_modules/isexe/index.js:44:5 gyp ERR! stack at /build/grafana/src/grafana/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:135:15) gyp ERR! System Linux 4.12.8-2-ARCH gyp ERR! command "/usr/bin/node" "/build/grafana/src/grafana/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /build/grafana/src/grafana/node_modules/node-sass gyp ERR! node -v v8.4.0 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok Build failed with error code: 1 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/staging-x86_64/erich/build