[opensuse-packaging] problem with branched project

Hi, I have a problem with branched package: the main package has been updated, so I did run "osc pull" to fix it. Apparently it has been "fixed" indeed when I now try to commit changes, I'm getting the following message: openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None When I run "osc diff" on the package it doesn't show all changes, just some - it seems to compare wrong versions of .spec files, because "osc diff openssh.spec" shows correct diferences. Have you encountered something similar? Am I forgetting something or is it a known bug? Thanks Kind regards Petr Cerny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Wed, Feb 02, 2011 at 06:50:13PM +0100, Petr Cerny wrote:
Hi,
I have a problem with branched package: the main package has been updated, so I did run "osc pull" to fix it. Apparently it has been "fixed" indeed when I now try to commit changes, I'm getting the following message:
openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None
When I run "osc diff" on the package it doesn't show all changes, just some - it seems to compare wrong versions of .spec files, because "osc diff openssh.spec" shows correct diferences.
Have you encountered something similar? Am I forgetting something or is it a known bug?
and after running just "osc up"? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Marcus Meissner wrote:
On Wed, Feb 02, 2011 at 06:50:13PM +0100, Petr Cerny wrote:
Hi,
I have a problem with branched package: the main package has been updated, so I did run "osc pull" to fix it. Apparently it has been "fixed" indeed when I now try to commit changes, I'm getting the following message:
openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None
When I run "osc diff" on the package it doesn't show all changes, just some - it seems to compare wrong versions of .spec files, because "osc diff openssh.spec" shows correct diferences.
Have you encountered something similar? Am I forgetting something or is it a known bug?
and after running just "osc up"?
Hmm... doesn't seem to help either: $ osc co The link in this package is currently broken. Checking out the last working version instead; please use 'osc pull' to repair the link. At revision f9cb7e809ad4f4a6845dcdf43ea2b892 $ osc pull Please fix the conflicts (files marked with 'C' above), run 'osc resolved ...', and commit the changes to update the link information. $ osc up skipping 'openssh.spec' (this is due to conflicts) At revision f9cb7e809ad4f4a6845dcdf43ea2b892. $ osc resolved * Resolved conflicted state of ... $ osc ci openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None Petr -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Feb 02, 11 20:26:54 +0100, Petr Cerny wrote:
$ osc ci openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None
osc ci --skip is the fastest way to get it going again. sudo zypper up osc-source_validator may help in the long run. cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) SuSE. Supporting Linux since 1992. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On 02/02/2011 09:26 PM, Petr Cerny wrote:
Marcus Meissner wrote:
On Wed, Feb 02, 2011 at 06:50:13PM +0100, Petr Cerny wrote:
Hi,
I have a problem with branched package: the main package has been updated, so I did run "osc pull" to fix it. Apparently it has been "fixed" indeed when I now try to commit changes, I'm getting the following message:
openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None
When I run "osc diff" on the package it doesn't show all changes, just some - it seems to compare wrong versions of .spec files, because "osc diff openssh.spec" shows correct diferences.
Have you encountered something similar? Am I forgetting something or is it a known bug?
and after running just "osc up"?
Hmm... doesn't seem to help either:
$ osc co The link in this package is currently broken. Checking out the last working version instead; please use 'osc pull' to repair the link. At revision f9cb7e809ad4f4a6845dcdf43ea2b892
$ osc pull Please fix the conflicts (files marked with 'C' above), run 'osc resolved ...', and commit the changes to update the link information.
$ osc up skipping 'openssh.spec' (this is due to conflicts) At revision f9cb7e809ad4f4a6845dcdf43ea2b892.
$ osc resolved * Resolved conflicted state of ...
$ osc ci openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None
Petr I encounter these problems frequently, the new behaviour of osc creating a separate directory for the fixes seems to have improved matters but when I encounter a proverbial brick wall follow these steps: a) Make sure you have your spec file open in an editor, I find kde4.6 kwrite excellent because it tells you when the file you have open has changed and you can view a diff, you have the option to ignore, overwrite or reload. b) Using the web ui view unmerged sources and delete the file _link c) On the command line, use osc linkpac to reinstate the link and if your timing is right you won't even need to use osc linktobranch to change your link to a branch. d) osc up e) osc ci and all is well again.
Of course before you perform these steps, make sure that all is well in your local copy. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Petr Cerny wrote:
Hi,
I have a problem with branched package: the main package has been updated, so I did run "osc pull" to fix it. Apparently it has been "fixed" indeed when I now try to commit changes, I'm getting the following message:
openssh-5.7p1.dif mentioned in spec file does not exist. ERROR: source_validator failed: None
I just found out this missing file is mentioned in the *old* version of .spec. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Dave Plater
-
Juergen Weigert
-
Marcus Meissner
-
Petr Cerny