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

Include prjconf in _buildenv #10020

Closed
bmwiedemann opened this issue Aug 18, 2020 · 3 comments · Fixed by #10346
Closed

Include prjconf in _buildenv #10020

bmwiedemann opened this issue Aug 18, 2020 · 3 comments · Fixed by #10346
Labels

Comments

@bmwiedemann
Copy link
Member

When working on reproducible builds for openSUSE, I try to verify that binaries published by OBS, really correspond to the source code using my nachbau script. For that, I grab the old binaries listed in _buildenv into a deps dir and do a osc build -p deps
This regularly breaks when prjconf gets updated in certain ways.
E.g. atm I get unresolvable: nothing provides libpython3_8-1_0 = 3.8.5 needed by python38-base, (got version 3.8.3-4.2)
maybe because

osc meta prjconf openSUSE:Factory
FileProvides: /usr/bin/python3 python38-base

Describe the solution you'd like
I would like to have a way to build with the prjconf used for the old build.
This at least needs a reference to the prjconf revision in _buildenv
and a way to use that revision later.

It could also include a full copy of the old prjconf either in _buildenv or a separate _prjconf .
And if OBS/osc would allow builds with a custom prjconf, that might also be a nice addition for debugging and testing

Describe alternatives you've considered
I could use old revisions from
https://github.com/bmwiedemann/openSUSE/blob/master/packages/_/_project/_config
but so far, finding the right version is not trivial and using it for OBS-resolution is not possible.

@adrianschroeter
Copy link
Member

adrianschroeter commented Aug 18, 2020 via email

eduardoj added a commit to eduardoj/open-build-service that referenced this issue Oct 26, 2020
... inside of buildenv.

This allows in reproducible builds to build with the prjconf used
for the old build.

Fixes openSUSE#10020.

Co-authored-by: Sumit Jamgade <sjamgade@suse.de>
@bmwiedemann
Copy link
Member Author

The other interesting question is then: how do I use the older prjconf for building?

@adrianschroeter
Copy link
Member

adrianschroeter commented Nov 5, 2020 via email

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

Successfully merging a pull request may close this issue.

3 participants