bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java-related Bison tests all fail


From: Bruno Haible
Subject: Re: Java-related Bison tests all fail
Date: Sun, 11 Feb 2007 13:33:02 +0100
User-agent: KMail/1.5.4

Joel E. Denny wrote:
> I am able to reproduce the problem with coreutils 5.2.1 on both an x86 
> Linux and an x86 Solaris.  I've attached the erroneous output.
> 
> The trouble is the last tr.  The following replacement, which I discovered 
> by trial and error, works.  I just inserted zz after FG:

Thanks. I'm applying this workaround:


2007-02-11  Bruno Haible  <address@hidden>

        * m4/javacomp.m4 (gt_JAVACOMP): Work around a 'tr' bug in coreutils.
        Reported by Joel E. Denny <address@hidden>,

--- m4/javacomp.m4      4 Feb 2007 16:28:01 -0000       1.3
+++ m4/javacomp.m4      11 Feb 2007 12:24:50 -0000
@@ -1,4 +1,4 @@
-# javacomp.m4 serial 9 (gettext-0.16.2)
+# javacomp.m4 serial 10 (gettext-0.16.2)
 dnl Copyright (C) 2001-2003, 2006-2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -86,9 +86,11 @@
        dnl to assume the presence of uudecode, use the command
        dnl   $ od -A n -t o1 < conftestver.class | tr ' ' '\012'| sort | uniq 
| sed -e '/^$/d' -e 's,^,\\,' | tr -d '\012'
        dnl and the long tr command in opposite direction.
+       dnl Finally move the position corresponding to \055 to the last 
position,
+       dnl to work around a coreutils-5.x bug.
        echo 
'xyvw!$!H!C,!)!2+!3!4*!5,!3!6,!7!8)!9)!:"!(LdhdmM"!$EFV"!%Ni_a"!1PdhaQngYakUXYfa"!%gXdh"!8EWPeXoXJfXhcJTmkdhcKFV"!,TinkZaOdfa"!2ZihbmalmoakIeXoX.!*!+)!;.!<!="!<eXoXIljaZdbdZXmdihIoakldih.!>!?)address@hidden"!-Zihbmalmoak"!2eXoXJfXhcJRYeaZm"!2eXoXJfXhcJTplmag"!$inm"!7PeXoXJdiJSkdhmTmkaXgK"!-camSkijakmp"!DEPeXoXJfXhcJTmkdhcKFPeXoXJfXhcJTmkdhcK"!5eXoXJdiJSkdhmTmkaXg"!)jkdhmfh"!7EPeXoXJfXhcJTmkdhcKFV!C!(!)!!!!!#!"!*!+!"!,!!!?!"!"!!!&Gt!"q!!!"!-!!!(!"!!!"!+!.!/!"!,!!!E!#!"!!!.r!#4$u!%s!&q!!!"!-!!!,!#!!!$!-!%!"!0!!!#!1'
 \
          | tr -d '\012\015' \
-         | tr '!"#$%&()*+,-./0123456789:;<=>address@hidden' 
'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\046\050\051\052\055\056\057\073\074\076\103\106\114\116\117\120\123\124\126\133\141\142\143\144\145\146\147\151\152\154\155\156\157\160\162\163\164\165\166\171\261\262\266\267\270\272\276\312\376'
 \
+         | tr '!"#$%&()*+,-./0123456789:;<=>address@hidden' 
'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\046\050\051\052\056\057\073\074\076\103\106\114\116\117\120\123\124\126\133\141\142\143\144\145\146\147\151\152\154\155\156\157\160\162\163\164\165\166\171\261\262\266\267\270\272\276\312\376\055'
 \
          > conftestver.class
        target_version=`{
          unset JAVA_HOME





reply via email to

[Prev in Thread] Current Thread [Next in Thread]