New build counter sync (bcnsynctag) mechanic for Factory
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
Hi, short version: New mechanic will be used, I will submit updates for the critical packages to factory, no one needs to do anything on their own. Longer version: While debugging an issue with too many rebuilds we noticed that we need a more flexible way to set the bcntsynctag. This tag is so far set in OBS package meta for a few packages to enforce the same build numbers in otherwise independend builds. Eg. due to _multibuild or local links. (check osc meta pkg openSUSE:Factory glibc for an example). Since this information belongs actually to the sources and not to the package meta, we introduced a new additional mechanic. This will also solve the issue when working in git projects using pbuild or OBS. For spec files this can be done via #!BcntSyncTag: $TAG syntax 1). The advantage is that it can be done only for selected multibuild flavors, architectures or other conditions. As long the package meta defines the bcntsynctag this has no effect though. But the goal is to get rid of it. You may want to check a real life example: # osc ldiff home:adrianSuSE:branches:Base:System glibc Index: glibc.changes =================================================================== --- glibc.changes (revision 7fb767958d0f7a75bb7cf9f8a6648dc3) +++ glibc.changes (revision 0dcf7cbdf7fbe3fc9d58f0c1b31a50fa) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Aug 10 08:20:26 UTC 2023 - Adrian Schröter <adrian@suse.de> + +- Enforce the name build counter (release number) between x86_64 and i686 build + Other flavors are allowed to divert to avoid triggering a new + bootstrap rebuild + +------------------------------------------------------------------- Wed Aug 2 10:50:32 UTC 2023 - Andreas Schwab <schwab@suse.de> - Update to glibc 2.38 Index: glibc.spec =================================================================== --- glibc.spec (revision 7fb767958d0f7a75bb7cf9f8a6648dc3) +++ glibc.spec (revision 0dcf7cbdf7fbe3fc9d58f0c1b31a50fa) @@ -232,6 +232,8 @@ %if "%flavor" == "i686" ExclusiveArch: i586 i686 BuildArch: i686 +# Enforce the name build counter (release number) between x86_64 and i686 build +#!BcntSyncTag: glibc %endif ### 1) Documentation for the different package formats will appear here when the cloud job picks it up: https://open-build-service.org/help/manuals/obs-user-guide/cha.obs.package_f... -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
participants (1)
-
Adrian Schröter