You are not logged in.

#1 2020-08-19 09:47:00

karcher
Member
Registered: 2018-01-09
Posts: 140

[SOLVED] Solutions for slow AUR package build process?

Hi all,

I'm currently installing an update of the ungoogled-chromium AUR package. It's over 11 hours since I started the update and is still not finished.
Besides that, it consumes all CPU resources of my system - all 4 cores (8 threads) are busy at 100% because of this.
There are other packages with similar behavior. I think icecat is one of them.
This means, my system is almost unusable and I can not really work during the update process.

So, my question is if there are any solutions to this problem.
How do you guys deal with this?


P.S.
Just to be clear, I'm not blaming the packages or the maintainers. I like these packages that's why I use them. So, this is not a solution: "Don't install such packages".

Last edited by karcher (2020-08-19 12:14:40)

Offline

#2 2020-08-19 09:57:41

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: [SOLVED] Solutions for slow AUR package build process?

Are you sure all your cores are actually in use? If not, that could explain why it takes so long

Offline

#3 2020-08-19 10:03:34

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Solutions for slow AUR package build process?

This is what I see in htop and also in the top bar (red and 100%).

Offline

#4 2020-08-19 10:17:35

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: [SOLVED] Solutions for slow AUR package build process?

This looks like your setup is fairly slow itself.

If the unusable system is a problem for you (e. g. you can't leave the building process running over night), I'd suggest to look for an additional repository that has precompiled versions of the AUR packages you require https://wiki.archlinux.org/index.php/un … positories

Last edited by scrouthtv (2020-08-19 10:18:01)

Offline

#5 2020-08-19 12:14:23

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Solutions for slow AUR package build process?

Thanks!

I've added some user repos in my pacman config. I could update Vivaldi via pacman this way, but I had to ignore some packages, because there were some conflicts.

Not sure if one of the user repos has ungoogled-chromium. I assume, I have to check the user repos one by one.

Offline

#6 2020-08-19 12:40:14

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: [SOLVED] Solutions for slow AUR package build process?

karcher wrote:

I assume, I have to check the user repos one by one.

I'll write you a script for that as soon as I'm back home in 3 hours, because doing it by hand would be a pain to do

Hang in there!

Offline

#7 2020-08-19 14:27:06

scrouthtv
Member
Registered: 2019-10-15
Posts: 38

Re: [SOLVED] Solutions for slow AUR package build process?

TIL it's even easier: https://pkgs.org/download/ungoogled-chromium

Most of unofficial Arch Linux repositories are indexed on https://archlinux.pkgs.org/.

From there, you can simply search for aur packages

Offline

#8 2020-08-19 19:35:47

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Solutions for slow AUR package build process?

Great! Many thanks!

Offline

#9 2020-08-21 20:23:29

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Solutions for slow AUR package build process?

If no existing repo has it, or else you simply don't want to trust random repos, you can use OpenSUSE's publicly available https://build.opensuse.org/ build service. It supports building pacman packages in archlinux virtual machines and creating package repositories. It's offered as a public service, and the only thing you can upload is the PKGBUILD recipe and source code references, so it's also much easier to vet than someone's precompiled package -- you know the publicly posted PKGBUILD is the one the OpenSUSE Build Service used to build the package.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB