[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-buildservice
Subject: Re: broken packages under certain circumstances
From: Hans-Peter Jansen <hpj () urpla ! net>
Date: 2021-08-18 9:06:49
Message-ID: 4901406.nrqt3mCdqa () xrated
[Download RAW message or body]
Am Sonntag, 25. Juli 2021, 09:57:21 CEST schrieb Stephan Kulow:
> On 7/24/21 6:27 PM, Hans-Peter Jansen wrote:
> > Hi Stephan, thanks for the hint. This reveals two further questions:
> > * should I create a GH issue?
>
> If there was no conflicting edits happening in between accepting requests,
> then yes. This is something OBS handled previously - only if devel project
> "moved on" after creating the request, it became a conflict.
>
> > * can you point me to a package, that uses a branch for development
>
> I would say all of them - branch is the default, link is only used nowadays
> for packages following another project without changes on their own.
>
> E.g.
> https://build.opensuse.org/package/view_file/graphics/GraphicsMagick/_link?e
> xpand=0
Well, I encountered a related issue today:
https://build.opensuse.org/package/show/graphics/OpenImageIO
After Richard accepted this two days ago, it got into broken state (cannot
apply project.diff).
Then I did:
$ osc co OpenImageIO
A OpenImageIO
The link in this package ("OpenImageIO") is currently broken. Checking
out the last working version instead; please use 'osc pull'
to merge the conflicts.
A OpenImageIO/OpenImageIO.changes
A OpenImageIO/OpenImageIO.spec
A OpenImageIO/oiio-2.2.17.0.tar.gz
At revision 1156a706433cf7db5a395886e397886d.
$ osc linktobranch
Server returned an error: HTTP Error 400: Bad Request
could not apply patch 'project.diff'
At this point, I repaired the package the usual way: edit _link to remove the
outdated operations in <patches/>, and deleted the superfluous files
oiio-2.2.17.0.tar.gz and project.diff.
All fine at this point. Now it gets interesting.
$ osc linktobranch
A oiio-2.2.13.1.tar.gz
D oiio-2.2.17.0.tar.gz
U OpenImageIO.changes
U OpenImageIO.spec
At revision ab911349e5c10e0ed87bfead12463e40.
Ouch. WTH.
Even more interesting: OBS is fine at this point. Checking out the package
again, we're back to business:
$ osc co OpenImageIO
A OpenImageIO
A OpenImageIO/OpenImageIO.changes
A OpenImageIO/OpenImageIO.spec
A OpenImageIO/oiio-2.2.17.0.tar.gz
At revision 6b19bc6e405bbb1205749f8e21f5f607.
The linktobranch side effect puzzles me.
Cheers,
Pete
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic