VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
admin at tootai.net Guest
|
Posted: Wed Jul 08, 2015 8:15 am Post subject: [asterisk-users] 11.18.0 patch against 11.17.0 running versi |
|
|
Hi list,
we wanted to patch our servers with 11.18.0 patch against 11.17.0 actual
running version. Patch failed with
zone-s:/usr/src/asterisk-11.18.0# patch --dry-run -p0 <
../asterisk-11.18.0-patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/.version b/.version
|index c5df2aa..150754a 100644
|--- a/.version
|+++ b/.version
--------------------------
File to patch:
It seems that patch file for 11.18.0 are completely different from
previous one. Patch for 11.17.0 looked like (first 3 lines)
--- asterisk-11.16.0-summary.html (.../11.16.0) (revision 433916)
+++ asterisk-11.16.0-summary.html (.../11.17.0) (revision 433916)
@@ -1,307 +0,0 @@
which is different from 11.18.0
diff --git a/.version b/.version
index c5df2aa..150754a 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
OS is Debian Wheezy 7.8
What are we doing wrong ?
Thanks for any hint
--
Daniel
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
rmudgett at digium.com Guest
|
Posted: Wed Jul 08, 2015 10:37 am Post subject: [asterisk-users] 11.18.0 patch against 11.17.0 running versi |
|
|
On Wed, Jul 8, 2015 at 8:14 AM, Administrator TOOTAI <admin@tootai.net (admin@tootai.net)> wrote:
Quote: | Hi list,
we wanted to patch our servers with 11.18.0 patch against 11.17.0 actual running version. Patch failed with
zone-s:/usr/src/asterisk-11.18.0# patch --dry-run -p0 < ../asterisk-11.18.0-patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/.version b/.version
|index c5df2aa..150754a 100644
|--- a/.version
|+++ b/.version
--------------------------
File to patch:
It seems that patch file for 11.18.0 are completely different from previous one. Patch for 11.17.0 looked like (first 3 lines)
--- asterisk-11.16.0-summary.html    (.../11.16.0) (revision 433916)
+++ asterisk-11.16.0-summary.html    (.../11.17.0) (revision 433916)
@@ -1,307 +0,0 @@
which is different from 11.18.0
diff --git a/.version b/.version
index c5df2aa..150754a 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
OS is Debian Wheezy 7.8
What are we doing wrong ?
|
The two patch files were created by different version control systems. One was created by git
the other created by subversion. For the git patch you would need to use -p1 for the subversion
patch you would need to use -p0. The patch program gave you this hint when it failed to apply
the patch: "Perhaps you used the wrong -p or --strip option?".
Richard |
|
Back to top |
|
|
admin at tootai.net Guest
|
Posted: Wed Jul 08, 2015 5:29 pm Post subject: [asterisk-users] 11.18.0 patch against 11.17.0 running versi |
|
|
Le 08/07/2015 17:36, Richard Mudgett a écrit :
Quote: |
On Wed, Jul 8, 2015 at 8:14 AM, Administrator TOOTAI <admin@tootai.net
<mailto:admin@tootai.net>> wrote:
Hi list,
we wanted to patch our servers with 11.18.0 patch against 11.17.0
actual running version. Patch failed with
zone-s:/usr/src/asterisk-11.18.0# patch --dry-run -p0 <
../asterisk-11.18.0-patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/.version b/.version
|index c5df2aa..150754a 100644
|--- a/.version
|+++ b/.version
--------------------------
File to patch:
|
[SNIP]
Quote: |
The two patch files were created by different version control systems.
One was created by git
the other created by subversion. For the git patch you would need to
use -p1 for the subversion
patch you would need to use -p0. The patch program gave you this hint
when it failed to apply
the patch: "Perhaps you used the wrong -p or --strip option?".
|
We already tried with no luck:
zone-s:/usr/src/asterisk-11.18.0# patch --dry-run -p1 <
../asterisk-11.18.0-patch
patching file .version
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file .version.rej
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
The next patch would delete the file asterisk-11.18.0-rc1-summary.html,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file asterisk-11.18.0-rc1-summary.txt,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file asterisk-11.18.0-summary.html
patching file asterisk-11.18.0-summary.txt
As you can see, patch is against -rc1 not 11.17.0 ...
Thanks for your support.
--
Daniel
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Thu Jul 09, 2015 10:07 am Post subject: [asterisk-users] 11.18.0 patch against 11.17.0 running versi |
|
|
On Thu, Jul 09, 2015 at 12:28:15AM +0200, Administrator TOOTAI wrote:
Quote: | zone-s:/usr/src/asterisk-11.18.0# patch --dry-run -p1 <
../asterisk-11.18.0-patch
patching file .version
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file .version.rej
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
The next patch would delete the file asterisk-11.18.0-rc1-summary.html,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file asterisk-11.18.0-rc1-summary.txt,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file asterisk-11.18.0-summary.html
patching file asterisk-11.18.0-summary.txt
As you can see, patch is against -rc1 not 11.17.0 ...
|
The content of files has changed. patch refuses to change from an
unfamiliar content.
Either edit the patch file and remove .version (edit the version
manually) or edit the patch file and edit the version form 11.7.0 to
11.8.0 .
The content of the files you refer to is normally insignificant to the
behaviour of Asterisk. Just remove them from the patch and be done with
it.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
admin at tootai.net Guest
|
Posted: Fri Jul 10, 2015 6:09 am Post subject: [asterisk-users] 11.18.0 patch against 11.17.0 running versi |
|
|
Le 09/07/2015 17:05, Tzafrir Cohen a écrit :
Quote: | On Thu, Jul 09, 2015 at 12:28:15AM +0200, Administrator TOOTAI wrote:
Quote: | zone-s:/usr/src/asterisk-11.18.0# patch --dry-run -p1 <
../asterisk-11.18.0-patch
patching file .version
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file .version.rej
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
The next patch would delete the file asterisk-11.18.0-rc1-summary.html,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file asterisk-11.18.0-rc1-summary.txt,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file asterisk-11.18.0-summary.html
patching file asterisk-11.18.0-summary.txt
As you can see, patch is against -rc1 not 11.17.0 ...
|
The content of files has changed. patch refuses to change from an
unfamiliar content.
Either edit the patch file and remove .version (edit the version
manually) or edit the patch file and edit the version form 11.7.0 to
11.8.0 .
The content of the files you refer to is normally insignificant to the
behaviour of Asterisk. Just remove them from the patch and be done with
it.
|
Well take a look in the file, this patch is only for:
--- a/.version
+++ b/.version
--- a/ChangeLog
+++ b/ChangeLog
--- a/asterisk-11.18.0-rc1-summary.html
+++ /dev/null
--- a/asterisk-11.18.0-rc1-summary.txt
+++ /dev/null
--- /dev/null
+++ b/asterisk-11.18.0-summary.txt
Definitely something is wrong with this patch.
We reinstalled our servers from full tar.gz
Thanks for your support
--
Daniel
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jrees at gmlnt.com Guest
|
Posted: Fri Jul 10, 2015 6:09 am Post subject: [asterisk-users] 11.18.0 patch against 11.17.0 running versi |
|
|
Hello, Thank you for your email. I am currently out of the office and will return on Monday 13th July. Whilst I will periodically be checking my emails, your email has been forwarded to info@gmlnt.com. If your query is urgent then please contact 01255 851 999 and press option 1 to speak to one of my colleagues. Regards, Jamie Rees GML Networking Technologies |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|