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
Labels
Comments
|
On Dienstag, 18. August 2020, 05:45:03 CEST wrote Bernhard M. Wiedemann:
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.
I would not include it, but add a reference to the version.
And we should consider a way to get merged configs (via multiple project pathes)
in a versioned way.
However, since this is indeed an importent topic, please create a jira
request for this.
thanks
adrian
…--
Adrian Schroeter
email: adrian@suse.de
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
|
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>
|
The other interesting question is then: how do I use the older prjconf for building? |
|
On Donnerstag, 5. November 2020, 11:31:58 CET Bernhard M. Wiedemann wrote:
The other interesting question is then: how do I use the older prjconf for building?
yes, this is just first part for this feature.
…--
Adrian Schroeter <adrian@suse.de>
Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When working on reproducible builds for openSUSE, I try to verify that binaries published by OBS, really correspond to the source code using my
nachbauscript. For that, I grab the old binaries listed in _buildenv into adepsdir and do aosc build -p depsThis 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
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
_buildenvand a way to use that revision later.
It could also include a full copy of the old prjconf either in
_buildenvor 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.
The text was updated successfully, but these errors were encountered: