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

Why must distcc be installed outside of chroot? #78

Closed
mipimipi opened this issue Nov 13, 2021 · 3 comments
Closed

Why must distcc be installed outside of chroot? #78

mipimipi opened this issue Nov 13, 2021 · 3 comments

Comments

@mipimipi
Copy link

Hi,
I've just a (maybe stupid) question. I would like to use distributed builds via distcc in a chroot using clean-chroot-manager. It's clear that the distcc package must be installed in the chroot. But it seems that it also must be installed outside of the chroot. Why is that?
Thanks,
mipi

@graysky2
Copy link
Owner

graysky2 commented Nov 13, 2021

If you try to build without it, makechrootpkg will throw an error:

==> ERROR: Cannot find the distcc binary required for distributed compilation.
==> ERROR: Could not download sources.

@graysky2
Copy link
Owner

Feel free to reopen if I am mistaken.

@mipimipi
Copy link
Author

@graysky2: Thanks. I investigated that already. makechrootpkg does some consistency checks calling makepkg outside the chroot. This causes the error messages. I thought you know why that is done that way. I might ask the Arch Linux guys.

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