Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 02:39:54 -0800 (PST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        bapt@FreeBSD.org, mexas@bris.ac.uk
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault
Message-ID:  <201311291039.rATAdqGO078383@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20131129082230.GB48960@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>From baptiste.daroussin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291039.rATAdqGO078383>