Re: pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault

2013-11-29 Thread Baptiste Daroussin
On Fri, Nov 29, 2013 at 02:39:54AM -0800, Anton Shterenlikht wrote:
> >From baptiste.darous...@gmail.com Fri Nov 29 08:39:29 2013
> >
> >On Wed, Nov 27, 2013 at 01:04:38AM -0800, Anton Shterenlikht wrote:
> >> http://eis.bris.ac.uk/~mexas/pkg-1.2_1.log
> >>=20
> >
> >This is in fact more a platform problem, this patch
> >http://people.freebsd.org/~bapt/patch-workaround-ia64 should workaround it.
> >
> >Can you add it to ports-mgmt/pkg/files and rebuild?
> 
> There is a typo in the patch:
> 
> --- patch-workaround-ia64.orig   2013-11-29 10:34:10.0 +
> +++ patch-workaround-ia64   2013-11-29 08:48:54.0 +
> @@ -21,7 +21,7 @@
> }
> else if (len == 3) {
>  -  if (tolower (p[0]) == 'y' && strncasecmp (p, "yes", 3) == 0) {
> -+  if ((p[0] == 'y' || p[0] == 'Y') strncasecmp (p, "yes", 3) == 
> 0) {
> ++  if ((p[0] == 'y' || p[0] == 'Y') && strncasecmp (p, "yes", 3) 
> == 0) {
> ret = true;
> val = true;
> }
> 
> but, after fixing that, pkg reinstalled fine.
> 
> Are you planning of adding this patch to the port?
> When you say it's a platform problem, do you
> mean there is some bug on ia64, that should be fixed?

Yes, btw the same bug exists apparently on arm

regards,
Bapt


pgpcthhY9Q3dJ.pgp
Description: PGP signature


Re: pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault

2013-11-29 Thread Anton Shterenlikht
>From baptiste.darous...@gmail.com Fri Nov 29 08:39:29 2013
>
>On Wed, Nov 27, 2013 at 01:04:38AM -0800, Anton Shterenlikht wrote:
>> http://eis.bris.ac.uk/~mexas/pkg-1.2_1.log
>>=20
>
>This is in fact more a platform problem, this patch
>http://people.freebsd.org/~bapt/patch-workaround-ia64 should workaround it.
>
>Can you add it to ports-mgmt/pkg/files and rebuild?

There is a typo in the patch:

--- patch-workaround-ia64.orig   2013-11-29 10:34:10.0 +
+++ patch-workaround-ia64   2013-11-29 08:48:54.0 +
@@ -21,7 +21,7 @@
}
else if (len == 3) {
 -  if (tolower (p[0]) == 'y' && strncasecmp (p, "yes", 3) == 0) {
-+  if ((p[0] == 'y' || p[0] == 'Y') strncasecmp (p, "yes", 3) == 
0) {
++  if ((p[0] == 'y' || p[0] == 'Y') && strncasecmp (p, "yes", 3) 
== 0) {
ret = true;
val = true;
}

but, after fixing that, pkg reinstalled fine.

Are you planning of adding this patch to the port?
When you say it's a platform problem, do you
mean there is some bug on ia64, that should be fixed?

Thank you

Anton
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault

2013-11-29 Thread Baptiste Daroussin
On Wed, Nov 27, 2013 at 01:04:38AM -0800, Anton Shterenlikht wrote:
> http://eis.bris.ac.uk/~mexas/pkg-1.2_1.log
> 

This is in fact more a platform problem, this patch
http://people.freebsd.org/~bapt/patch-workaround-ia64 should workaround it.

Can you add it to ports-mgmt/pkg/files and rebuild?

regards,
Bapt


pgpCTjMha78zj.pgp
Description: PGP signature


pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault

2013-11-27 Thread Anton Shterenlikht
http://eis.bris.ac.uk/~mexas/pkg-1.2_1.log

Anton
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"