[opensuse-buildservice] patching a linked package
Hi, 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 Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Hüwe wrote:
Hi,
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?
$ patch -p0 --dry-run <cyrus-imapd-kolab-testing.spec.diff can't find file to patch at input line 3 Perhaps you used the wrong -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 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored You're trying to patch cyrus-imapd.spec.old not cyrus-imapd.spec. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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=81da923a762664a1...' 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@suse.de 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2007-10-22 10:56:28 +0200, Michael Schroeder wrote:
$ curl -0 -n 'https://api.opensuse.org/source/server:Kolab/_linkerror?rev=81da923a762664a1...' 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...)
can we show that error in the build log some how? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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=81da923a762664a1...' 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Marcus Hüwe
-
Marcus Rueckert
-
Michael Schroeder
-
Michal Marek