pkg regression 1.1.4_10 -> 1_2.1: ia64 segfault
Baptiste Daroussin
bapt at FreeBSD.org
Fri Nov 29 13:49:25 UTC 2013
On Fri, Nov 29, 2013 at 02:39:54AM -0800, Anton Shterenlikht wrote:
> >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?
Yes, btw the same bug exists apparently on arm
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131129/91a2891f/attachment.sig>
More information about the freebsd-ports
mailing list