AUR can't build brave browser

I am using brave browser once in a while which is build from AUR. I am seeing currently an error building it:

Building brave...
==> Making package: brave 1.26.77-1 (Di 20 Jul 2021 21:44:57 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning brave-browser git repo...
Cloning into bare repository '/var/tmp/pamac-build-manolo/brave/brave-browser'...
  -> Cloning chromium git repo...
Cloning into bare repository '/var/tmp/pamac-build-manolo/brave/chromium'...
fatal: write error: No space left on device
fatal: fetch-pack: invalid index-pack output
==> ERROR: Failure while downloading chromium git repo
    Aborting...
Failed to build brave

anyone with the same error, possibly a solution?

This is the answer.

1 Like

haha, sure. Sorry … it’s definitely worth it to read error messages

Building brave from AUR downloads 22GB of packages since it compiles both brave and chromium from git.
Build brave-bin instead. Its much smaller than building everything from scratch and it doesn’t make a difference compared to building everything from scratch.
Also, not having to download 22GB of files every-time an update rolls out is a plus.

thx, I’ll give that a try

  1. would it not be helpful to have some sort of explanation like this in the package description?
  2. how would you practically go about adding such info?

The AUR page for this package has many comments suggesting install of brave-bin instead of building from source

And Brave website only recommends brave-bin for Arch and Manjaro