Hi Shivi,

You can try this - start with (unpatched) 0.26.22 and apply the patches
listed here in the specified order:
http://lists.mkgnu.net/pipermail/scmbug-users/2011-March/003301.html
First you go do scmbug folder (i.e. /usr/share/scmbug (or copy of it)). Then
you apply:
patch -p2 < scmbug-customization-0.26.22.patch
and the other patches using -p1
(You shouldn't get any errors when applying the patches)

Yavor

On Wed, Mar 30, 2011 at 09:00, Shivi Arora <[email protected]> wrote:

> HI Yavor,
>
>
>
> Below is the error while applying the patches
>
>
>
> [root@osfspun01 patches]# patch -p1 <
> bugzilla4_p1_version_number_support.patch
>
> can't find file to patch at input line 4
>
> Perhaps you used the wrong -p or --strip option?
>
> The text leading up to this was:
>
> --------------------------
>
> |=== modified file 'scmbug/lib/Scmbug/Daemon/Bugzilla.pm'
>
> |--- scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-07-23 20:45:06 +0000
>
> |+++ scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:00:53 +0000
>
> --------------------------
>
> File to patch: scmbug/lib/Scmbug/Daemon/Bugzilla.pm
>
> scmbug/lib/Scmbug/Daemon/Bugzilla.pm: No such file or directory
>
> Skip this patch? [y]
>
> Skipping patch.
>
> 2 out of 2 hunks ignored
>
> [root@osfspun01 patches]# patch -p1 <
> bugzilla4_p1_version_number_support.patch
>
> can't find file to patch at input line 4
>
> Perhaps you used the wrong -p or --strip option?
>
> The text leading up to this was:
>
> --------------------------
>
> |=== modified file 'scmbug/lib/Scmbug/Daemon/Bugzilla.pm'
>
> |--- scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-07-23 20:45:06 +0000
>
> |+++ scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:00:53 +0000
>
> --------------------------
>
> File to patch: ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> patching file ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> Reversed (or previously applied) patch detected!  Assume -R? [n]
>
> Apply anyway? [n] y
>
> Hunk #1 FAILED at 60.
>
> Hunk #2 FAILED at 595.
>
> 2 out of 2 hunks FAILED -- saving rejects to file
> ../../lib/Scmbug/Daemon/Bugzilla.pm.rej
>
> [root@osfspun01 patches]# patch -p3 <
> bugzilla3_p1_version_number_support.patch
>
> -bash: bugzilla3_p1_version_number_support.patch: No such file or directory
>
> [root@osfspun01 patches]# patch -p3 <
> bugzilla4_p3_email_notification.patch
>
> can't find file to patch at input line 4
>
> Perhaps you used the wrong -p or --strip option?
>
> The text leading up to this was:
>
> --------------------------
>
> |=== modified file 'scmbug/lib/Scmbug/Daemon/Bugzilla.pm'
>
> |--- scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:19:39 +0000
>
> |+++ scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:24:18 +0000
>
> --------------------------
>
> File to patch: ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> patching file ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> Reversed (or previously applied) patch detected!  Assume -R? [n] -R
>
> Apply anyway? [n] y
>
> Hunk #1 FAILED at 1782.
>
> 1 out of 1 hunk FAILED -- saving rejects to file
> ../../lib/Scmbug/Daemon/Bugzilla.pm.rej
>
> [root@osfspun01 patches]# patch -p4 <
> bugzilla3_p4_version_number_support.patch
>
> -bash: bugzilla3_p4_version_number_support.patch: No such file or directory
>
> [root@osfspun01 patches]# ls
>
> bugzilla4_p1_version_number_support.patch
> bugzilla4_p2_version_status_change.patch
> bugzilla4_p3_email_notification.patch  bugzilla4_p4_version_tagging.patch
>
> [root@osfspun01 patches]# patch -p4 < bugzilla4_p4_version_tagging.patch
>
> can't find file to patch at input line 4
>
> Perhaps you used the wrong -p or --strip option?
>
> The text leading up to this was:
>
> --------------------------
>
> |=== modified file 'scmbug/lib/Scmbug/Daemon/Bugzilla.pm'
>
> |--- scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:24:18 +0000
>
> |+++ scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 21:35:44 +0000
>
> --------------------------
>
> File to patch: ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> patching file ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> Reversed (or previously applied) patch detected!  Assume -R? [n] -R
>
> Apply anyway? [n] y
>
> Hunk #1 FAILED at 1351.
>
> 1 out of 1 hunk FAILED -- saving rejects to file
> ../../lib/Scmbug/Daemon/Bugzilla.pm.rej
>
> [root@osfspun01 patches]# cd ../../lib/Scmbug/Daemon/
>
> [root@osfspun01 Daemon]# ls
>
> Bugtracker.pm  Bugzilla.pm.old   Bugzilla.pm.rej  Integration.pm
> Process.pm  RequestTracker.pm         TestDirector.pm       Trapper.pm
>
> Bugzilla.pm    Bugzilla.pm.orig  Daemon.pm        Mantis.pm
> Request.pm  TestDirectorInterface.pl  TestDirectorUtils.pm
>
> [root@osfspun01 Daemon]# mv Bugzilla.pm Bugzilla.pm.1
>
> [root@osfspun01 Daemon]# mv Bugzilla.pm.old Bugzilla.pm
>
> [root@osfspun01 Daemon]# cd _
>
> -bash: cd: _: No such file or directory
>
> [root@osfspun01 Daemon]# cd _
>
> -bash: cd: _: No such file or directory
>
> [root@osfspun01 Daemon]# cd -
>
> /usr/share/scmbug/patch_scmbug_bugzilla4_support/patches
>
> [root@osfspun01 patches]# patch -p3 <
> bugzilla4_p3_email_notification.patch
>
> can't find file to patch at input line 4
>
> Perhaps you used the wrong -p or --strip option?
>
> The text leading up to this was:
>
> --------------------------
>
> |=== modified file 'scmbug/lib/Scmbug/Daemon/Bugzilla.pm'
>
> |--- scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:19:39 +0000
>
> |+++ scmbug/lib/Scmbug/Daemon/Bugzilla.pm       2010-11-11 20:24:18 +0000
>
> --------------------------
>
> File to patch: ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> patching file ../../lib/Scmbug/Daemon/Bugzilla.pm
>
> Reversed (or previously applied) patch detected!  Assume -R? [n] -R
>
> Apply anyway? [n] y
>
> Hunk #1 FAILED at 1782.
>
> 1 out of 1 hunk FAILED -- saving rejects to file
> ../../lib/Scmbug/Daemon/Bugzilla.pm.rej
>
> [root@osfspun01 patches]# cd -
>
> /usr/share/scmbug/lib/Scmbug/Daemon
>
> [root@osfspun01 Daemon]# ls
>
> Bugtracker.pm  Bugzilla.pm.1     Bugzilla.pm.rej  Integration.pm
> Process.pm  RequestTracker.pm         TestDirector.pm       Trapper.pm
>
> Bugzilla.pm    Bugzilla.pm.orig  Daemon.pm        Mantis.pm
> Request.pm  TestDirectorInterface.pl  TestDirectorUtils.pm
>
> [root@osfspun01 Daemon]# mv Bugzilla.pm Bugzilla.pm.old
>
> [root@osfspun01 Daemon]# mv Bugzilla.pm.1 Bugzilla.pm
>
> [root@osfspun01 Daemon]# !/etc
>
> /etc/init.d/scmbug-server start
>
> Starting SCM to bug-tracking integration daemon: scmbug_daemonCan't locate
> List/MoreUtils.pm in @INC (@INC contains: /usr/share/scmbug/lib
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at
> /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 25.
>
> BEGIN failed--compilation aborted at
> /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 25.
>
> Compilation failed in require at
> /usr/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
>
> BEGIN failed--compilation aborted at
> /usr/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
>
> Compilation failed in require at /usr/sbin/scmbug_daemon.pl line 25.
>
> BEGIN failed--compilation aborted at /usr/sbin/scmbug_daemon.pl line 25.
>
> .
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Shivi Arora
> *Sent:* Wednesday, March 30, 2011 10:58 AM
> *To:* [email protected]; [email protected]
> *Subject:* [scmbug-users] Patched with the
>
>
>
> Hi Yavor,
>
>
>
> I need some help below
>
>
>
> We have Bugzilla 4.0 and scmbug 0.26.22 which has been compiled from
> Source.
>
> I have applied the patch
>
>
>
> # cd /usr/share/scmbug
>
> # patch -p2 < scmbug-customization-0.26.22.patch
>
>
>
>
>
> But now while starting the daemon, I’m getting below error
>
>
>
> root@osfspun01 bugzilla]# /etc/init.d/scmbug-server start
>
> Starting SCM to bug-tracking integration daemon: scmbug_daemonCan't locate
> List/MoreUtils.pm in @INC (@INC contains: /usr/share/scmbug/lib
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at
> /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 25.
>
> BEGIN failed--compilation aborted at
> /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 25.
>
> Compilation failed in require at
> /usr/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
>
> BEGIN failed--compilation aborted at
> /usr/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
>
> Compilation failed in require at /usr/sbin/scmbug_daemon.pl line 25.
>
> BEGIN failed--compilation aborted at /usr/sbin/scmbug_daemon.pl line 25.
>
> .
>
>
>
> I have installed the List:: MoreUtils
>
>
>
> Installing List::MoreUtils version 0.30...
>
> List::MoreUtils is up to date (0.30).
>
>
>
>
>
>
>
> Regards
>
> --Shivi
>
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to