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

Anton Shterenlikht mexas at bris.ac.uk
Fri Nov 29 10:40:28 UTC 2013


>From baptiste.daroussin at 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.000000000 +0000
+++ patch-workaround-ia64       2013-11-29 08:48:54.000000000 +0000
@@ -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


More information about the freebsd-ports mailing list