-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
base-chroot: unified for glibc and musl libc #11052
Conversation
It does not yet work right. I think I need to keep the order of depends rather than what |
Bootstrapping on I think there is some hard coded Edit: Yep, here's the debug output. Somewhere the native architecture is not set or lost:
Running |
It works for me if I specify |
How? I don't see where |
There is a line |
It is required because you need an ada compiler to build ada. Since a package cannot depend on itself, gcc-ada had to become installed as part of base-chroot. Otherwise you would always need to build gcc using a 3rd-party gcc-ada. |
Ada is used e.g. by several of our users and is e.g. used to build some of the coreboot files. |
But if you don't have gnat (built in the chroot as part of gcc) you cannot compile gcc-ada ;-P |
Then gcc-ada would have to be a package independent of gcc and you would always need a 3rd-party gcc, not the void gcc, to build gcc-ada. If you need another argument: |
phew it really took me weeks to solve this somehow. I don't think the + 1/5th of build time for gcc actually matters that much nowadays compared to the trouble of getting it built with 3rd-party toolchains. |
@xtraeme a x86_64 bootstrap is running here now. I can also test a native ppc64 bootstrap but that will take at least 5 hours to finish :) |
superseeded by #11282 |
I believe that this cannot be merged in the usual way because it is a bootstrap package and our builders depend on base-chroot. Thus it needs to be built manually for native before the cross base-chroot packages can be built by the builders.
It is meant to allow for bootstrapping
*-musl
architectures likex86_64-musl
orppc64-musl
.It also removes
archs=noarch
to create per-arch meta packages and avoid problems when forcefully rebuilding. Note that base-chroot-musl already was a per-arch meta package.