Mailinglist Archive: opensuse-buildservice (284 mails)

< Previous Next >
Re: [opensuse-buildservice] patching a linked package
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 22 Oct 2007 10:56:28 +0200
  • Message-id: <20071022085628.GA18767@xxxxxxx>
On Sat, Oct 20, 2007 at 04:30:18PM +0200, Marcus Hüwe wrote:
> is there currently a problem with applying a patch to
> a linked package? The webclient simply states: "broken: could not
> apply patch 'cyrus-imapd-kolab-testing.spec.diff'". Is it possbible
> to see where it fails? (I can't find any information in the buildlog).
> It's a very easy patch (I just changed it for testing) and locally it
> works without any problems.
> Project: server:Kolab
> Package: cyrus-imapd-kolab-testing

$ curl -0 -n https://api.opensuse.org/source/server:Kolab/cyrus-imapd-kolab-testing
<directory name="cyrus-imapd-kolab-testing" rev="28" srcmd5="b9542a108def3cbf6fd5f008bf372319" tproject="openSUSE:Factory" tpackage="cyrus-imapd" error="could not apply patch 'cyrus-imapd-kolab-testing.spec.diff'" xsrcmd5="81da923a762664a1b9e2c60f827f7836">
[...]
$ curl -0 -n 'https://api.opensuse.org/source/server:Kolab/_linkerror?rev=81da923a762664a1b9e2c60f827f7836'
applying patch cyrus-imapd-kolab-testing.spec.diff
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- cyrus-imapd.spec.old       2007-10-19 23:09:17.000000000 +0200
|+++ cyrus-imapd.spec.new       2007-10-19 23:17:23.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
 -- saving rejects to file .rejects

could not apply patch 'cyrus-imapd-kolab-testing.spec.diff'

(But 'xsrcmd5' will probably go into a special 'linkinfo' element
in the near future...)

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References