Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archlinux split packages are rebuilt once for each split #41

Open
fergus-dall opened this issue Dec 27, 2020 · 1 comment
Open

Archlinux split packages are rebuilt once for each split #41

fergus-dall opened this issue Dec 27, 2020 · 1 comment

Comments

@fergus-dall
Copy link

Some PKGBUILD files produce multiple packages. Rebuilderd is not currently aware of this relationship between the split packages and schedules each one for an independent rebuild, each of which builds all the packages only to ignore all but one of them. Instead a single build should be run, followed by checking all the packages produced.

This is especially an issue for gcc, which takes a long time to build and produces 8 different packages: gcc, gcc-libs, gcc-fortran, gcc-objc, gcc-ada, gcc-go, lib32-gcc-libs, and gcc-d. The whole of gcc is therefore built 8 times when rebuilding archlinux core and any time gcc is updated.

@kpcyrd
Copy link
Owner

kpcyrd commented Dec 27, 2020

We're working on this! :) The latest release introduced the pkgbase, but the relationship is currently still nullable (until rebuildctl pkgs sync migrated everything). The next release is going to migrate this field to NOT NULL and the queue table is going to reference the pkgbase instead. I'd prefer to wait until archlinux/archlinux-repro#86 is released though. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants