Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 14:49:19 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault
Message-ID:  <20131129134919.GC48960@ithaqua.etoilebsd.net>
In-Reply-To: <201311291039.rATAdqGO078383@mech-cluster241.men.bris.ac.uk>
References:  <20131129082230.GB48960@ithaqua.etoilebsd.net> <201311291039.rATAdqGO078383@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--GZVR6ND4mMseVXL/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 29, 2013 at 02:39:54AM -0800, Anton Shterenlikht wrote:
> >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
> >>=3D20
> >
> >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?
>=20
> There is a typo in the patch:
>=20
> --- 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 =3D=3D 3) {
>  -              if (tolower (p[0]) =3D=3D 'y' && strncasecmp (p, "yes", 3=
) =3D=3D 0) {
> -+              if ((p[0] =3D=3D 'y' || p[0] =3D=3D 'Y') strncasecmp (p, =
"yes", 3) =3D=3D 0) {
> ++              if ((p[0] =3D=3D 'y' || p[0] =3D=3D 'Y') && strncasecmp (=
p, "yes", 3) =3D=3D 0) {
>                         ret =3D true;
>                         val =3D true;
>                 }
>=20
> but, after fixing that, pkg reinstalled fine.
>=20
> 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

--GZVR6ND4mMseVXL/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlKYm18ACgkQ8kTtMUmk6ExXGgCeIQ6McQHlMvPNKLeWdWOFLNBJ
unoAn3/H7sA1kA4EgDhJfcC5/tpdVp/R
=c5Zj
-----END PGP SIGNATURE-----

--GZVR6ND4mMseVXL/--



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