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

The source-tarball genrated by source-build should work everywhere #1412

Closed
omajid opened this issue Dec 2, 2019 · 5 comments
Closed

The source-tarball genrated by source-build should work everywhere #1412

omajid opened this issue Dec 2, 2019 · 5 comments
Assignees
Labels
area-build Improvements in source-build's own build process

Comments

@omajid
Copy link
Member

omajid commented Dec 2, 2019

Historically, source-build has generated fairly portable source tarballs. If I built the source-build tarball on RHEL 7, for example, I have been able to use it to build source-build on Fedora 29, 30 and 31, as well as RHEL 8.

With the recent reduction in prebuilts, some of this functionality has regressed. Now, I need to build source-build on each platform/architecture. I can't re-use the RHEL 7 tarball on Fedora. I can't build the source-tarball I built on Fedora 31 in Fedora 32.

I think the eventual goal, fitting in with the 0 prebuilts goal, is to not have anything in the source-tarball that's OS/architecture specific. The same source-tarball should be build-able everywhere; the individual doing a build should supply a working SDK (and/or other OS-specific dependencies) to source-build.

@tmds
Copy link
Member

tmds commented Dec 2, 2019

I need to build source-build on each platform/architecture.

Is it a dependency on the rid of the platform that was used to generate the tarball?
Or another platform dependency?

This is related to #298 (create linux-x64 compatible tarball for each release).

@tmds
Copy link
Member

tmds commented Dec 4, 2019

I wonder if we can generate a tarball for the fedora-x64 rid and use it on multiple versions of Fedora...

cc @crummel @dagood

@dseefeld dseefeld added area-build Improvements in source-build's own build process triaged labels Dec 11, 2019
@dseefeld dseefeld added this to the 5.0 milestone Dec 11, 2019
@crummel crummel removed the triaged label Jun 4, 2020
@crummel
Copy link
Contributor

crummel commented Jun 4, 2020

Bringing this one up for triage again because I believe it's relevant to some issues we had with recent releases.

@omajid
Copy link
Member Author

omajid commented Jul 8, 2020

With all the bootstrap work complete, I have had decent success now using the same tarball for building 3.1 on Fedora 32 and 33 on x86_64 and also, separately, on Fedora 33 on x64 and arm64. Are there still any known issues here?

Edit: I am assuming that distro-specific build tools, such as a prebuilt SDK are available separately. Unless we want to create uber-tarballs containing multiple prebuilt SDKs for multiple architectures?

@crummel
Copy link
Contributor

crummel commented Oct 18, 2022

[Scrub] Believe this has been solved with the current prep.sh approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-build Improvements in source-build's own build process
Projects
None yet
Development

No branches or pull requests

5 participants