Mailinglist Archive: opensuse-buildservice (284 mails)

< Previous Next >
Re: [opensuse-buildservice] patching a linked package
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Mon, 22 Oct 2007 17:19:14 +0200
  • Message-id: <20071022151914.GC3673@xxxxxxxxxxxxxxxxxxx>
On 2007-10-22 10:56:28 +0200, Michael Schroeder wrote:
> 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'
> 
Thanks - this helped a lot!


Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >