Influxdb-cli installing fault

Hi!

I installed influxdb which worked… but later on I found out I needed the client. But when I want to install the influxdb-cli I’m getting a fault.

build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined

Edit will put the whole thing here…

sudo pamac build influxdb-cli
Warning: Building packages as root
Warning: Setting build directory to /var/cache/pamac
Preparing...
Checking influxdb-cli dependencies...
Cloning dep build files...
Running as unit: run-u192.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 244ms
CPU time consumed: 58ms
Running as unit: run-u193.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 20ms
CPU time consumed: 19ms
Checking dep dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (2):
  dep           0.5.4-7    AUR
  influxdb-cli  1.8.4-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building dep...
Running as unit: run-u195.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: dep 0.5.4-7 (do 16 sep 2021 17:47:33 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found dep-0.5.4.tar.gz
==> Validating source files with sha256sums...
    dep-0.5.4.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting dep-0.5.4.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined
==> ERROR: A failure occurred in build().
    Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 810ms
CPU time consumed: 968ms

Anyone an idea whats wrong?

DO NOT use sudo with pamac.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.