Pamac fails with GOCACHE not defined

I am unable to install obfs4proxy from AUR as root user (not sudo)

pamac install obfs4proxy

Results ins

go: downloading v0.0.0-20211229043746-2f91fcc9fbdb
build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4

Checking gocache:

[root@manjaro asd]# echo $XDG_CACHE_HOME
[root@manjaro asd]# go env GOCACHE

I am running the minimal ARM edition on RPi 3

Pamac doesn’t use root for building.

You might be better of (in this case) with a different AUR helper or do it manually with makepkg.

1 Like

Thanks! Running it as normal user worked fine!

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