From MAILER-DAEMON Sat Dec 01 21:14:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tez4s-0006o5-3E
	for mharc-bug-bison@gnu.org; Sat, 01 Dec 2012 21:14:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56587)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stevebravy@aol.com>) id 1Tez4p-0006kZ-DH
	for bug-bison@gnu.org; Sat, 01 Dec 2012 21:14:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stevebravy@aol.com>) id 1Tez4o-0004dH-NJ
	for bug-bison@gnu.org; Sat, 01 Dec 2012 21:14:39 -0500
Received: from oms-mc04.r1000.mx.aol.com ([64.12.81.69]:38448)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stevebravy@aol.com>)
	id 1Tez4m-0004d2-RG; Sat, 01 Dec 2012 21:14:36 -0500
Received: from mtaomg-da02.r1000.mx.aol.com (mtaomg-da02.r1000.mx.aol.com
	[172.29.51.138])
	by oms-mc04.r1000.mx.aol.com (AOL Outbound OMS Interface) with ESMTP id
	4B6FD3800012B; Sat,  1 Dec 2012 21:14:36 -0500 (EST)
Received: from core-za002.r1000.mail.aol.com (core-za002.r1000.mail.aol.com
	[172.26.96.72])
	by mtaomg-da02.r1000.mx.aol.com (OMAG/Core Interface) with ESMTP id
	EE4EEE000085; Sat,  1 Dec 2012 21:14:35 -0500 (EST)
To: martin.wehling@eglin.af.mil, service@bookcloseouts.com, 
	help-bison-request@gnu.org, bison-patches@gnu.org, eggert@cs.ucla.edu, 
	bug-bison@gnu.org, olav.groehn@signalkontor.com, bob@brasko.net, 
	us-sales@xanalys.com
Subject: 
X-MB-Message-Source: WebUI
X-MB-Message-Type: User
MIME-Version: 1.0
From: Steve Bravy <stevebravy@aol.com>
X-Mailer: AOL Webmail 37208-BASIC
Received: from 81.165.179.192 by webmail-d075.sysops.aol.com (205.188.181.101)
	with HTTP (WebMailUI); Sat, 01 Dec 2012 21:14:35 -0500
Message-Id: <8CF9E49E8C3C8D0-5CC-3F357@webmail-d075.sysops.aol.com>
X-Originating-IP: [81.165.179.192]
Date: Sat, 1 Dec 2012 21:14:35 -0500 (EST)
x-aol-global-disposition: S
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
	s=20121107; t=1354414476;
	bh=P4zm8Ve66sAJ0UYedwViQSqAbvij7zbvPXTP7RmGiHg=;
	h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type;
	b=lexOatZ9Tz4veEl2ZL4PqtoMlOjg5VVWBk72zi+eLMuzzlaDHB5JSytxArcygpyNI
	nAl1YvwiC64XcDqsgwu/Ah+4+XO6IOC7vuTGJ2gdHZjeC5zxuT0byGNb20F3waM+vA
	fp+Ha0l7GUxhWM+4bypV+wbNL2+xurqNDWTySGvY=
X-AOL-SCOLL-SCORE: 0:2:102878320:93952408  
X-AOL-SCOLL-URL_COUNT: 0  
X-AOL-REROUTE: YES 
x-aol-sid: 3039ac1d338a50bab98b24c3
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 64.12.81.69
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Dec 2012 02:14:40 -0000

http://janitorjack.com/wp-content/themes/twentyten/google.html


From MAILER-DAEMON Fri Dec 07 06:04:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tgviz-00044N-A6
	for mharc-bug-bison@gnu.org; Fri, 07 Dec 2012 06:04:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59326)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tgviv-00044C-99
	for bug-bison@gnu.org; Fri, 07 Dec 2012 06:04:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tgvio-0001k9-Gc
	for bug-bison@gnu.org; Fri, 07 Dec 2012 06:04:05 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:45712
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tgvio-0001k5-7o; Fri, 07 Dec 2012 06:03:58 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tgvim-0007LT-91; Fri, 07 Dec 2012 12:03:56 +0100
From: Akim Demaille <akim@lrde.epita.fr>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: bison-2.6.90 released [beta]
Date: Fri, 7 Dec 2012 12:03:56 +0100
Message-Id: <01318FED-3CB0-4132-9C06-2DD12CC613BD@lrde.epita.fr>
To: Bison Bugs <bug-bison@gnu.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: coordinator@translationproject.org, Bison Help <help-bison@gnu.org>,
	Bison Patches <bison-patches@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 11:04:08 -0000

The Bison team is happy to announce the forthcoming release of Bison
2.7.  There are many nice new features (especially in the way the
diagnostics are produced, and in the graph representation of the
parser), implemented by Th=E9ophile Ranquet for most of them.  See the
list below.

Please, do check this tarball on your projects, so that we can make a
trustable release Bison 2.7 next week.

Cheers!

Here are the compressed sources:
  ftp://alpha.gnu.org/gnu/bison/bison-2.6.90.tar.gz   (2.9MB)
  ftp://alpha.gnu.org/gnu/bison/bison-2.6.90.tar.xz   (1.6MB)

Here are the GPG detached signatures[*]:
  ftp://alpha.gnu.org/gnu/bison/bison-2.6.90.tar.gz.sig
  ftp://alpha.gnu.org/gnu/bison/bison-2.6.90.tar.xz.sig

Use a mirror for higher download bandwidth:
  http://www.gnu.org/order/ftp.html

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify bison-2.6.90.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver keys.gnupg.net --recv-keys 0DDCAA3278D5264E

and rerun the 'gpg --verify' command.

This release was bootstrapped with the following tools:
  Autoconf 2.69
  Automake 1.12.5
  Flex 2.5.37
  Gettext 0.18.1
  Gnulib v0.0-7734-gc457e70

NEWS

* Noteworthy changes in release 2.6.90 (2012-12-07) [beta]

** Bug fixes

  Warnings about uninitialized yylloc in yyparse have been fixed.

** %language is no longer an experimental feature.

  The introduction of this feature, in 2.4, was four years ago. The =
--language
  option and the %language directive are no longer experimental.

** New format for error reports: carets

  Caret errors have been added to Bison, for example (taken from the
  documentation):

    input.y:3.20-23: error: ambiguous reference: '$exp'
     exp: exp '+' exp { $exp =3D $1 + $3; };
                        ^^^^
    input.y:3.1-3:       refers to: $exp at $$
     exp: exp '+' exp { $exp =3D $1 + $3; };
     ^^^
    input.y:3.6-8:       refers to: $exp at $1
     exp: exp '+' exp { $exp =3D $1 + $3; };
          ^^^
    input.y:3.14-16:     refers to: $exp at $3
     exp: exp '+' exp { $exp =3D $1 + $3; };
                  ^^^

  The default behaviour for now is still not to display these unless =
explictly
  asked with -fall of -fcaret. However, in a later release, it will be =
made the
  default behavior (but may still be deactivated with -fno-caret).

** New value for %define variable: api.pure full

  The %define variable api.pure requests a pure (reentrant) parser. =
However,
  for historical reasons, using it in a location-tracking Yacc parser =
resulted
  in a yyerror function that did not take a location as a parameter. =
With this
  new value, the user may request a better pure parser, where yyerror =
does take
  a location as a parameter (in location-tracking parsers).

  The use of "%define api.pure true" is deprecated in favor of this new
  "%define api.pure full".

** Changes in the format of error messages

  This used to be the format of many error reports:

    foo.y:5.10-24: result type clash on merge function 'merge': <t3> !=3D =
<t2>
    foo.y:4.13-27: previous declaration

  It is now:

    foo.y:5.10-25: result type clash on merge function 'merge': <t3> !=3D =
<t2>
    foo.y:4.13-27:     previous declaration

** Exception safety (lalr1.cc)

  The parse function now catches exceptions, uses the %destructors to
  release memory (the lookahead symbol and the symbols pushed on the =
stack)
  before re-throwing the exception.

  This feature is somewhat experimental.  User feedback would be
  appreciated.

** New %define variable: api.location.type (glr.cc, lalr1.cc, =
lalr1.java)

  The %define variable api.location.type defines the name of the type to =
use
  for locations.  When defined, Bison no longer generates the =
position.hh
  and location.hh files, nor does the parser will include them: the user =
is
  then responsible to define her type.

  This can be used in programs with several parsers to factor their =
location
  and position files: let one of them generate them, and the others just =
use
  them.

  This feature was actually introduced, but not documented, in Bison =
2.5,
  under the name "location_type" (which is maintained for backward
  compatibility).

  For consistency, lalr1.java's %define variables location_type and
  position_type are deprecated in favor of api.location.type and
  api.position.type.

** Graph improvements in DOT and XSLT

  The graphical presentation of the states is more readable: their shape =
is
  now rectangular, the state number is clearly displayed, and the items =
are
  numbered and left-justified.

  The reductions are now explicitly represented as transitions to other
  diamond shaped nodes.

  These changes are present in both --graph output and xml2dot.xsl XSLT
  processing, with minor (documented) differences.

  Two nodes were added to the documentation: Xml and Graphviz.

** Documentation

  The sections about shift/reduce and reduce/reduce conflicts resolution
  have been fixed and extended.




From MAILER-DAEMON Wed Dec 12 11:09:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tios9-0005WJ-Sm
	for mharc-bug-bison@gnu.org; Wed, 12 Dec 2012 11:09:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56554)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tiorx-0005Pu-Sb
	for bug-bison@gnu.org; Wed, 12 Dec 2012 11:09:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tiorq-0007ns-2w
	for bug-bison@gnu.org; Wed, 12 Dec 2012 11:09:13 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:48813
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TiorP-0007kE-E5; Wed, 12 Dec 2012 11:08:39 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TiorN-0005rY-89; Wed, 12 Dec 2012 17:08:37 +0100
From: Akim Demaille <akim@lrde.epita.fr>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: bison-2.7 released [stable]
Date: Wed, 12 Dec 2012 17:08:43 +0100
Message-Id: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
To: GNU Announcements List <info-gnu@gnu.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: "coordinator@translationproject.org" <coordinator@translationproject.org>,
	Bison Help <help-bison@gnu.org>, Bison Bugs <bug-bison@gnu.org>,
	Bison Patches <bison-patches@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 16:09:24 -0000

The Bison team is happy to announce the release of Bison 2.7.  There are
many nice new features (especially in the way the diagnostics are =
produced,
and in the graph representation of the parser), implemented by Th=E9ophile=

Ranquet for most of them.  See the list below.

Cheers!

Here are the compressed sources:
  ftp://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz   (3.0MB)
  ftp://ftp.gnu.org/gnu/bison/bison-2.7.tar.xz   (1.7MB)

Here are the GPG detached signatures[*]:
  ftp://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz.sig
  ftp://ftp.gnu.org/gnu/bison/bison-2.7.tar.xz.sig

Use a mirror for higher download bandwidth:
  http://www.gnu.org/order/ftp.html

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify bison-2.7.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver keys.gnupg.net --recv-keys 0DDCAA3278D5264E

and rerun the 'gpg --verify' command.

This release was bootstrapped with the following tools:
  Autoconf 2.69
  Automake 1.12.5
  Flex 2.5.37
  Gettext 0.18.1
  Gnulib v0.0-7741-g4a8c422

NEWS

* Noteworthy changes in release 2.7 (2012-12-12) [stable]

** Bug fixes

  Warnings about uninitialized yylloc in yyparse have been fixed.

  Restored C90 compliance (yet no report was ever made).

** Diagnostics are improved

*** Changes in the format of error messages

  This used to be the format of many error reports:

    input.y:2.7-12: %type redeclaration for exp
    input.y:1.7-12: previous declaration

  It is now:

    input.y:2.7-12: error: %type redeclaration for exp
    input.y:1.7-12:     previous declaration

*** New format for error reports: carets

  Caret errors have been added to Bison:

    input.y:2.7-12: error: %type redeclaration for exp
     %type <sval> exp
           ^^^^^^
    input.y:1.7-12:     previous declaration
     %type <ival> exp
           ^^^^^^

  or

    input.y:3.20-23: error: ambiguous reference: '$exp'
     exp: exp '+' exp { $exp =3D $1 + $3; };
                        ^^^^
    input.y:3.1-3:       refers to: $exp at $$
     exp: exp '+' exp { $exp =3D $1 + $3; };
     ^^^
    input.y:3.6-8:       refers to: $exp at $1
     exp: exp '+' exp { $exp =3D $1 + $3; };
          ^^^
    input.y:3.14-16:     refers to: $exp at $3
     exp: exp '+' exp { $exp =3D $1 + $3; };
                  ^^^

  The default behaviour for now is still not to display these unless
  explictly asked with -fcaret (or -fall). However, in a later release, =
it
  will be made the default behavior (but may still be deactivated with
  -fno-caret).

** New value for %define variable: api.pure full

  The %define variable api.pure requests a pure (reentrant) parser. =
However,
  for historical reasons, using it in a location-tracking Yacc parser
  resulted in a yyerror function that did not take a location as a
  parameter. With this new value, the user may request a better pure =
parser,
  where yyerror does take a location as a parameter (in =
location-tracking
  parsers).

  The use of "%define api.pure true" is deprecated in favor of this new
  "%define api.pure full".

** New %define variable: api.location.type (glr.cc, lalr1.cc, =
lalr1.java)

  The %define variable api.location.type defines the name of the type to =
use
  for locations.  When defined, Bison no longer generates the =
position.hh
  and location.hh files, nor does the parser will include them: the user =
is
  then responsible to define her type.

  This can be used in programs with several parsers to factor their =
location
  and position files: let one of them generate them, and the others just =
use
  them.

  This feature was actually introduced, but not documented, in Bison =
2.5,
  under the name "location_type" (which is maintained for backward
  compatibility).

  For consistency, lalr1.java's %define variables location_type and
  position_type are deprecated in favor of api.location.type and
  api.position.type.

** Exception safety (lalr1.cc)

  The parse function now catches exceptions, uses the %destructors to
  release memory (the lookahead symbol and the symbols pushed on the =
stack)
  before re-throwing the exception.

  This feature is somewhat experimental.  User feedback would be
  appreciated.

** Graph improvements in DOT and XSLT

  The graphical presentation of the states is more readable: their shape =
is
  now rectangular, the state number is clearly displayed, and the items =
are
  numbered and left-justified.

  The reductions are now explicitly represented as transitions to other
  diamond shaped nodes.

  These changes are present in both --graph output and xml2dot.xsl XSLT
  processing, with minor (documented) differences.

** %language is no longer an experimental feature.

  The introduction of this feature, in 2.4, was four years ago. The
  --language option and the %language directive are no longer =
experimental.

** Documentation

  The sections about shift/reduce and reduce/reduce conflicts resolution
  have been fixed and extended.

  Although introduced more than four years ago, XML and Graphviz reports
  were not properly documented.

  The translation of mid-rule actions is now described.



From MAILER-DAEMON Fri Dec 14 14:15:51 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tjajf-0006J1-AX
	for mharc-bug-bison@gnu.org; Fri, 14 Dec 2012 14:15:51 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48392)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <slavasav@yandex.ru>) id 1TjZO2-0000uE-B1
	for bug-bison@gnu.org; Fri, 14 Dec 2012 12:49:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <slavasav@yandex.ru>) id 1TjZNz-0003HK-Cd
	for bug-bison@gnu.org; Fri, 14 Dec 2012 12:49:26 -0500
Received: from forward7.mail.yandex.net ([77.88.61.37]:53183)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <slavasav@yandex.ru>) id 1TjZNy-0003EJ-QP
	for bug-bison@gnu.org; Fri, 14 Dec 2012 12:49:23 -0500
Received: from web22e.yandex.ru (web22e.yandex.ru [77.88.61.2])
	by forward7.mail.yandex.net (Yandex) with ESMTP id C646E1C117A
	for <bug-bison@gnu.org>; Fri, 14 Dec 2012 21:49:18 +0400 (MSK)
Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1])
	by web22e.yandex.ru (Yandex) with ESMTP id 90538E000F;
	Fri, 14 Dec 2012 21:49:18 +0400 (MSK)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
	t=1355507358; bh=zr7Tqijr/kVcZBItTgJjig0eDBxEKn0zHzypkhDOtf0=;
	h=From:To:Subject:Date;
	b=C/Vay8bB6LSKDXFIzpsuPQ2YsWjCveQGmkmJzL66me08rE2sOuO1JYLpUY8SJ1Bwa
	sNindVzWnQItrqS6QeAO6YCdPucHTx4rdUw235K25KQ0P9THlsqtkiXMu6vJmeOnr6
	A1ELTW8uuk5fbJFTe/F7H/dXig6Z1yCXOrBJXWOc=
Received: from winnie.ispras.ru (winnie.ispras.ru [83.149.199.91]) by
	web22e.yandex.ru with HTTP; Fri, 14 Dec 2012 21:49:18 +0400
From: Slava Savitsky <slavasav@yandex.ru>
To: bug-bison@gnu.org
Subject: Cannot trace error location when %glr-parser and %pure-parser are
	used together.
Message-Id: <1856261355507358@web22e.yandex.ru>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Fri, 14 Dec 2012 21:49:18 +0400
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
	[fuzzy]
X-Received-From: 77.88.61.37
X-Mailman-Approved-At: Fri, 14 Dec 2012 14:15:49 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="koi8-r"
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 17:49:29 -0000

   Here's a problem: for a grammar with both %glr-parser and %pure-parser
   declarations a location-aware error reporting function cannot be used.

   Usually to track the error position one defines "yyerror(msg)" to
   "print_error(message, &yylval, yychar)", right? In the pure parser
   "yylval" becomes "yystackp->yylval". The problem is, yyerror(YY_(msg))
   is called from the "reportAmbiguity" function which does not take the
   "yystackp" argument.

   A possible fix would be:

   --- /usr/share/bison/glr.cssss 2012-12-14 20:07:40.516065313 +0400
   +++ /usr/share/bison/glr.csss 2012-12-14 19:49:35.600065872 +0400
   @@ -1788,8 +1788,7 @@
   s#endif
   s
   s/*ARGSUSED*/ static YYRESULTTAG
   -yyreportAmbiguity (yyGLRStack* yystackp,
   -ssssssssssssssssss yySemanticOption* yyx0,
   +yyreportAmbiguity (yySemanticOption* yyx0,
   ssss sss ss yySemanticOption* yyx1]b4_pure_formals[)
   s{
   ss YYUSE (yyx0);
   @@ -1900,7 +1899,7 @@
   ssss sss {
   ssss sss case 0:
   ssss sssss yyresolveLocations (yys, 1, yystackp]b4_user_args[);
   -sss sssss return yyreportAmbiguity (yystackp, yybest,
   yyp]b4_pure_args[);
   +sss sssss return yyreportAmbiguity (yybest, yyp]b4_pure_args[);
   ssss sssss break;
   ssss sss case 1:
   ssss sssss yymerge = yytrue;

   Slava Savitskiy.

From MAILER-DAEMON Fri Dec 14 14:31:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tjayk-0001eb-KA
	for mharc-bug-bison@gnu.org; Fri, 14 Dec 2012 14:31:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36266)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tjayh-0001eT-DS
	for bug-bison@gnu.org; Fri, 14 Dec 2012 14:31:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tjayf-0003bE-Sm
	for bug-bison@gnu.org; Fri, 14 Dec 2012 14:31:23 -0500
Received: from mail-bk0-f41.google.com ([209.85.214.41]:56875)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tjayf-0003b3-LE
	for bug-bison@gnu.org; Fri, 14 Dec 2012 14:31:21 -0500
Received: by mail-bk0-f41.google.com with SMTP id jg9so1892038bkc.0
	for <bug-bison@gnu.org>; Fri, 14 Dec 2012 11:31:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:mime-version:to:cc:subject:references
	:in-reply-to:content-type:content-transfer-encoding;
	bh=rGC1KKsY8HQET7yZUpmQii/JrsDimCi/0xxR/20PkPA=;
	b=KAJ400RldXuICr1bKyd6aOydoHC6KJJWPSmQaomE0gzBi0cHj908kmwCzIqv8Lc7dg
	jaf0ooX8pNKbaRYdl0MfX4IdtFyJHVrBGXrzNs4o4/iZHEyfWnZ47C+Z4N9ASyiCQYe/
	mjH2QDQASntVkDVKPktKe787t3JJrIOx+m40TO8BpiyC4Tj+sG9uqMpfUJBd9b4M/3TW
	tNIL8DIH0V8UwEV6FzySm7ZsZBFvGc+iAvPIFhWPy/pz9OrTp0UW1X3x83bf0AGU8DHP
	kCf6mL+nf6uil8u65uaRTZzcHb/e1SjbzCSP3IoAa4FK9EpblF2w0MmkM5DJX34fbfby
	RjaQ==
Received: by 10.205.125.137 with SMTP id gs9mr3232964bkc.22.1355513480560;
	Fri, 14 Dec 2012 11:31:20 -0800 (PST)
Received: from [192.168.178.21]
	(host137-94-dynamic.4-87-r.retail.telecomitalia.it. [87.4.94.137])
	by mx.google.com with ESMTPS id o9sm5527618bko.15.2012.12.14.11.31.12
	(version=SSLv3 cipher=OTHER); Fri, 14 Dec 2012 11:31:19 -0800 (PST)
Message-ID: <50CB7E79.2000504@gmail.com>
Date: Fri, 14 Dec 2012 20:31:05 +0100
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: Akim Demaille <akim@lrde.epita.fr>
Subject: bootstrap: error with Croatian translation (was: Re: Error building
	Bison 2.6.5 on OS X Mountain Lion)
References: <CA+RERftLiDgGPpNX=ndPR_2Wun-t=Xqh_UJUDmg0+GnVcMiH0g@mail.gmail.com>
	<1363CECC-F65F-4437-872B-67226B891460@lrde.epita.fr>
	<50B32E52.5060703@gmail.com>
	<CB632DA6-A78F-4052-9489-6C9835A3E781@lrde.epita.fr>
	<CA+0AnSKi8g5HAiiEaPHW+XmzzLB-fVuxuMUQQN+8TTeJTX-_yw@mail.gmail.com>
	<8F0FD95A-B336-4A52-BB94-0CBAA3E9054B@lrde.epita.fr>
In-Reply-To: <8F0FD95A-B336-4A52-BB94-0CBAA3E9054B@lrde.epita.fr>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.214.41
Cc: Tomislav Krznar <tomislav.krznar@gmail.com>,
	John Horigan <john@glyphic.com>,
	Croatian <lokalizacija@linux.hr>, Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 19:31:25 -0000

Thread reference:
<http://lists.gnu.org/archive/html/bug-bison/2012-11/msg00040.html>

On 11/28/2012 02:37 PM, Akim Demaille wrote:
> Hi Tomislav!
> 
> Thanks for the answer.
> 
> Le 26 nov. 2012 à 18:54, Tomislav Krznar <tomislav.krznar@gmail.com> a écrit :
> 
>> 2012/11/26 Akim Demaille <akim@lrde.epita.fr>:
>>>
>>> Le 26 nov. 2012 à 09:54, Stefano Lattarini <stefano.lattarini@gmail.com> a écrit :
>>>
>>>> Hi Akim.
>>>>
>>>> On 11/26/2012 08:58 AM, Akim Demaille wrote:
>>>>>
>>>>> Le 25 nov. 2012 à 09:45, John Horigan <john@glyphic.com> a écrit :
>>>>>
>>>>>> I got the following error while compiling under OS X Mountain Lion:
>>>>>>
>>>>>> rm -f hr.gmo && /usr/local/bin/msgfmt -c --statistics --verbose -o hr.gmo
>>>>>> hr.po
>>>>>> hr.po:8: nplurals = 3...
>>>>>> hr.po:85: ...but some messages have only 2 plural forms
>>>>>> /usr/local/bin/msgfmt: found 1 fatal error
>>>>>> hr.po: 191 translated messages, 9 fuzzy translations, 2 untranslated
>>>>>> messages.
>>>>>> make[3]: *** [hr.gmo] Error 1
>>>>>> make[2]: *** [stamp-po] Error 2
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>> I was able to compile using
>>>>>>
>>>>>> ./configure --disable-nls
>>>>>>
>>>>>> It appears that Croatian has three plural forms. But the message at line 81
>>>>>> of hr.po only has two plural forms. Adding a third form at line 87 allows
>>>>>> Bison to build with NLS support. Now we need a Croatian speaker to provide
>>>>>> the correct three plural forms for the shift/reduce conflict message.
>>>>>
>>>>> Hi John,
>>>>>
>>>>> We did have such an error in the past, in the development versions of Bison,
>>>>>
>>>> FWIW, I'm seeing this problem too, when trying to bootstrap Bison
>>>> from git master (not when building from the tarball though).
>>>
>>> Hi Stefano,
>>>
>>> Yeah, likewise after a "make refresh-po".  Weird, this is a regression,
>>> Théophile had already reported this a while ago, and it was fixed.
>>>
>>> Hi Translators!
>>>
>>> Could someone fix this issue please?  Thanks in advance!
>>> (And thanks in retrospect for all the work you already did :)
>>>
>>>
>>
>> Hi,
>>
>> As I can see from the error report, this po file has total of 202
>> messages, while all po files available for translation on
>> translationproject.org have at most 200 messages.
> 
> That's probably because we're talking about different version of
> Bison.  The latest release is 2.6.5, and as far as I can tell
> from
> 
> http://translationproject.org/PO-files/hr/bison-2.6.5.hr.po
> 
> it's perfectly up to date, thanks a lot!  The error was with
> the master development branch, which is not ready for release 
> so I have not uploaded anything.
> 
>> However, since all translations are handled through
>> translationproject.org, I'd recommend that developers upload the new
>> pot file there.
> 
> AFAICT, this is fixed now.
> 
>> Whatever your choice is, please inform me so I can take necessary actions.
> 
> Thanks for your help!
> 
FYI: I'm still seeing this error when bootstrapping from master:

  ...
  rm -f hr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hr.gmo hr.po
  hr.po:8: nplurals = 3...
  hr.po:85: ...but some messages have only 2 plural forms
  /usr/bin/msgfmt: found 1 fatal error
  hr.po: 187 translated messages, 13 fuzzy translations, 3 untranslated messages.
  Makefile:173: recipe for target 'hr.gmo' failed
  make[3]: *** [hr.gmo] Error 1
  make[3]: Leaving directory '/devel/bleeding/src/bison/po'

Regards,
  Stefano


From MAILER-DAEMON Sat Dec 15 02:25:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tjm7e-0006Hn-Tn
	for mharc-bug-bison@gnu.org; Sat, 15 Dec 2012 02:25:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39930)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tjm7c-0006Ha-8l
	for bug-bison@gnu.org; Sat, 15 Dec 2012 02:25:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tjm7b-00046r-3a
	for bug-bison@gnu.org; Sat, 15 Dec 2012 02:25:20 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:45653
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tjm7a-00046n-Tp
	for bug-bison@gnu.org; Sat, 15 Dec 2012 02:25:19 -0500
Received: from mna75-4-82-225-76-247.fbx.proxad.net ([82.225.76.247]
	helo=[192.168.0.20]) by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tjm7a-0001Fk-C6; Sat, 15 Dec 2012 08:25:18 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: Cannot trace error location when %glr-parser and %pure-parser are
	used together.
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <1856261355507358@web22e.yandex.ru>
Date: Sat, 15 Dec 2012 08:25:19 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <F08EC3A0-348C-4467-B2C1-E1011CBEE20F@lrde.epita.fr>
References: <1856261355507358@web22e.yandex.ru>
To: Slava Savitsky <slavasav@yandex.ru>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: bug-bison@gnu.org
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 07:25:21 -0000

Hi Slava,

Le 14 d=E9c. 2012 =E0 18:49, Slava Savitsky <slavasav@yandex.ru> a =E9crit=
 :

>   Here's a problem: for a grammar with both %glr-parser and =
%pure-parser
>   declarations a location-aware error reporting function cannot be =
used.
>=20
>   Usually to track the error position one defines "yyerror(msg)" to
>   "print_error(message, &yylval, yychar)", right? In the pure parser
>   "yylval" becomes "yystackp->yylval". The problem is, =
yyerror(YY_(msg))
>   is called from the "reportAmbiguity" function which does not take =
the
>   "yystackp" argument.

Do not use the #define yyerror hack, it is brittle.  Just do not
#define it, and let Bison do its job.  The test suite does check
glr + pure + location, so it is expected to work properly.  See
your documentation (you did not specify the version of Bison)
about pure parsers.

>=20
>   A possible fix would be:
>=20
>   --- /usr/share/bison/glr.cssss 2012-12-14 20:07:40.516065313 +0400
>   +++ /usr/share/bison/glr.csss 2012-12-14 19:49:35.600065872 +0400
>   @@ -1788,8 +1788,7 @@
>   s#endif
>   s
>   s/*ARGSUSED*/ static YYRESULTTAG
>   -yyreportAmbiguity (yyGLRStack* yystackp,
>   -ssssssssssssssssss yySemanticOption* yyx0,
>   +yyreportAmbiguity (yySemanticOption* yyx0,
>   ssss sss ss yySemanticOption* yyx1]b4_pure_formals[)
>   s{
>   ss YYUSE (yyx0);
>   @@ -1900,7 +1899,7 @@
>   ssss sss {
>   ssss sss case 0:
>   ssss sssss yyresolveLocations (yys, 1, yystackp]b4_user_args[);
>   -sss sssss return yyreportAmbiguity (yystackp, yybest,
>   yyp]b4_pure_args[);
>   +sss sssss return yyreportAmbiguity (yybest, yyp]b4_pure_args[);
>   ssss sssss break;
>   ssss sss case 1:
>   ssss sssss yymerge =3D yytrue;
>=20
>   Slava Savitskiy.

FWIW, I don't know what happened here, but the patch was damaged.



From MAILER-DAEMON Sat Dec 15 04:35:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjoA2-0004zd-MQ
	for mharc-bug-bison@gnu.org; Sat, 15 Dec 2012 04:35:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55262)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <slavasav@yandex.ru>) id 1Tjo9x-0004zL-Ls
	for bug-bison@gnu.org; Sat, 15 Dec 2012 04:35:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <slavasav@yandex.ru>) id 1Tjo9v-0007jR-BP
	for bug-bison@gnu.org; Sat, 15 Dec 2012 04:35:53 -0500
Received: from forward7.mail.yandex.net ([2a02:6b8:0:202::2]:49554)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <slavasav@yandex.ru>) id 1Tjo9u-0007jE-HL
	for bug-bison@gnu.org; Sat, 15 Dec 2012 04:35:51 -0500
Received: from web14e.yandex.ru (web14e.yandex.ru [77.88.60.17])
	by forward7.mail.yandex.net (Yandex) with ESMTP id 650351C06FF;
	Sat, 15 Dec 2012 13:35:27 +0400 (MSK)
Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1])
	by web14e.yandex.ru (Yandex) with ESMTP id 1AB591A90107;
	Sat, 15 Dec 2012 13:35:27 +0400 (MSK)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
	t=1355564127; bh=NmbpZlN6LZucnw33XUGYAdbcewxxNk3Nou4XHJ2hY8w=;
	h=From:To:Cc:In-Reply-To:References:Subject:Date;
	b=GFr+cIz+C2d0vl8Z30mSly/OL+CUAFllWsYzasHRG1e2IPA3eM8ptq58UdZPCup0N
	+DoqROt1itHcX0kgOfIk17Z5QAo/UNQrp7SqS4uqd5bEJGatqglkJ+TRNg1NcYrVpz
	BcYLqsvBEpcawsfE+cK4bL8JqPw+eqb3JO5kFvaw=
Received: from ip-95-220-106-77.bb.netbynet.ru
	(ip-95-220-106-77.bb.netbynet.ru [95.220.106.77]) by
	web14e.yandex.ru with HTTP; Sat, 15 Dec 2012 13:35:26 +0400
From: Slava Savitsky <slavasav@yandex.ru>
To: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <F08EC3A0-348C-4467-B2C1-E1011CBEE20F@lrde.epita.fr>
References: <1856261355507358@web22e.yandex.ru>
	<F08EC3A0-348C-4467-B2C1-E1011CBEE20F@lrde.epita.fr>
Subject: Re: Cannot trace error location when %glr-parser and %pure-parser are
	used together.
Message-Id: <190761355564126@web14e.yandex.ru>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Sat, 15 Dec 2012 13:35:26 +0400
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2a02:6b8:0:202::2
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Cc: "bug-bison@gnu.org" <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 09:35:56 -0000

   Hi Akim,

   A

   I'm using 2.4 but have checked this with 2.7. Can you be more specific
   on how to trace the location without using the yyerror define and the
   "yylval" field?

   Hm, don't know what happened to the patch, but it's simple - add a
   yystackp parameter to "reportAmbiguity" function and the coressponding
   argument to its call.

   Thanks.

   A

   15.12.2012, 11:25, "Akim Demaille" <akim@lrde.epita.fr>:

     Hi Slava,
     Le 14 dA(c)c. 2012 A  18:49, Slava Savitsky <[1]slavasav@yandex.ru>
     a A(c)crit :

     A A A Here's a problem: for a grammar with both %glr-parser and
     %pure-parser
     A A A declarations a location-aware error reporting function cannot
     be used.
     A A A Usually to track the error position one defines "yyerror(msg)"
     to
     A A A "print_error(message, &yylval, yychar)", right? In the pure
     parser
     A A A "yylval" becomes "yystackp->yylval". The problem is,
     yyerror(YY_(msg))
     A A A is called from the "reportAmbiguity" function which does not
     take the
     A A A "yystackp" argument.

     Do not use the #define yyerror hack, it is brittle. A Just do not
     #define it, and let Bison do its job. A The test suite does check
     glr + pure + location, so it is expected to work properly. A See
     your documentation (you did not specify the version of Bison)
     about pure parsers.

     A A A A possible fix would be:
     A A A --- /usr/share/bison/glr.cssss 2012-12-14 20:07:40.516065313
     +0400
     A A A +++ /usr/share/bison/glr.csss 2012-12-14 19:49:35.600065872
     +0400
     A A A @@ -1788,8 +1788,7 @@
     A A A s#endif
     A A A s
     A A A s/*ARGSUSED*/ static YYRESULTTAG
     A A A -yyreportAmbiguity (yyGLRStack* yystackp,
     A A A -ssssssssssssssssss yySemanticOption* yyx0,
     A A A +yyreportAmbiguity (yySemanticOption* yyx0,
     A A A ssss sss ss yySemanticOption* yyx1]b4_pure_formals[)
     A A A s{
     A A A ss YYUSE (yyx0);
     A A A @@ -1900,7 +1899,7 @@
     A A A ssss sss {
     A A A ssss sss case 0:
     A A A ssss sssss yyresolveLocations (yys, 1,
     yystackp]b4_user_args[);
     A A A -sss sssss return yyreportAmbiguity (yystackp, yybest,
     A A A yyp]b4_pure_args[);
     A A A +sss sssss return yyreportAmbiguity (yybest,
     yyp]b4_pure_args[);
     A A A ssss sssss break;
     A A A ssss sss case 1:
     A A A ssss sssss yymerge = yytrue;
     A A A Slava Savitskiy.

     FWIW, I don't know what happened here, but the patch was damaged.

References

   1. mailto:slavasav@yandex.ru

From MAILER-DAEMON Sat Dec 15 09:03:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjsKr-00072b-Ga
	for mharc-bug-bison@gnu.org; Sat, 15 Dec 2012 09:03:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58506)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TjsKn-00071M-QM
	for bug-bison@gnu.org; Sat, 15 Dec 2012 09:03:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TjsKm-0001n7-Ha
	for bug-bison@gnu.org; Sat, 15 Dec 2012 09:03:21 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:45664
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TjsKm-0001mx-By
	for bug-bison@gnu.org; Sat, 15 Dec 2012 09:03:20 -0500
Received: from cha59-1-88-169-40-204.fbx.proxad.net ([88.169.40.204]
	helo=[192.168.0.20]) by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TjsKk-0007CJ-Hw; Sat, 15 Dec 2012 15:03:18 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: Cannot trace error location when %glr-parser and %pure-parser are
	used together.
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <190761355564126@web14e.yandex.ru>
Date: Sat, 15 Dec 2012 15:03:20 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <A87F163B-147D-4DFC-B678-D2CD19664015@lrde.epita.fr>
References: <1856261355507358@web22e.yandex.ru>
	<F08EC3A0-348C-4467-B2C1-E1011CBEE20F@lrde.epita.fr>
	<190761355564126@web14e.yandex.ru>
To: Slava Savitsky <slavasav@yandex.ru>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: "bug-bison@gnu.org" <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 14:03:24 -0000


Le 15 d=E9c. 2012 =E0 10:35, Slava Savitsky <slavasav@yandex.ru> a =E9crit=
 :

>   Hi Akim,
>=20
>   A
>=20
>   I'm using 2.4 but have checked this with 2.7. Can you be more =
specific
>   on how to trace the location without using the yyerror define and =
the
>   "yylval" field?

See http://www.gnu.org/software/bison/manual/bison.html#Pure-Decl and =
follow
the links.



From MAILER-DAEMON Wed Dec 19 16:31:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlRF3-0006wT-28
	for mharc-bug-bison@gnu.org; Wed, 19 Dec 2012 16:31:53 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43062)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samueljohn.de@gmail.com>) id 1TlGwk-0000Xy-Ti
	for bug-bison@gnu.org; Wed, 19 Dec 2012 05:32:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samueljohn.de@gmail.com>) id 1TlGwf-0003ow-Mm
	for bug-bison@gnu.org; Wed, 19 Dec 2012 05:32:18 -0500
Received: from mail-bk0-f51.google.com ([209.85.214.51]:57596)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samueljohn.de@gmail.com>) id 1TlGwf-0003np-GW
	for bug-bison@gnu.org; Wed, 19 Dec 2012 05:32:13 -0500
Received: by mail-bk0-f51.google.com with SMTP id ik5so850752bkc.24
	for <bug-bison@gnu.org>; Wed, 19 Dec 2012 02:32:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:sender:from:content-type:content-transfer-encoding
	:subject:message-id:date:to:mime-version:x-mailer;
	bh=TrrTkkZ0QCl686vLHvb9wt9PtnxQS1LFSwEvuRBtfKo=;
	b=DuYCa17AG1cuqZEat9+ZIRXAKVHefS0HebN0+2AsZx+jtqPxs+wO198LS/K0JkY9Wf
	gDoiv/SLSEPDpX9VV52dYJfwldWIqxCqTdUyynC6WGwY26NAKVlAfTC+tFpMpVOW8P05
	WM37cmygyO1Z/06+OMFDi/hqwW3GRdE/G2O0Au9f3NRLMf2I1j2LR9xDLTd53lzYEvdX
	rvsujhSMKJmgROVoVOpZrfWSHjGlOiGRPzLHYKTOMw6Zx7gHLdriqbGk6XJZ0Lv+RBEz
	xnY3423sCGvhQf3Sut00louSdHfq0es/N4de0yBLEK7bIgfvG1ITDmCkl3vbcJu1z4Kp
	Bbvw==
X-Received: by 10.204.128.148 with SMTP id k20mr2278723bks.107.1355913131848; 
	Wed, 19 Dec 2012 02:32:11 -0800 (PST)
Received: from [192.168.2.100] (dslb-178-003-079-204.pools.arcor-ip.net.
	[178.3.79.204])
	by mx.google.com with ESMTPS id l17sm3618211bkw.12.2012.12.19.02.32.08
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 19 Dec 2012 02:32:10 -0800 (PST)
Sender: Samuel John <samueljohn.de@gmail.com>
From: Samuel John <mail@samueljohn.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: testsuite: 143 failed on OS X 10.8.2
Message-Id: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
Date: Wed, 19 Dec 2012 11:32:09 +0100
To: bug-bison@gnu.org
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.214.51
X-Mailman-Approved-At: Wed, 19 Dec 2012 16:31:51 -0500
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Dec 2012 10:32:26 -0000

Hi,

On latest Mac OS X 10.8.2 (aka Mountain Lion) the testsuite: 143 failed.

I am in the process of updating the Homebrew [1] formula to version 2.7.
Therefore, I ran the testsuite[2]. The configure output is also in the =
same gist https://gist.github.com/4335706.
Is this failure a show stopper for us to update?

> 143: Several parsers                                 FAILED =
(headers.at:274)


[1]: http://mxcl.github.com/homebrew/
[2]: https://gist.github.com/4335706#file-testsuite-log


System:

CPU: 8-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.7.4 =3D> /opt/X11=


From MAILER-DAEMON Thu Dec 20 02:48:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tlas5-0007g8-Ms
	for mharc-bug-bison@gnu.org; Thu, 20 Dec 2012 02:48:49 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38268)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tlas2-0007fy-RW
	for bug-bison@gnu.org; Thu, 20 Dec 2012 02:48:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tlas1-0007mv-IN
	for bug-bison@gnu.org; Thu, 20 Dec 2012 02:48:46 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:56797
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tlas1-0007j0-CB
	for bug-bison@gnu.org; Thu, 20 Dec 2012 02:48:45 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TlarV-0000kt-56; Thu, 20 Dec 2012 08:48:13 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: testsuite: 143 failed on OS X 10.8.2
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
Date: Thu, 20 Dec 2012 08:48:12 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <8D155686-E012-47B2-9BD0-3D3E6E4B065A@lrde.epita.fr>
References: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
To: Samuel John <mail@samueljohn.de>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: bug-bison@gnu.org
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 07:48:48 -0000


Le 19 d=E9c. 2012 =E0 11:32, Samuel John <mail@samueljohn.de> a =E9crit =
:

> Hi,
>=20
> On latest Mac OS X 10.8.2 (aka Mountain Lion) the testsuite: 143 =
failed.
>=20
> I am in the process of updating the Homebrew [1] formula to version =
2.7.
> Therefore, I ran the testsuite[2]. The configure output is also in the =
same gist https://gist.github.com/4335706.
> Is this failure a show stopper for us to update?
>=20
>> 143: Several parsers                                 FAILED =
(headers.at:274)
>=20
>=20
> [1]: http://mxcl.github.com/homebrew/
> [2]: https://gist.github.com/4335706#file-testsuite-log

Hi Samuel,

It seems that brew adds its own clutter to the process:

./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS -c -o cxx-only.o cxx-only.cc=20=

stderr:
brew: superenv removed: -g -O2
stdout:
./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS c-only.o cxx-only.o =
-o c-and-cxx ||
          exit 77
--- /dev/null	2012-12-19 11:02:32.000000000 +0100
+++ =
/private/tmp/bison-8C35/bison-2.7/tests/testsuite.dir/at-groups/143/stderr=
	2012-12-19 11:02:50.000000000 +0100
@@ -0,0 +1 @@
+brew: superenv removed: -g -O2
stdout:
143. headers.at:125: 143. Several parsers (headers.at:125): FAILED =
(headers.at:274)

the failure is due to some interaction between your environment,
and our request to use the C++ compiler to link the application.
Could you investigate this issue?

(So, yes, you can trust Bison 2.7).=


From MAILER-DAEMON Thu Dec 20 23:28:03 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TluDL-0003TQ-4L
	for mharc-bug-bison@gnu.org; Thu, 20 Dec 2012 23:28:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46334)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yuri@rawbw.com>) id 1TlrU8-0000pu-Ml
	for bug-bison@gnu.org; Thu, 20 Dec 2012 20:33:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yuri@rawbw.com>) id 1TlrU4-0000Fg-U5
	for bug-bison@gnu.org; Thu, 20 Dec 2012 20:33:12 -0500
Received: from shell0.rawbw.com ([198.144.192.45]:61189)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yuri@rawbw.com>)
	id 1TlrU4-0000F3-Kb; Thu, 20 Dec 2012 20:33:08 -0500
Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1])
	(authenticated bits=0)
	by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id qBL1WwhA058193;
	Thu, 20 Dec 2012 17:32:58 -0800 (PST) (envelope-from yuri@rawbw.com)
Message-ID: <50D3BC49.8010902@rawbw.com>
Date: Thu, 20 Dec 2012 17:32:57 -0800
From: Yuri <yuri@rawbw.com>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: bison-patches@gnu.org, bug-bison@gnu.org
Subject: Fwd: [patch] Fix of the CPU bottleneck in pack_vector
References: <4F10CCE6.3050804@rawbw.com>
In-Reply-To: <4F10CCE6.3050804@rawbw.com>
X-Forwarded-Message-Id: <4F10CCE6.3050804@rawbw.com>
Content-Type: multipart/mixed; boundary="------------020009080708080706050903"
X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x
X-Received-From: 198.144.192.45
X-Mailman-Approved-At: Thu, 20 Dec 2012 23:28:00 -0500
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 01:33:15 -0000

This is a multi-part message in MIME format.
--------------020009080708080706050903
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

I reported this issue with the testcase and patch in Jan 2012.
Now I see that you didn't apply it as of 2.7 (Dec 2012).

Why didn't you apply it? It fixes the algorithmic bottleneck in bison 
that I am sure someone else will hit it sooner or later.

Also why there is no bug tracking page for bison? How can people 
meaningfully track issues without the bug tracker?

Thanks,
Yuri


-------- Original Message --------
Subject: 	[patch] Fix of the CPU bottleneck in pack_vector
Date: 	Fri, 13 Jan 2012 16:31:34 -0800
From: 	Yuri <yuri@rawbw.com>
To: 	bison-patches@gnu.org



Hi bison maintainers,

The attached patch fixes the CPU problem that these lines in pack_vector
function caused in certain testcases:
        for (k = 0; ok && k < vector; k++)
          if (pos[k] == j)
            ok = false;

In the version 2.5, pos array essentially represents the integer set
with unique integers placed into it in the random order.
In the above code section, pos is linearly scrolled through every time
some j is tested for the set membership, and this was 98.5% CPU in
certain testcases.

What this patch does:
it replaces pos integer array with pos_set boolean array. pos_set
represents the same integer set as pos did, but in a way of membership
bit indexed by the integer.
Such that set insertion and membership testing operations are done in
one quick step at the expense of a little more memory allocated. Before
insertion was quick, but membership testing was slow and caused the CPU
bottleneck.

I believe this patch will speed any sizable test case up.

Please let me know if you find any problem with the patch.

Thanks,
Yuri




--------------020009080708080706050903
Content-Type: text/plain; charset=UTF-8;
 name="patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="patch.txt"

--- src/tables.c.orig	2012-01-13 16:04:30.000000000 -0800
+++ src/tables.c	2012-01-13 16:08:40.000000000 -0800
@@ -111,7 +111,9 @@
    computation equals to BASE_MINIMUM, later mapped to BASE_NINF to
    keep parser tables small.  */
 base_number base_ninf = 0;
-static base_number *pos = NULL;
+static char *pos_set = NULL;
+/* Boolean vector representing an integer set in the range
+   -nstates..table_size (as an upper bound) */
 
 static unsigned int *conflrow;
 unsigned int *conflict_table;
@@ -158,12 +160,14 @@
   conflict_table = xnrealloc (conflict_table, table_size,
 			      sizeof *conflict_table);
   check = xnrealloc (check, table_size, sizeof *check);
+  pos_set = xnrealloc (pos_set, nstates+table_size, sizeof *pos_set);
 
   for (/* Nothing. */; old_size < table_size; ++old_size)
     {
       table[old_size] = 0;
       conflict_table[old_size] = 0;
       check[old_size] = -1;
+      pos_set[nstates+old_size] = 0;
     }
 }
 
@@ -703,9 +707,8 @@
 	    ok = false;
 	}
 
-      for (k = 0; ok && k < vector; k++)
-	if (pos[k] == j)
-	  ok = false;
+      if (ok && pos_set[nstates+j])
+	ok = false;
 
       if (ok)
 	{
@@ -764,7 +767,7 @@
   int i;
 
   base = xnmalloc (nvectors, sizeof *base);
-  pos = xnmalloc (nentries, sizeof *pos);
+  pos_set = xcalloc (nstates+table_size, sizeof *pos_set);
   table = xcalloc (table_size, sizeof *table);
   conflict_table = xcalloc (table_size, sizeof *conflict_table);
   check = xnmalloc (table_size, sizeof *check);
@@ -790,7 +793,7 @@
 	/* Action of I were already coded for S.  */
 	place = base[s];
 
-      pos[i] = place;
+      pos_set[nstates+place] = 1; /*place now belongs to pos set*/
       base[order[i]] = place;
     }
 
@@ -798,7 +801,7 @@
   base_ninf = table_ninf_remap (base, nvectors, BASE_MINIMUM);
   table_ninf = table_ninf_remap (table, high + 1, ACTION_NUMBER_MINIMUM);
 
-  free (pos);
+  free (pos_set);
 }
 
 


--------------020009080708080706050903--


From MAILER-DAEMON Fri Dec 21 05:41:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm02P-0007PL-JK
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57698)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02L-0007O6-4U
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02I-0004Ww-Kr
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:05 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:38156
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02I-0004G3-Ek
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:02 -0500
Received: from [192.168.105.59] by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tm01m-0008P4-8f; Fri, 21 Dec 2012 11:40:30 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: testsuite: 143 failed on OS X 10.8.2
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <-1513845181014916554@unknownmsgid>
Date: Fri, 21 Dec 2012 11:40:37 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <67B1BE2F-63E0-4FCB-9657-AE477589E915@lrde.epita.fr>
References: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
	<8D155686-E012-47B2-9BD0-3D3E6E4B065A@lrde.epita.fr>
	<40338A6E-0F17-4340-82E2-24637BE2BBDE@samueljohn.de>
	<ACEC0730-997B-4A0E-8066-92F16F0AA145@lrde.epita.fr>
	<-1513845181014916554@unknownmsgid>
To: Samuel John <mail@SamuelJohn.de>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 10:41:07 -0000

Bummer, you dropped the CC :(

Never do this please, I will have to repost your answers.

Le 21 d=E9c. 2012 =E0 10:51, Samuel John <mail@SamuelJohn.de> a =E9crit =
:

> Am 21.12.2012 um 10:38 schrieb Akim Demaille <akim@lrde.epita.fr>:
>=20
>> Can't you tell brew to remain silent?
>=20
> Sure, but then we don't notice if other tests fail. I'd love to skip
> the one test if possible.

Here the problem is not that brew changes the environment, but that it =
does so *verbosely*.  The problem is that the test suite expect the =
compiler to remain silent, and brew makes it verbose.

I'm not asking for you to stop altering the environment, but to do it =
quietly :)



From MAILER-DAEMON Fri Dec 21 05:41:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm02b-0007Yo-OV
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57730)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02U-0007Qd-5h
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02S-0004Y2-KP
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:14 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:38163
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02S-0004Xq-BN
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:12 -0500
Received: from [192.168.105.59] by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tm02R-0008P4-QZ; Fri, 21 Dec 2012 11:41:11 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: testsuite: 143 failed on OS X 10.8.2
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <ACEC0730-997B-4A0E-8066-92F16F0AA145@lrde.epita.fr>
Date: Fri, 21 Dec 2012 11:41:19 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <689EFCAF-D4D5-49B7-A8A5-0E2E22BCC1BE@lrde.epita.fr>
References: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
	<8D155686-E012-47B2-9BD0-3D3E6E4B065A@lrde.epita.fr>
	<40338A6E-0F17-4340-82E2-24637BE2BBDE@samueljohn.de>
	<ACEC0730-997B-4A0E-8066-92F16F0AA145@lrde.epita.fr>
To: Samuel John <mail@samueljohn.de>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 10:41:21 -0000

FTR.

Le 21 d=E9c. 2012 =E0 10:37, Akim Demaille <akim@lrde.epita.fr> a =E9crit =
:

>=20
> Le 20 d=E9c. 2012 =E0 10:18, Samuel John <mail@samueljohn.de> a =E9crit =
:
>=20
>> On 20.12.2012, at 08:48, Akim Demaille <akim@lrde.epita.fr> wrote:
>>> It seems that brew adds its own clutter to the process:
>>=20
>> At homebrew we do some nasty stuff to compiler flags (unless =
--env=3Dstd is used for brew), that is true. We provide a wrapper script =
for `cc` which injects some flags and filters others and then forwards =
to clang (or llvm-gcc). Similar for other tools. We do this for several =
reasons. One is that Xcode ships includes and libs and tools in a =
non-standard location, provides xcrun to call tools and we can control =
the libraries to link against. So far we have great success in overall =
measured in the amount of successful builds. We are fine tuning it =
still, though :-)
>=20
> Wow.  Builds with libtool and others must stack quite a few =
wrappers...
>=20
>>> ./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS -c -o cxx-only.o =
cxx-only.cc=20
>>> stderr:
>>> brew: superenv removed: -g -O2
>>> stdout:
>>> ./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS c-only.o =
cxx-only.o -o c-and-cxx ||
>>>        exit 77
>>> --- /dev/null	2012-12-19 11:02:32.000000000 +0100
>>> +++ =
/private/tmp/bison-8C35/bison-2.7/tests/testsuite.dir/at-groups/143/stderr=
	2012-12-19 11:02:50.000000000 +0100
>>> @@ -0,0 +1 @@
>>> +brew: superenv removed: -g -O2
>>> stdout:
>>> 143. headers.at:125: 143. Several parsers (headers.at:125): FAILED =
(headers.at:274)
>>>=20
>>> the failure is due to some interaction between your environment,
>>> and our request to use the C++ compiler to link the application.
>>> Could you investigate this issue?
>>=20
>> I fail to understand the test code. What is tested exactly?
>=20
> This particular test compiles several parsers in different
> *.o, some from C++, others from C.  And it then links them
> all, and makes sure that everything is OK.
>=20
>> Runnint the testsuite generates testsuite.dir/143.=20
>> There is a quite long input.c and a shorter input.y.
>=20
> Which is expected: *.y is the grammar, and *.c the generated
> parser.
>=20
>> Can you give me a line to look at?
>=20
> ./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS -c -o cxx-only.o =
cxx-only.cc=20
>=20
> So the file is tests/headers.at, and the line is 274.
>=20
>>> (So, yes, you can trust Bison 2.7).
>>=20
>> I'll proceed with the update to 2.7 (disabling the `make check` step =
for users on default).
>>=20
>> Is there a way to tell `make check` to skip test 143?
>=20
> Can't you tell brew to remain silent?
>=20



From MAILER-DAEMON Fri Dec 21 05:41:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm02s-0007iY-2n
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:38 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57780)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02k-0007fg-Gq
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02i-0004ZU-3C
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:30 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:38161
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm02h-0004OH-Qp
	for bug-bison@gnu.org; Fri, 21 Dec 2012 05:41:28 -0500
Received: from [192.168.105.59] by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tm02C-0008P4-7E; Fri, 21 Dec 2012 11:40:56 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: testsuite: 143 failed on OS X 10.8.2
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <40338A6E-0F17-4340-82E2-24637BE2BBDE@samueljohn.de>
Date: Fri, 21 Dec 2012 11:41:04 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <40892464-1DB4-43E6-BA3B-CDFCC3FF90A2@lrde.epita.fr>
References: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
	<8D155686-E012-47B2-9BD0-3D3E6E4B065A@lrde.epita.fr>
	<40338A6E-0F17-4340-82E2-24637BE2BBDE@samueljohn.de>
To: Samuel John <mail@samueljohn.de>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 10:41:36 -0000

Reposted for the records.

Le 20 d=E9c. 2012 =E0 10:18, Samuel John <mail@samueljohn.de> a =E9crit =
:

> Hi Akim and thanks for your answer!
>=20
> TL;DR. You are right, homebrew was interfering. Using homebrew's =
`--env=3Dstd` switch yields:
> 350 tests were successful.
> 2 tests were skipped.
>=20
> I should have checked this before reporting. Sorry.
>=20
>=20
>=20
>=20
> On 20.12.2012, at 08:48, Akim Demaille <akim@lrde.epita.fr> wrote:
>> It seems that brew adds its own clutter to the process:
>=20
> At homebrew we do some nasty stuff to compiler flags (unless --env=3Dstd=
 is used for brew), that is true. We provide a wrapper script for `cc` =
which injects some flags and filters others and then forwards to clang =
(or llvm-gcc). Similar for other tools. We do this for several reasons. =
One is that Xcode ships includes and libs and tools in a non-standard =
location, provides xcrun to call tools and we can control the libraries =
to link against. So far we have great success in overall measured in the =
amount of successful builds. We are fine tuning it still, though :-)
>=20
>=20
>> ./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS -c -o cxx-only.o =
cxx-only.cc=20
>> stderr:
>> brew: superenv removed: -g -O2
>> stdout:
>> ./headers.at:274: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS c-only.o =
cxx-only.o -o c-and-cxx ||
>>         exit 77
>> --- /dev/null	2012-12-19 11:02:32.000000000 +0100
>> +++ =
/private/tmp/bison-8C35/bison-2.7/tests/testsuite.dir/at-groups/143/stderr=
	2012-12-19 11:02:50.000000000 +0100
>> @@ -0,0 +1 @@
>> +brew: superenv removed: -g -O2
>> stdout:
>> 143. headers.at:125: 143. Several parsers (headers.at:125): FAILED =
(headers.at:274)
>>=20
>> the failure is due to some interaction between your environment,
>> and our request to use the C++ compiler to link the application.
>> Could you investigate this issue?
>=20
> I fail to understand the test code. What is tested exactly?
> Runnint the testsuite generates testsuite.dir/143.=20
> There is a quite long input.c and a shorter input.y.
>=20
> Can you give me a line to look at?
>=20
>=20
>> (So, yes, you can trust Bison 2.7).
>=20
> I'll proceed with the update to 2.7 (disabling the `make check` step =
for users on default).
>=20
> Is there a way to tell `make check` to skip test 143?
>=20
> Thanks,
> Samuel



From MAILER-DAEMON Fri Dec 21 06:41:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm0z0-0002Ia-7V
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 06:41:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37196)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samueljohn.de@gmail.com>) id 1Tm0yo-00026l-Pa
	for bug-bison@gnu.org; Fri, 21 Dec 2012 06:41:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <samueljohn.de@gmail.com>) id 1Tm0yf-0003HF-Uz
	for bug-bison@gnu.org; Fri, 21 Dec 2012 06:41:30 -0500
Received: from mail-bk0-f52.google.com ([209.85.214.52]:40083)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <samueljohn.de@gmail.com>) id 1Tm0yf-0003H8-OM
	for bug-bison@gnu.org; Fri, 21 Dec 2012 06:41:21 -0500
Received: by mail-bk0-f52.google.com with SMTP id w5so2304642bku.11
	for <bug-bison@gnu.org>; Fri, 21 Dec 2012 03:41:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:sender:content-type:mime-version:subject:from
	:in-reply-to:date:cc:content-transfer-encoding:message-id:references
	:to:x-mailer; bh=Iv/M+as1dXkCHI+xzNlOMiojKLz8RMmHQ+8TLE5trZk=;
	b=nADkhPmqKi3FD9GhccVCw11AZwJkGDQEN/b+h+fjyxWAMZtLwN/2aDYgStlz79/UzE
	mCC7FlncGckjXt4r6Au9kWWbwdTSj+UkV0eKN/Xh/oXxUUGfDJsxGmLKsydsCsptC7UH
	/rdfu9VY2irhBFlngppSJJTXNYGUY8MTQ63k1zFhfP1BvvQQ/K9MQFRS6qILrjTE0arv
	a4K+xolhjBkJySQqyEcnjru9geS76B/FwBxfLpPrp7AbOTin9HQTy/OuGJKeuj6KSEox
	Z24KT+8XvnoW2G/VNm/LfSIU21uAAZmYuqTHt4fEsQAi+CLyvLWO0wnUjkYPERNIcARe
	5ktg==
X-Received: by 10.204.4.133 with SMTP id 5mr6499670bkr.21.1356090080162;
	Fri, 21 Dec 2012 03:41:20 -0800 (PST)
Received: from [192.168.2.100] (dslb-092-077-077-108.pools.arcor-ip.net.
	[92.77.77.108])
	by mx.google.com with ESMTPS id i20sm9609588bkw.5.2012.12.21.03.41.16
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 21 Dec 2012 03:41:19 -0800 (PST)
Sender: Samuel John <samueljohn.de@gmail.com>
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: testsuite: 143 failed on OS X 10.8.2
From: Samuel John <mail@SamuelJohn.de>
In-Reply-To: <67B1BE2F-63E0-4FCB-9657-AE477589E915@lrde.epita.fr>
Date: Fri, 21 Dec 2012 12:41:14 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <5C2F33F5-02E4-446E-9CF7-4ED775A435E8@SamuelJohn.de>
References: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
	<8D155686-E012-47B2-9BD0-3D3E6E4B065A@lrde.epita.fr>
	<40338A6E-0F17-4340-82E2-24637BE2BBDE@samueljohn.de>
	<ACEC0730-997B-4A0E-8066-92F16F0AA145@lrde.epita.fr>
	<-1513845181014916554@unknownmsgid>
	<67B1BE2F-63E0-4FCB-9657-AE477589E915@lrde.epita.fr>
To: Akim Demaille <akim@lrde.epita.fr>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.214.52
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 11:41:40 -0000


On 21.12.2012, at 11:40, Akim Demaille <akim@lrde.epita.fr> wrote:
> Here the problem is not that brew changes the environment, but that it =
does so *verbosely*.  The problem is that the test suite expect the =
compiler to remain silent, and brew makes it verbose.
>=20
> I'm not asking for you to stop altering the environment, but to do it =
quietly :)

Ok, our cc makes fuss on stderr (about the removed/added flags). Is the =
stderr the problem here?


PS:
> Bummer, you dropped the CC :(
Sorry, I just hit reply. Some mailing lists (I am used to) are =
configured to not require cc but the correct way is to require me to =
replay-all.


From MAILER-DAEMON Fri Dec 21 07:29:37 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm1jN-0004aT-LW
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 07:29:37 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43122)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm1jB-0004aN-MD
	for bug-bison@gnu.org; Fri, 21 Dec 2012 07:29:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm1j1-0006jd-Lg
	for bug-bison@gnu.org; Fri, 21 Dec 2012 07:29:25 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:40965
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm1j1-0006jX-G5
	for bug-bison@gnu.org; Fri, 21 Dec 2012 07:29:15 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tm1iz-00051U-W1; Fri, 21 Dec 2012 13:29:14 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: testsuite: 143 failed on OS X 10.8.2
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <5C2F33F5-02E4-446E-9CF7-4ED775A435E8@SamuelJohn.de>
Date: Fri, 21 Dec 2012 13:29:22 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <7CA5E359-6EED-44F4-B9E9-8BAC36DE0A24@lrde.epita.fr>
References: <310C381A-3BC1-4928-9073-F2D0BA5F6070@samueljohn.de>
	<8D155686-E012-47B2-9BD0-3D3E6E4B065A@lrde.epita.fr>
	<40338A6E-0F17-4340-82E2-24637BE2BBDE@samueljohn.de>
	<ACEC0730-997B-4A0E-8066-92F16F0AA145@lrde.epita.fr>
	<-1513845181014916554@unknownmsgid>
	<67B1BE2F-63E0-4FCB-9657-AE477589E915@lrde.epita.fr>
	<5C2F33F5-02E4-446E-9CF7-4ED775A435E8@SamuelJohn.de>
To: Samuel John <mail@SamuelJohn.de>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 12:29:36 -0000


Le 21 d=E9c. 2012 =E0 12:41, Samuel John <mail@SamuelJohn.de> a =E9crit =
:

>=20
> On 21.12.2012, at 11:40, Akim Demaille <akim@lrde.epita.fr> wrote:
>> Here the problem is not that brew changes the environment, but that =
it does so *verbosely*.  The problem is that the test suite expect the =
compiler to remain silent, and brew makes it verbose.
>>=20
>> I'm not asking for you to stop altering the environment, but to do it =
quietly :)
>=20
> Ok, our cc makes fuss on stderr (about the removed/added flags). Is =
the stderr the problem here?

Yes, it is.

> PS:
>> Bummer, you dropped the CC :(
> Sorry, I just hit reply. Some mailing lists (I am used to) are =
configured to not require cc but the correct way is to require me to =
replay-all.

http://www.unicom.com/pw/reply-to-harmful.html=


From MAILER-DAEMON Fri Dec 21 07:38:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm1rl-0007ye-26
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 07:38:17 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44456)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm1rg-0007yE-Iw
	for bug-bison@gnu.org; Fri, 21 Dec 2012 07:38:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tm1rd-0000pr-4B
	for bug-bison@gnu.org; Fri, 21 Dec 2012 07:38:12 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:46678
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tm1rP-0000oY-Hu; Fri, 21 Dec 2012 07:37:55 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tm1rN-0005Y3-7A; Fri, 21 Dec 2012 13:37:53 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: [patch] Fix of the CPU bottleneck in pack_vector
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <50D3BC49.8010902@rawbw.com>
Date: Fri, 21 Dec 2012 13:38:01 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <C9707A58-9A2C-4A65-A640-E1834819D92E@lrde.epita.fr>
References: <4F10CCE6.3050804@rawbw.com> <50D3BC49.8010902@rawbw.com>
To: Yuri <yuri@rawbw.com>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: bison-patches@gnu.org, bug-bison@gnu.org
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 12:38:16 -0000


Le 21 d=E9c. 2012 =E0 02:32, Yuri <yuri@rawbw.com> a =E9crit :

> Hello,

Hi Yuri,

> I reported this issue with the testcase and patch in Jan 2012.
> Now I see that you didn't apply it as of 2.7 (Dec 2012).
>=20
> Why didn't you apply it?

Because it segfaults in some situations, and because it does
not use our bitset routines, although it looks like it would
be useful.

> It fixes the algorithmic bottleneck in bison that I am sure someone =
else will hit it sooner or later.

We did see an improvement on your test case, but not as large
as originally reported.  Yet, no, your patch is not forgotten,
and, time permitting, Th=E9ophile (Th=E9ophile, your cue here) is
working on it.

I'd be happy to see that patch mature and be integrated soon.

I wonder, though, if there are really world cases with such
massive sort of grammar.  AFAIR, you made up that grammar to
hurt the engine, right?

> Also why there is no bug tracking page for bison?

There is one, https://savannah.gnu.org/support/?group=3Dbison

> How can people meaningfully track issues without the bug tracker?

Fortunately there are not too many issues to track, but you
are right that using the/a bug tracker more systematically
would help.

Yet the main problem, currently, is the work force.  We need
more hands :)



From MAILER-DAEMON Fri Dec 21 08:50:43 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm2zr-0008KU-Or
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 08:50:43 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55836)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm2zk-0008Iv-Bg
	for bug-bison@gnu.org; Fri, 21 Dec 2012 08:50:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm2zb-0003DF-5u
	for bug-bison@gnu.org; Fri, 21 Dec 2012 08:50:36 -0500
Received: from mail-bk0-f44.google.com ([209.85.214.44]:48118)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm2za-0003D8-Mh
	for bug-bison@gnu.org; Fri, 21 Dec 2012 08:50:27 -0500
Received: by mail-bk0-f44.google.com with SMTP id w11so2366366bku.3
	for <bug-bison@gnu.org>; Fri, 21 Dec 2012 05:50:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=umUo8Fe15mhCZKY0oysldGbygKkfXIG7BuAOYZK3FQI=;
	b=xWUuklnysfRDgdMZ7fk9+pyveHs+ds24j1C5b960Xw/4Fpf77rrbW5iFxNDdpSqUnj
	UDpmMmwhuqAioNOOEGsAExPJjjpCJj/GQSSQD9IM1zkHgxCHu7S6KCeGbLkxygvmD0yl
	H7USKNEpcqStmDwdAj935vwDXMe2Qo8r60a0S78oPVGzU6qXWrRfWpqVBXvMVXC+UhvD
	zuJHWGnVBIIyi6W3FOhEcv8b5VFGqEN8z6ho+CZDWeWKWdPbI8ZKpsWJg5lc5t4g9Wo6
	PYZRxyrJCuYRk9wZiUWoRbNiujsb/Su0KXwbvZQ8SlZ7Saitzn20bQtNUMd+1Jf5M1qI
	Jd6w==
X-Received: by 10.204.149.149 with SMTP id t21mr6409876bkv.85.1356097825641;
	Fri, 21 Dec 2012 05:50:25 -0800 (PST)
Received: from [192.168.178.21]
	(host137-94-dynamic.4-87-r.retail.telecomitalia.it. [87.4.94.137])
	by mx.google.com with ESMTPS id v8sm10044600bku.6.2012.12.21.05.50.22
	(version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 05:50:24 -0800 (PST)
Message-ID: <50D4691B.4040802@gmail.com>
Date: Fri, 21 Dec 2012 14:50:19 +0100
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: Tomislav Krznar <tomislav.krznar@gmail.com>
Subject: Re: bootstrap: error with Croatian translation
References: <CA+RERftLiDgGPpNX=ndPR_2Wun-t=Xqh_UJUDmg0+GnVcMiH0g@mail.gmail.com>
	<1363CECC-F65F-4437-872B-67226B891460@lrde.epita.fr>
	<50B32E52.5060703@gmail.com>
	<CB632DA6-A78F-4052-9489-6C9835A3E781@lrde.epita.fr>
	<CA+0AnSKi8g5HAiiEaPHW+XmzzLB-fVuxuMUQQN+8TTeJTX-_yw@mail.gmail.com>
	<8F0FD95A-B336-4A52-BB94-0CBAA3E9054B@lrde.epita.fr>
	<50CB7E79.2000504@gmail.com>
	<CA+0AnS+tTOBcgqb4ohJjD0JzvQvqOscT9mMMK2+LCdkwCz_Miw@mail.gmail.com>
	<50D181A1.9090304@gmail.com>
	<CA+0AnS++-Nbv2qssNvSzpx_RN3S2y9Vgug9breP7sVOVEg2WqA@mail.gmail.com>
In-Reply-To: <CA+0AnS++-Nbv2qssNvSzpx_RN3S2y9Vgug9breP7sVOVEg2WqA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.214.44
Cc: "bug-bison@gnu.org" <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 13:50:41 -0000

[re-adding the bug-bison list]

On 12/20/2012 02:49 PM, Tomislav Krznar wrote:
> 2012/12/19 Stefano Lattarini <stefano.lattarini@gmail.com>:
>> On 12/19/2012 09:24 AM, Tomislav Krznar wrote:
>>> 2012/12/14 Stefano Lattarini <stefano.lattarini@gmail.com>:
>>>
>>>> FYI: I'm still seeing this error when bootstrapping from master:
>>>>
>>>>   ...
>>>>   rm -f hr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hr.gmo hr.po
>>>>   hr.po:8: nplurals = 3...
>>>>   hr.po:85: ...but some messages have only 2 plural forms
>>>>   /usr/bin/msgfmt: found 1 fatal error
>>>>   hr.po: 187 translated messages, 13 fuzzy translations, 3 untranslated messages.
>>>>   Makefile:173: recipe for target 'hr.gmo' failed
>>>>   make[3]: *** [hr.gmo] Error 1
>>>>   make[3]: Leaving directory '/devel/bleeding/src/bison/po'
>>>>
>>>> Regards,
>>>>   Stefano
>>>
>>> Are you still having problems? I have updated translation few days ago.
>>>
>> Yes, I still see the same error.  Could you maybe try bootstrapping Bison
>> from a pristine git checkout, and see whether you manage to reproduce the
>> issue?
>>
>> Thanks,
>>   Stefano
> 
> I have sucessfully managed to reproduce the issue. I don't know why
> this happens, but the file "hr.po" gets replaced with older version
> which has errors. However, in the "po" subdirectory you can find file
> named "hr.po~". I copied it over the file "hr.po" and make didn't
> return any errors. You can try that and tell me if it works.
>
I can confirm this workaround works for me as well.  I copy below the
diffs between 'po/hr.po~' and 'po/hr.po', in the hope that will help
shedding some further light on the issue.

Thanks,
  Stefano

-*-*-*-

--- po/hr.po	2012-12-21 14:45:48.000000000 +0100
+++ po/hr.po~	2012-12-21 14:35:23.000000000 +0100
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: bison 2.6.90\n"
 "Report-Msgid-Bugs-To: bug-bison@gnu.org\n"
-"POT-Creation-Date: 2012-12-21 14:45+0100\n"
+"POT-Creation-Date: 2012-12-07 11:38+0100\n"
 "PO-Revision-Date: 2012-12-15 10:23+0100\n"
 "Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
 "Language-Team: Croatian <lokalizacija@linux.hr>\n"
@@ -16,21 +16,21 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 "X-Generator: Gtranslator 2.91.5\n"

-#: src/complain.c:131
-msgid "fatal error"
-msgstr "fatalna greška"
+#: src/complain.c:120 src/complain.c:131 src/complain.c:140 src/complain.c:188
+#: src/complain.c:198
+msgid "warning"
+msgstr "upozorenje"

-#: src/complain.c:132
+#: src/complain.c:151 src/complain.c:160 src/complain.c:167
 msgid "error"
 msgstr "greška"

-#: src/complain.c:133
-msgid "warning"
-msgstr "upozorenje"
+#: src/complain.c:208 src/complain.c:215
+msgid "fatal error"
+msgstr "fatalna greška"

 #: src/conflicts.c:77
 #, c-format
@@ -47,52 +47,43 @@
 msgid "    Conflict between rule %d and token %s resolved as an error"
 msgstr "    Konflikt između pravila %d i simbola %s razriješen kao greška"

-#: src/conflicts.c:525
-#, c-format
-msgid "State %d "
-msgstr "Stanje %d "
-
-#: src/conflicts.c:528
+#: src/conflicts.c:492
 #, c-format
 msgid "conflicts: %d shift/reduce, %d reduce/reduce\n"
 msgstr "konflikti: %d pomakni/reduciraj, %d reduciraj/reduciraj\n"

-#: src/conflicts.c:531
+#: src/conflicts.c:495
 #, c-format
 msgid "conflicts: %d shift/reduce\n"
 msgstr "konflikti: %d pomakni/reduciraj\n"

-#: src/conflicts.c:533
+#: src/conflicts.c:497
 #, c-format
 msgid "conflicts: %d reduce/reduce\n"
 msgstr "konflikti: %d reduciraj/reduciraj\n"

-#: src/conflicts.c:564
+#: src/conflicts.c:515
+#, c-format
+msgid "State %d "
+msgstr "Stanje %d "
+
+#: src/conflicts.c:582
 #, c-format
 msgid "%%expect-rr applies only to GLR parsers"
 msgstr "%%expect-rr se primjenjuje samo na GLR analizatore"

-#: src/conflicts.c:581
-#, fuzzy, c-format
-msgid "shift/reduce conflicts: %d found, %d expected"
-msgstr "%d pomakni/reduciraj konflikat"
-
-#: src/conflicts.c:586
+#: src/conflicts.c:616
 #, c-format
-msgid "%d shift/reduce conflict"
-msgid_plural "%d shift/reduce conflicts"
-msgstr[0] "%d pomakni/reduciraj konflikat"
-msgstr[1] "%d pomakni/reduciraj konflikata"
+msgid "expected %d shift/reduce conflict"
+msgid_plural "expected %d shift/reduce conflicts"
+msgstr[0] "očekujem %d pomakni/reduciraj konflikt"
+msgstr[1] "očekujem %d pomakni/reduciraj konflikta"
+msgstr[2] "očekujem %d pomakni/reduciraj konflikata"

-#: src/conflicts.c:603
+#: src/conflicts.c:621
 #, c-format
-msgid "reduce/reduce conflicts: %d found, %d expected"
-msgstr ""
-
-#: src/conflicts.c:608
-#, fuzzy, c-format
-msgid "%d reduce/reduce conflict"
-msgid_plural "%d reduce/reduce conflicts"
+msgid "expected %d reduce/reduce conflict"
+msgid_plural "expected %d reduce/reduce conflicts"
 msgstr[0] "očekujem %d reduciraj/reduciraj konflikt"
 msgstr[1] "očekujem %d reduciraj/reduciraj konflikta"
 msgstr[2] "očekujem %d reduciraj/reduciraj konflikata"
@@ -112,27 +103,27 @@
 msgid "cannot close file"
 msgstr "ne mogu zatvoriti datoteku"

-#: src/files.c:363
+#: src/files.c:352
 #, c-format
 msgid "refusing to overwrite the input file %s"
 msgstr "odbijam pisati preko ulazne datoteke %s"

-#: src/files.c:373
+#: src/files.c:362
 #, c-format
 msgid "conflicting outputs to file %s"
 msgstr "konfliktni izlazi u datoteku %s"

-#: src/getargs.c:307
+#: src/getargs.c:292
 #, c-format
 msgid "Try `%s --help' for more information.\n"
 msgstr "Pokušajte „%s --help” za više informacija.\n"

-#: src/getargs.c:316
+#: src/getargs.c:301
 #, c-format
 msgid "Usage: %s [OPTION]... FILE\n"
 msgstr "Uporaba: %s [OPCIJA]... DATOTEKA\n"

-#: src/getargs.c:317
+#: src/getargs.c:302
 msgid ""
 "Generate a deterministic LR or generalized LR (GLR) parser employing\n"
 "LALR(1), IELR(1), or canonical LR(1) parser tables.  IELR(1) and\n"
@@ -144,24 +135,21 @@
 "Podrška za IELR(1) i kanonski LR(1) je eksperimentalna.\n"
 "\n"

-#: src/getargs.c:324
-msgid ""
-"Mandatory arguments to long options are mandatory for short options too.\n"
-msgstr ""
-"Obavezni argumenti dugačkih opcija također su obavezni za kratke opcije.\n"
+#: src/getargs.c:309
+msgid "Mandatory arguments to long options are mandatory for short options too.\n"
+msgstr "Obavezni argumenti dugačkih opcija također su obavezni za kratke opcije.\n"

-#: src/getargs.c:327
+#: src/getargs.c:312
 msgid "The same is true for optional arguments.\n"
 msgstr "Isto vrijedi i za opcionalne argumente.\n"

-#: src/getargs.c:331
+#: src/getargs.c:316
 msgid ""
 "\n"
 "Operation modes:\n"
 "  -h, --help                 display this help and exit\n"
 "  -V, --version              output version information and exit\n"
-"      --print-localedir      output directory containing locale-dependent "
-"data\n"
+"      --print-localedir      output directory containing locale-dependent data\n"
 "      --print-datadir        output directory containing skeletons and XSLT\n"
 "  -y, --yacc                 emulate POSIX Yacc\n"
 "  -W, --warnings[=CATEGORY]  report the warnings falling in CATEGORY\n"
@@ -179,14 +167,13 @@
 "  -f, --feature[=MOGUĆNOST]  aktiviraj razne mogućnosti\n"
 "\n"

-#: src/getargs.c:344
-#, fuzzy, c-format
+#: src/getargs.c:329
+#, c-format
 msgid ""
 "Parser:\n"
 "  -L, --language=LANGUAGE          specify the output programming language\n"
 "  -S, --skeleton=FILE              specify the skeleton to use\n"
-"  -t, --debug                      instrument the parser for tracing\n"
-"                                   same as `-Dparse.trace'\n"
+"  -t, --debug                      instrument the parser for debugging\n"
 "      --locations                  enable location support\n"
 "  -D, --define=NAME[=VALUE]        similar to '%define NAME \"VALUE\"'\n"
 "  -F, --force-define=NAME[=VALUE]  override '%define NAME \"VALUE\"'\n"
@@ -198,23 +185,20 @@
 "Parser:\n"
 "  -L, --language=JEZIK             navedi izlazni programski jezik\n"
 "  -S, --skeleton=DATOTEKA          navedi predložak za korištenje\n"
-"  -t, --debug                      pripremi analizator za ispravljanje "
-"grešaka\n"
+"  -t, --debug                      pripremi analizator za ispravljanje grešaka\n"
 "      --locations                  omogući podršku za lokacije\n"
 "  -D, --define=IME[=VRIJEDNOST]    slično kao „%define IME \"VRIJEDNOST\"”\n"
-"  -F, --force-define=IME[=VRIJEDNOST]  promijeni „%define IME \"VRIJEDNOST"
-"\"”\n"
+"  -F, --force-define=IME[=VRIJEDNOST]  promijeni „%define IME \"VRIJEDNOST\"”\n"
 "  -p, --name-prefix=PREFIKS        dodaj PREFIKS ispred vanjskih simbola\n"
 "                                   zastarjelo zbog „-Dapi.prefix=PREFIKS”\n"
 "  -l, --no-lines                   ne stvaraj „#line” propise\n"
 "  -k, --token-table                uključi tablicu imena simbola\n"

-#: src/getargs.c:362
+#: src/getargs.c:346
 msgid ""
 "Output:\n"
 "      --defines[=FILE]       also produce a header file\n"
-"  -d                         likewise but cannot specify FILE (for POSIX "
-"Yacc)\n"
+"  -d                         likewise but cannot specify FILE (for POSIX Yacc)\n"
 "  -r, --report=THINGS        also produce details on the automaton\n"
 "      --report-file=FILE     write report to FILE\n"
 "  -v, --verbose              same as `--report=state'\n"
@@ -236,20 +220,19 @@
 "  -x, --xml[=DATOTEKA]       također ispiši XML izvještaj o automatu\n"
 "                             (XML shema je eksperimentalna)\n"

-#: src/getargs.c:377
-#, fuzzy
+#: src/getargs.c:361
 msgid ""
 "Warning categories include:\n"
-"  `midrule-values'    unset or unused midrule values\n"
-"  `yacc'              incompatibilities with POSIX Yacc\n"
-"  `conflicts-sr'      S/R conflicts (enabled by default)\n"
-"  `conflicts-rr'      R/R conflicts (enabled by default)\n"
-"  `deprecated'        obsolete constructs\n"
-"  `other'             all other warnings (enabled by default)\n"
-"  `all'               all the warnings\n"
-"  `no-CATEGORY'       turn off warnings in CATEGORY\n"
-"  `none'              turn off all the warnings\n"
-"  `error[=CATEGORY]'  treat warnings as errors\n"
+"  `midrule-values'  unset or unused midrule values\n"
+"  `yacc'            incompatibilities with POSIX Yacc\n"
+"  `conflicts-sr'    S/R conflicts (enabled by default)\n"
+"  `conflicts-rr'    R/R conflicts (enabled by default)\n"
+"  `deprecated'      obsolete constructs\n"
+"  `other'           all other warnings (enabled by default)\n"
+"  `all'             all the warnings\n"
+"  `no-CATEGORY'     turn off warnings in CATEGORY\n"
+"  `none'            turn off all the warnings\n"
+"  `error'           treat warnings as errors\n"
 msgstr ""
 "Kategorije upozorenja uključuju:\n"
 "  „midrule-values”  nepostavljene ili nekorištene midrule vrijednosti\n"
@@ -263,7 +246,7 @@
 "  „none”            isključi sva upozorenja\n"
 "  „error”           postupaj s upozorenjima kao s greškama\n"

-#: src/getargs.c:392
+#: src/getargs.c:376
 msgid ""
 "THINGS is a list of comma separated words that can include:\n"
 "  `state'        describe the states\n"
@@ -281,7 +264,7 @@
 "  „all”          uključi sve gore navedene informacije\n"
 "  „none”         onemogući izvještaj\n"

-#: src/getargs.c:403
+#: src/getargs.c:387
 msgid ""
 "FEATURE is a list of comma separated words that can include:\n"
 "  `caret'        show errors with carets\n"
@@ -295,83 +278,80 @@
 "  „none”         onemogući sve navedeno\n"
 "  "

-#: src/getargs.c:411
+#: src/getargs.c:395
 #, c-format
 msgid "Report bugs to <%s>.\n"
 msgstr "Prijavite greške na <%s>.\n"

-#: src/getargs.c:412
+#: src/getargs.c:396
 #, c-format
 msgid "%s home page: <%s>.\n"
 msgstr "%s početna stranica: <%s>.\n"

-#: src/getargs.c:413
+#: src/getargs.c:397
 msgid "General help using GNU software: <http://www.gnu.org/gethelp/>.\n"
-msgstr ""
-"Općenita pomoć za korištenje GNU softvera: <http://www.gnu.org/gethelp/>.\n"
+msgstr "Općenita pomoć za korištenje GNU softvera: <http://www.gnu.org/gethelp/>.\n"

 #. TRANSLATORS: Replace LANG_CODE in this URL with your language
 #. code <http://translationproject.org/team/LANG_CODE.html> to
 #. form one of the URLs at http://translationproject.org/team/.
 #. Otherwise, replace the entire URL with your translation team's
 #. email address.
-#: src/getargs.c:426
+#: src/getargs.c:410
 msgid "Report translation bugs to <http://translationproject.org/team/>.\n"
-msgstr ""
-"Prijavite greške prijevoda na <http://translationproject.org/team/hr.html>.\n"
+msgstr "Prijavite greške prijevoda na <http://translationproject.org/team/hr.html>.\n"

-#: src/getargs.c:428
+#: src/getargs.c:412
 msgid "For complete documentation, run: info bison.\n"
 msgstr "Za prikaz cjelokupne dokumentacije pokrenite „info bison”.\n"

-#: src/getargs.c:444
+#: src/getargs.c:428
 #, c-format
 msgid "bison (GNU Bison) %s"
 msgstr "bison (GNU Bison) %s"

-#: src/getargs.c:446
+#: src/getargs.c:430
 msgid "Written by Robert Corbett and Richard Stallman.\n"
 msgstr "Napisali Robert Corbett i Richard Stallman.\n"

-#: src/getargs.c:450
+#: src/getargs.c:434
 #, c-format
 msgid "Copyright (C) %d Free Software Foundation, Inc.\n"
 msgstr "Copyright © %d Free Software Foundation, Inc.\n"

-#: src/getargs.c:453
+#: src/getargs.c:437
 msgid ""
 "This is free software; see the source for copying conditions.  There is NO\n"
 "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
 msgstr ""
-"Ovo je slobodan softver, pogledajte kod za upute o kopiranju. NEMA "
-"jamstava,\n"
+"Ovo je slobodan softver, pogledajte kod za upute o kopiranju. NEMA jamstava,\n"
 "čak ni za TRGOVINSKU PRIKLADNOST ili ODGOVARANJE ODREĐENOJ SVRSI.\n"

-#: src/getargs.c:475
+#: src/getargs.c:458
 #, c-format
 msgid "multiple skeleton declarations are invalid"
 msgstr "višestruke deklaracije predloška nisu ispravne"

-#: src/getargs.c:493
+#: src/getargs.c:476
 #, c-format
 msgid "%s: invalid language"
 msgstr "%s: neispravan jezik"

-#: src/getargs.c:496
+#: src/getargs.c:479
 msgid "multiple language declarations are invalid"
 msgstr "višestruke deklaracije jezika nisu ispravne"

-#: src/getargs.c:769
+#: src/getargs.c:747
 #, c-format
 msgid "%s: missing operand"
 msgstr "%s: nedostaje operand"

-#: src/getargs.c:771
+#: src/getargs.c:749
 #, c-format
 msgid "extra operand %s"
 msgstr "operand viška %s"

-#: src/gram.c:111
+#: src/gram.c:112
 msgid "empty"
 msgstr "prazno"

@@ -392,7 +372,7 @@
 "// Početna stranica: <%s>.\n"
 "\n"

-#: src/location.c:93 src/scan-gram.l:988
+#: src/location.c:93 src/scan-gram.l:859
 #, c-format
 msgid "line number overflow"
 msgstr "preljev broja redaka"
@@ -402,37 +382,31 @@
 msgid "column number overflow"
 msgstr "preljev broja stupaca"

-#: src/main.c:145
+#: src/main.c:146
 msgid "rule useless in parser due to conflicts"
 msgstr "pravilo beskorisno u analizatoru zbog konflikata"

-#: src/muscle-tab.c:416
-#, fuzzy, c-format
-msgid "deprecated %%define variable name: %s, use %s"
-msgstr "%s: nedefinirana %%define varijabla %s"
-
-#: src/muscle-tab.c:445
+#: src/muscle-tab.c:450
 #, c-format
 msgid "%%define variable %s redefined"
 msgstr "%%define varijabla %s je ponovo definirana"

-#: src/muscle-tab.c:449
-#, c-format
+#: src/muscle-tab.c:453
 msgid "previous definition"
 msgstr "prethodna definicija"

-#: src/muscle-tab.c:504 src/muscle-tab.c:516 src/muscle-tab.c:562
-#: src/muscle-tab.c:623
+#: src/muscle-tab.c:490 src/muscle-tab.c:504 src/muscle-tab.c:556
+#: src/muscle-tab.c:624
 #, c-format
 msgid "%s: undefined %%define variable %s"
 msgstr "%s: nedefinirana %%define varijabla %s"

-#: src/muscle-tab.c:556
+#: src/muscle-tab.c:550
 #, c-format
 msgid "invalid value for %%define Boolean variable %s"
 msgstr "neispravna vrijednost %%define logičke varijable %s"

-#: src/muscle-tab.c:608
+#: src/muscle-tab.c:609
 #, c-format
 msgid "invalid value for %%define variable %s: %s"
 msgstr "neispravna vrijednost %%define varijable %s: %s"
@@ -442,7 +416,7 @@
 msgid "accepted value: %s"
 msgstr "prihvaćena vrijednost: %s"

-#: src/parse-gram.y:785
+#: src/parse-gram.y:747
 #, c-format
 msgid "missing identifier in parameter declaration"
 msgstr "nedostaje identifikator u deklaraciji paremetra"
@@ -480,7 +454,7 @@
 msgid "$default"
 msgstr "$default"

-#: src/print.c:373 src/print_graph.c:79
+#: src/print.c:373 src/print_graph.c:78
 #, c-format
 msgid "State %d"
 msgstr "Stanje %d"
@@ -517,67 +491,66 @@
 msgid "result type clash on merge function %s: <%s> != <%s>"
 msgstr "sukob rezultantne vrste u funkciji spajanja %s: <%s> != <%s>"

-#: src/reader.c:140 src/symtab.c:201 src/symtab.c:213
-#, c-format
+#: src/reader.c:139 src/symtab.c:156 src/symtab.c:166 src/symtab.c:938
+#: src/symtab.c:953 src/symtab.c:968 src/symtab.c:983
 msgid "previous declaration"
 msgstr "prethodna deklaracija"

-#: src/reader.c:206
+#: src/reader.c:205
 #, c-format
 msgid "duplicated symbol name for %s ignored"
 msgstr "dvostruko ime simbola za %s je zanemareno"

-#: src/reader.c:250
+#: src/reader.c:249
 #, c-format
 msgid "rule given for %s, which is a token"
 msgstr "navedeno je pravilo za %s, a to je simbol"

-#: src/reader.c:306
+#: src/reader.c:304
 #, c-format
 msgid "type clash on default action: <%s> != <%s>"
 msgstr "sukob vrsta u zadanoj radnji: <%s> != <%s>"

-#: src/reader.c:312
+#: src/reader.c:310
 #, c-format
 msgid "empty rule for typed nonterminal, and no action"
 msgstr "prazno pravilo za nezavršni znak i nema radnje"

-#: src/reader.c:329
+#: src/reader.c:328
 #, c-format
 msgid "unused value: $%d"
 msgstr "nekorištena vrijednost: $%d"

-#: src/reader.c:331
-#, c-format
+#: src/reader.c:330
 msgid "unset value: $$"
 msgstr "nepostavljena vrijednost: $$"

-#: src/reader.c:343
+#: src/reader.c:341
 #, c-format
 msgid "token for %%prec is not defined: %s"
 msgstr "simbol za %%prec nije definiran: %s"

-#: src/reader.c:433 src/reader.c:449 src/reader.c:463
+#: src/reader.c:431 src/reader.c:445 src/reader.c:458
 #, c-format
 msgid "only one %s allowed per rule"
 msgstr "samo je jedan %s dozvoljen po pravilu"

-#: src/reader.c:443 src/reader.c:460
+#: src/reader.c:441 src/reader.c:456
 #, c-format
 msgid "%s affects only GLR parsers"
 msgstr "%s utječe samo na GLR analizatore"

-#: src/reader.c:446
+#: src/reader.c:443
 #, c-format
 msgid "%s must be followed by positive number"
 msgstr "nakon %s mora slijediti pozitivan broj"

-#: src/reader.c:562
+#: src/reader.c:554
 #, c-format
 msgid "rule is too long"
 msgstr "pravilo je predugačko"

-#: src/reader.c:680
+#: src/reader.c:672
 #, c-format
 msgid "no rules in the input grammar"
 msgstr "nema pravila u ulaznoj gramatici"
@@ -586,24 +559,24 @@
 msgid "rule useless in grammar"
 msgstr "pravilo je beskorisno u gramatici"

-#: src/reduce.c:303
+#: src/reduce.c:302
 #, c-format
 msgid "nonterminal useless in grammar: %s"
 msgstr "nezavršni znak je beskoristan u gramatici: %s"

-#: src/reduce.c:351
+#: src/reduce.c:350
 msgid "Nonterminals useless in grammar"
 msgstr "Nezavršni znakovi beskorisni u gramatici"

-#: src/reduce.c:364
+#: src/reduce.c:363
 msgid "Terminals unused in grammar"
 msgstr "Završni znakovi nekorišteni u gramatici"

-#: src/reduce.c:373
+#: src/reduce.c:372
 msgid "Rules useless in grammar"
 msgstr "Pravila beskorisna u gramatici"

-#: src/reduce.c:386
+#: src/reduce.c:385
 #, c-format
 msgid "%d nonterminal useless in grammar"
 msgid_plural "%d nonterminals useless in grammar"
@@ -611,7 +584,7 @@
 msgstr[1] "%d nezavršna znaka beskorisna u gramatici"
 msgstr[2] "%d nezavršnih znakova beskorisnih u gramatici"

-#: src/reduce.c:391
+#: src/reduce.c:390
 #, c-format
 msgid "%d rule useless in grammar"
 msgid_plural "%d rules useless in grammar"
@@ -619,227 +592,224 @@
 msgstr[1] "%d pravila beskorisna u gramatici"
 msgstr[2] "%d pravila beskorisnih u gramatici"

-#: src/reduce.c:420
+#: src/reduce.c:419
 #, c-format
 msgid "start symbol %s does not derive any sentence"
 msgstr "početni simbol %s ne daje niti jednu rečenicu"

-#: src/scan-code.l:189
+#: src/scan-code.l:188
 #, c-format
 msgid "stray '%s'"
 msgstr "zalutali „%s”"

-#: src/scan-code.l:230
-#, c-format
+#: src/scan-code.l:229
 msgid "a ';' might be needed at the end of action code"
 msgstr "može biti potrebna „;” na kraju koda radnje"

-#: src/scan-code.l:233
-#, c-format
+#: src/scan-code.l:232
 msgid "future versions of Bison will not add the ';'"
 msgstr "buduće inačice Bisona neće dodavati „;”"

-#: src/scan-code.l:414
+#: src/scan-code.l:254
+#, c-format
+msgid "use of YYFAIL, which is deprecated and will be removed"
+msgstr "korištenje YYFAIL, što je zastarjelo i bit će uklonjeno"
+
+#: src/scan-code.l:431 src/scan-code.l:434
 #, c-format
 msgid "refers to: %c%s at %s"
 msgstr "odnosi se na: %c%s na %s"

-#: src/scan-code.l:426
+#: src/scan-code.l:450
 #, c-format
 msgid "possibly meant: %c"
 msgstr "vjerojatno znači: %c"

-#: src/scan-code.l:435
+#: src/scan-code.l:459
 #, c-format
 msgid ", hiding %c"
 msgstr ", skrivajući %c"

-#: src/scan-code.l:443
+#: src/scan-code.l:467
 #, c-format
 msgid " at %s"
 msgstr " na %s"

-#: src/scan-code.l:447
+#: src/scan-code.l:472
 #, c-format
 msgid ", cannot be accessed from mid-rule action at $%d"
 msgstr ", ne može mu pristupiti mid-rule radnja na $%d"

-#: src/scan-code.l:504 src/scan-gram.l:911
+#: src/scan-code.l:521 src/scan-gram.l:783
 #, c-format
 msgid "integer out of range: %s"
 msgstr "cijeli broj izvan granica: %s"

-#: src/scan-code.l:594
+#: src/scan-code.l:610
 #, c-format
 msgid "invalid reference: %s"
 msgstr "neispravna referenca: %s"

-#: src/scan-code.l:602
+#: src/scan-code.l:619
 #, c-format
 msgid "syntax error after '%c', expecting integer, letter, '_', '[', or '$'"
-msgstr ""
-"sintaksna greška nakon „%c”, očekujem cijeli broj, slovo, „_”, „[” ili „$”"
+msgstr "sintaksna greška nakon „%c”, očekujem cijeli broj, slovo, „_”, „[” ili „$”"

-#: src/scan-code.l:608
+#: src/scan-code.l:626
 #, c-format
 msgid "symbol not found in production before $%d: %.*s"
 msgstr "simbol nije pronađen u proizvodnji prije $%d: %.*s"

-#: src/scan-code.l:613
+#: src/scan-code.l:633
 #, c-format
 msgid "symbol not found in production: %.*s"
 msgstr "simbol nije pronađen u proizvodnji: %.*s"

-#: src/scan-code.l:628
+#: src/scan-code.l:648
 #, c-format
 msgid "misleading reference: %s"
 msgstr "krivo navodeća referenca: %s"

-#: src/scan-code.l:644
+#: src/scan-code.l:663
 #, c-format
 msgid "ambiguous reference: %s"
 msgstr "višeznačna referenca: %s"

-#: src/scan-code.l:682
+#: src/scan-code.l:700
 #, c-format
 msgid "explicit type given in untyped grammar"
 msgstr "navedena eksplicitna vrsta u neunesenoj gramatici"

-#: src/scan-code.l:741
+#: src/scan-code.l:759
 #, c-format
 msgid "$$ for the midrule at $%d of %s has no declared type"
 msgstr "$$ za srednje pravilo na $%d od %s nema deklariranu vrstu"

-#: src/scan-code.l:747
+#: src/scan-code.l:764
 #, c-format
 msgid "$$ of %s has no declared type"
 msgstr "$$ od %s nema deklariranu vrstu"

-#: src/scan-code.l:770
+#: src/scan-code.l:786
 #, c-format
 msgid "$%s of %s has no declared type"
 msgstr "$%s od %s nema deklariranu vrstu"

-#: src/scan-gram.l:81
-#, fuzzy, c-format
-msgid "deprecated directive: %s, use %s"
-msgstr "neispravan propis: %s"
-
-#: src/scan-gram.l:184
+#: src/scan-gram.l:149
 #, c-format
 msgid "stray ',' treated as white space"
 msgstr "postupam sa zalutalim „,” kao praznim prostorom"

-#: src/scan-gram.l:273
+#: src/scan-gram.l:222
 #, c-format
 msgid "invalid directive: %s"
 msgstr "neispravan propis: %s"

-#: src/scan-gram.l:299
+#: src/scan-gram.l:250
 #, c-format
 msgid "invalid identifier: %s"
 msgstr "neispravan identifikator: %s"

-#: src/scan-gram.l:358
+#: src/scan-gram.l:295
 msgid "invalid character"
 msgid_plural "invalid characters"
 msgstr[0] "neispravan znak"
 msgstr[1] "neispravni znakovi"
 msgstr[2] "neispravni znakovi"

-#: src/scan-gram.l:376
-#, c-format
-msgid "invalid null character"
-msgstr "neispravan prazan znak"
-
-#: src/scan-gram.l:429
+#: src/scan-gram.l:354
 #, c-format
 msgid "unexpected identifier in bracketed name: %s"
 msgstr "neočekivani identifikator u zagrađenom imenu: %s"

-#: src/scan-gram.l:451
+#: src/scan-gram.l:376
 #, c-format
 msgid "an identifier expected"
 msgstr "očekujem identifikator"

-#: src/scan-gram.l:456
+#: src/scan-gram.l:381
 msgid "invalid character in bracketed name"
 msgid_plural "invalid characters in bracketed name"
 msgstr[0] "neispravan znak u zagrađenom imenu"
 msgstr[1] "neispravni znakovi u zagrađenom imenu"
 msgstr[2] "neispravni znakovi u zagrađenom imenu"

-#: src/scan-gram.l:556 src/scan-gram.l:578
+#: src/scan-gram.l:481 src/scan-gram.l:502
 #, c-format
 msgid "empty character literal"
 msgstr "prazna znakovna konstanta"

-#: src/scan-gram.l:562 src/scan-gram.l:584
+#: src/scan-gram.l:486 src/scan-gram.l:507
 #, c-format
 msgid "extra characters in character literal"
 msgstr "višak znakova u znakovnoj konstanti"

-#: src/scan-gram.l:637 src/scan-gram.l:647 src/scan-gram.l:667
+#: src/scan-gram.l:518
+#, c-format
+msgid "invalid null character"
+msgstr "neispravan prazan znak"
+
+#: src/scan-gram.l:531 src/scan-gram.l:541 src/scan-gram.l:561
 #, c-format
 msgid "invalid number after \\-escape: %s"
 msgstr "neispravan broj nakon \\-izlaza: %s"

-#: src/scan-gram.l:679
+#: src/scan-gram.l:573
 #, c-format
 msgid "invalid character after \\-escape: %s"
 msgstr "neispravan znak nakon \\-izlaza: %s"

-#: src/scan-gram.l:1030
+#: src/scan-gram.l:901
 #, c-format
 msgid "missing %s at end of file"
 msgstr "nedostaje %s na kraju datoteke"

-#: src/scan-gram.l:1041
+#: src/scan-gram.l:912
 #, c-format
 msgid "missing %s at end of line"
 msgstr "nedostaje %s na kraju retka"

-#: src/scan-skel.l:139
+#: src/scan-skel.l:146
 #, c-format
 msgid "unclosed %s directive in skeleton"
 msgstr "nezatvoren %s propis u predlošku"

-#: src/scan-skel.l:253
+#: src/scan-skel.l:291
 #, c-format
 msgid "too few arguments for %s directive in skeleton"
 msgstr "premalo argumenata %s propisa u predlošku"

-#: src/scan-skel.l:260
+#: src/scan-skel.l:298
 #, c-format
 msgid "too many arguments for %s directive in skeleton"
 msgstr "premalo argumenata %s propisa u predlošku"

-#: src/symlist.c:180
+#: src/symlist.c:211
 #, c-format
 msgid "invalid $ value: $%d"
 msgstr "neispravna $ vrijednost: $%d"

-#: src/symtab.c:65
+#: src/symtab.c:71
 #, c-format
 msgid "POSIX Yacc forbids dashes in symbol names: %s"
 msgstr "POSIX Yacc zabranjuje povlake u imenima simbola: %s"

-#: src/symtab.c:84
+#: src/symtab.c:91
 #, c-format
 msgid "too many symbols in input grammar (limit is %d)"
 msgstr "previše simbola u ulaznoj gramatici (ograničenje je %d)"

-#: src/symtab.c:198
+#: src/symtab.c:154
 #, c-format
 msgid "%s redeclaration for %s"
 msgstr "ponovna deklaracija %s za %s"

-#: src/symtab.c:210
+#: src/symtab.c:164
 #, c-format
 msgid "%s redeclaration for <%s>"
 msgstr "ponovna deklaracija %s za <%s>"

-#: src/symtab.c:331
+#: src/symtab.c:332
 #, c-format
 msgid "symbol %s redefined"
 msgstr "simbol %s ponovo definiran"
@@ -854,51 +824,61 @@
 msgid "redefining user token number of %s"
 msgstr "ponovo definiram broj korisničkog simbola od %s"

-#: src/symtab.c:397
+#: src/symtab.c:395
 #, c-format
 msgid "symbol %s is used, but is not defined as a token and has no rules"
 msgstr "simbol %s je korišten, ali nije definiran kao simbol i nema pravila"

-#: src/symtab.c:431
-#, c-format
-msgid "useless %s for type <%s>"
-msgstr ""
-
-#: src/symtab.c:436
-#, fuzzy, c-format
-msgid "type <%s> is used, but is not associated to any symbol"
-msgstr "simbol %s je korišten, ali nije definiran kao simbol i nema pravila"
-
-#: src/symtab.c:461
+#: src/symtab.c:415
 #, c-format
 msgid "symbol %s used more than once as a literal string"
 msgstr "simbol %s je korišten više puta kao konstantan niz"

-#: src/symtab.c:464
+#: src/symtab.c:418
 #, c-format
 msgid "symbol %s given more than one literal string"
 msgstr "simbolu %s je dano više od jednog konstantnog niza"

-#: src/symtab.c:570
+#: src/symtab.c:535
 #, c-format
 msgid "user token number %d redeclaration for %s"
 msgstr "ponovna deklaracija broja korisničkog simbola %d za %s"

-#: src/symtab.c:574
+#: src/symtab.c:539
 #, c-format
 msgid "previous declaration for %s"
 msgstr "prethodna deklaracija za %s"

-#: src/symtab.c:955
+#: src/symtab.c:915
 #, c-format
 msgid "the start symbol %s is undefined"
 msgstr "početni simbol %s nije definiran"

-#: src/symtab.c:959
+#: src/symtab.c:919
 #, c-format
 msgid "the start symbol %s is a token"
 msgstr "početni simbol %s je simbol"

+#: src/symtab.c:935
+#, c-format
+msgid "redeclaration for default tagged %%destructor"
+msgstr "ponovna deklaracija za zadani označeni %%destructor"
+
+#: src/symtab.c:950
+#, c-format
+msgid "redeclaration for default tagless %%destructor"
+msgstr "ponovna deklaracija za zadani neoznačeni %%destructor"
+
+#: src/symtab.c:965
+#, c-format
+msgid "redeclaration for default tagged %%printer"
+msgstr "ponovna deklaracija za zadani označeni %%printer"
+
+#: src/symtab.c:980
+#, c-format
+msgid "redeclaration for default tagless %%printer"
+msgstr "ponovna deklaracija za zadani neoznačeni %%printer"
+
 #: djgpp/subpipe.c:63 djgpp/subpipe.c:286 djgpp/subpipe.c:288
 #, c-format
 msgid "removing of '%s' failed"
@@ -927,16 +907,12 @@
 #: djgpp/subpipe.c:157
 #, c-format
 msgid "redirecting bison's stdout to the temporary file failed"
-msgstr ""
-"preusmjeravanje standardnog izlaza programa bison u privremenu datoteku nije "
-"uspjelo"
+msgstr "preusmjeravanje standardnog izlaza programa bison u privremenu datoteku nije uspjelo"

 #: djgpp/subpipe.c:201
 #, c-format
 msgid "redirecting m4's stdin from the temporary file failed"
-msgstr ""
-"preusmjeravanje standardnog ulaza programa m4 iz privremene datoteke nije "
-"uspjelo"
+msgstr "preusmjeravanje standardnog ulaza programa m4 iz privremene datoteke nije uspjelo"

 #: djgpp/subpipe.c:212
 #, c-format
@@ -946,9 +922,7 @@
 #: djgpp/subpipe.c:218
 #, c-format
 msgid "redirecting m4's stdout to a temporary file failed"
-msgstr ""
-"preusmjeravanje standardnog izlaza programa u privremenu datoteku nije "
-"uspjelo"
+msgstr "preusmjeravanje standardnog izlaza programa u privremenu datoteku nije uspjelo"

 #: djgpp/subpipe.c:234
 #, c-format
@@ -963,9 +937,7 @@
 #: djgpp/subpipe.c:265
 #, c-format
 msgid "redirecting bison's stdin from the temporary file failed"
-msgstr ""
-"preusmjeravanje standardnog ulaza programa bison iz privremene datoteke nije "
-"uspjelo"
+msgstr "preusmjeravanje standardnog ulaza programa bison iz privremene datoteke nije uspjelo"

 #: lib/argmatch.c:133
 #, c-format
@@ -1194,58 +1166,23 @@
 msgid "%s subprocess got fatal signal %d"
 msgstr "%s potproces je primio fatalni signal %d"

-#~ msgid "expected %d shift/reduce conflict"
-#~ msgid_plural "expected %d shift/reduce conflicts"
-#~ msgstr[0] "očekujem %d pomakni/reduciraj konflikt"
-#~ msgstr[1] "očekujem %d pomakni/reduciraj konflikta"
-#~ msgstr[2] "očekujem %d pomakni/reduciraj konflikata"
-
-#~ msgid "use of YYFAIL, which is deprecated and will be removed"
-#~ msgstr "korištenje YYFAIL, što je zastarjelo i bit će uklonjeno"
-
-#~ msgid "redeclaration for default tagged %%destructor"
-#~ msgstr "ponovna deklaracija za zadani označeni %%destructor"
-
-#~ msgid "redeclaration for default tagless %%destructor"
-#~ msgstr "ponovna deklaracija za zadani neoznačeni %%destructor"
-
-#~ msgid "redeclaration for default tagged %%printer"
-#~ msgstr "ponovna deklaracija za zadani označeni %%printer"
-
-#~ msgid "redeclaration for default tagless %%printer"
-#~ msgstr "ponovna deklaracija za zadani neoznačeni %%printer"
-
 #~ msgid "state %d"
 #~ msgstr "stanje %d"

 #~ msgid "stray '@'"
 #~ msgstr "stray „@”"

-#~ msgid ""
-#~ "undefined %%define variable `%s' passed to muscle_percent_define_get_loc"
-#~ msgstr ""
-#~ "nedefinirana %%define varijabla „%s” je proslijeđena "
-#~ "muscle_percent_define_get_loc"
+#~ msgid "undefined %%define variable `%s' passed to muscle_percent_define_get_loc"
+#~ msgstr "nedefinirana %%define varijabla „%s” je proslijeđena muscle_percent_define_get_loc"

-#~ msgid ""
-#~ "undefined %%define variable `%s' passed to "
-#~ "muscle_percent_define_get_syncline"
-#~ msgstr ""
-#~ "nedefinirana %%define varijabla „%s” je proslijeđena "
-#~ "muscle_percent_define_get_syncline"
+#~ msgid "undefined %%define variable `%s' passed to muscle_percent_define_get_syncline"
+#~ msgstr "nedefinirana %%define varijabla „%s” je proslijeđena muscle_percent_define_get_syncline"

-#~ msgid ""
-#~ "undefined %%define variable `%s' passed to muscle_percent_define_flag_if"
-#~ msgstr ""
-#~ "nedefinirana %%define varijabla „%s” je proslijeđena "
-#~ "muscle_percent_define_flag_if"
+#~ msgid "undefined %%define variable `%s' passed to muscle_percent_define_flag_if"
+#~ msgstr "nedefinirana %%define varijabla „%s” je proslijeđena muscle_percent_define_flag_if"

-#~ msgid ""
-#~ "undefined %%define variable `%s' passed to "
-#~ "muscle_percent_define_check_values"
-#~ msgstr ""
-#~ "nedefinirana %%define varijable „%s” je proslijeđena "
-#~ "muscle_percent_define_check_values"
+#~ msgid "undefined %%define variable `%s' passed to muscle_percent_define_check_values"
+#~ msgstr "nedefinirana %%define varijable „%s” je proslijeđena muscle_percent_define_check_values"

 #~ msgid "too many states (max %d)"
 #~ msgstr "previše stanja (maks %d)"
@@ -1256,6 +1193,11 @@
 #~ msgid "shift"
 #~ msgstr "pomakni"

+#~ msgid "%d shift/reduce conflict"
+#~ msgid_plural "%d shift/reduce conflicts"
+#~ msgstr[0] "%d pomakni/reduciraj konflikat"
+#~ msgstr[1] "%d pomakni/reduciraj konflikata"
+
 #~ msgid "and"
 #~ msgstr "i"

@@ -1308,12 +1250,10 @@
 #~ msgid ""
 #~ "Output:\n"
 #~ "  -d, --defines              also produce a header file\n"
-#~ "  -v, --verbose              also produce an explanation of the "
-#~ "automaton\n"
+#~ "  -v, --verbose              also produce an explanation of the automaton\n"
 #~ "  -b, --file-prefix=PREFIX   specify a PREFIX for output files\n"
 #~ "  -o, --output=FILE          leave output to FILE\n"
-#~ "  -g, --graph                also produce a VCG description of the "
-#~ "automaton\n"
+#~ "  -g, --graph                also produce a VCG description of the automaton\n"
 #~ msgstr ""
 #~ "Izlaz:\n"
 #~ "  -d, --defines              također proizvedi header datoteku\n"


From MAILER-DAEMON Fri Dec 21 12:06:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm63l-0007U6-Pf
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 12:06:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40721)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm63e-0007QI-NA
	for bug-bison@gnu.org; Fri, 21 Dec 2012 12:06:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm63V-0007JZ-MK
	for bug-bison@gnu.org; Fri, 21 Dec 2012 12:06:50 -0500
Received: from mail-bk0-f50.google.com ([209.85.214.50]:48286)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm63V-0007JO-GY
	for bug-bison@gnu.org; Fri, 21 Dec 2012 12:06:41 -0500
Received: by mail-bk0-f50.google.com with SMTP id jf3so2549472bkc.37
	for <bug-bison@gnu.org>; Fri, 21 Dec 2012 09:06:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=mdVSKsAp0IsO/SCHm9Cuz1ysx//8cf63h5kUkRfBV4I=;
	b=E8isg61KDllWyALrpuVJx6dk11injkcg/9/YmhEpjy5NqhpP+rdzt0PQ/Duf383a2r
	QWXUVVbdnO84HqxN40TWU14j12/BStwhPWSzCWtVR4qDV32jQrDzYPXpq4VowxV3ie1l
	DN9dkrO9r1OCeztMHvCzQPjQTV7j0kldDdmznlhFLkwoGfRp4FSVm7doFfqIqW8oP/Iq
	/u5xNp5bcYZasf0ogrugOVCc9N9yxvIWCrx0psJNmrPMZ167+kZ+30Flm6OfXUDh5iee
	m97NFcYiImkBN1d+pY9rbaGt9hIVutPWy+hYk0cS5TidAeNwlvqFB8y7a+aPCLZtdoi9
	7JLg==
X-Received: by 10.204.129.66 with SMTP id n2mr6949343bks.94.1356109600456;
	Fri, 21 Dec 2012 09:06:40 -0800 (PST)
Received: from [192.168.178.21]
	(host137-94-dynamic.4-87-r.retail.telecomitalia.it. [87.4.94.137])
	by mx.google.com with ESMTPS id q22sm10755673bkv.16.2012.12.21.09.06.38
	(version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 09:06:39 -0800 (PST)
Message-ID: <50D4971B.7000602@gmail.com>
Date: Fri, 21 Dec 2012 18:06:35 +0100
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: "bug-bison@gnu.org" <bug-bison@gnu.org>
Subject: Bootstrapping a freshly-cloned Git repository of Bison fails
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.214.50
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 17:06:56 -0000

How to reproduce:

  $ git clone git://git.savannah.gnu.org/bison.git
  $ cd bison
  $ ./bootstrap
  ...
  You may need to use the following Makefile variables when linking.
  Use them in <program>_LDADD when linking a program, or
  in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
    $(ISNAND_LIBM)
    $(ISNANF_LIBM)
    $(ISNANL_LIBM)
    $(LDEXPL_LIBM)
    $(LDEXP_LIBM)
    $(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
    $(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise

  Don't forget to
    - "include gnulib.mk" from within "lib/Makefile.am",
    - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
    - mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
    - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC_STDC,
    - invoke gl_INIT in ./configure.ac.
  prefix=lib/
  running: AUTOPOINT=true LIBTOOLIZE=true  autoreconf --verbose --install --no-recursive -I m4
  autoreconf: Entering directory `.'
  autoreconf: running: true
  autoreconf: running: aclocal -I m4 -I m4
  autoreconf: configure.ac: tracing
  autoreconf: configure.ac: not using Libtool
  autoreconf: running: /usr/bin/autoconf --include=m4
  configure.ac:168: error: possibly undefined macro: AC_PROG_GNU_M4
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
  autoreconf: /usr/bin/autoconf failed with exit status: 1
  ./bootstrap: autoreconf failed

Maybe this could be fixed by suitably invoking "git submodule"
in the 'bootstrap_post_import_hook' function (to be defined in
bootstrap.conf).  I didn't attempt a patch because I have no
copyright paperwork in place for Bison.

Regards,
  Stefano


From MAILER-DAEMON Fri Dec 21 12:49:39 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm6j5-0005F9-Rq
	for mharc-bug-bison@gnu.org; Fri, 21 Dec 2012 12:49:39 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51706)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm6iy-0005F0-Tj
	for bug-bison@gnu.org; Fri, 21 Dec 2012 12:49:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm6iu-000300-Ev
	for bug-bison@gnu.org; Fri, 21 Dec 2012 12:49:32 -0500
Received: from mail-bk0-f50.google.com ([209.85.214.50]:41485)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tm6iu-0002zw-89
	for bug-bison@gnu.org; Fri, 21 Dec 2012 12:49:28 -0500
Received: by mail-bk0-f50.google.com with SMTP id jf3so2522364bkc.23
	for <bug-bison@gnu.org>; Fri, 21 Dec 2012 09:49:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:subject:references
	:in-reply-to:content-type:content-transfer-encoding;
	bh=AcuQZ/vIKti0OLCaOkUjggileXI2hO7BSDC1nO4t0Yk=;
	b=acA5mIupqUCZxmzCcBGsnj4299eoLF7SlD5wEp9XLXzubuvARkv/tEZ0d07eWQDmko
	Px4ahePc/2vdj6rL9fMutovFdLxD4x7NaID5WdqqKMyWtv4pdMCsuvZGt6GPqz69O/n4
	t/sFcNFUdptBxOqqk72rJfBGjY06NqnEgDlC/KmFP0L6NsxUpdRci55z4ktmZZ4w/cG0
	oBTJ19Kjg43IBuHNn4GDkXrWeIFb/4KD0xk+6tVKMWk9+IAcw6zWV9A/G9bV65vq6jRt
	S7ksKDbxHuC368T/GsyyjpgNRdarHQlpnjz73hUqbXNEFPwcUPzenHoYeIwpEXGHTv+p
	Nt+Q==
X-Received: by 10.205.120.3 with SMTP id fw3mr6950670bkc.40.1356112167276;
	Fri, 21 Dec 2012 09:49:27 -0800 (PST)
Received: from [192.168.178.21]
	(host137-94-dynamic.4-87-r.retail.telecomitalia.it. [87.4.94.137])
	by mx.google.com with ESMTPS id c10sm10792365bkw.1.2012.12.21.09.49.25
	(version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 09:49:26 -0800 (PST)
Message-ID: <50D4A122.9020100@gmail.com>
Date: Fri, 21 Dec 2012 18:49:22 +0100
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: Tomislav Krznar <tomislav.krznar@gmail.com>, 
	"bug-bison@gnu.org" <bug-bison@gnu.org>
Subject: Re: bootstrap: error with Croatian translation
References: <CA+RERftLiDgGPpNX=ndPR_2Wun-t=Xqh_UJUDmg0+GnVcMiH0g@mail.gmail.com>
	<1363CECC-F65F-4437-872B-67226B891460@lrde.epita.fr>
	<50B32E52.5060703@gmail.com>
	<CB632DA6-A78F-4052-9489-6C9835A3E781@lrde.epita.fr>
	<CA+0AnSKi8g5HAiiEaPHW+XmzzLB-fVuxuMUQQN+8TTeJTX-_yw@mail.gmail.com>
	<8F0FD95A-B336-4A52-BB94-0CBAA3E9054B@lrde.epita.fr>
	<50CB7E79.2000504@gmail.com>
	<CA+0AnS+tTOBcgqb4ohJjD0JzvQvqOscT9mMMK2+LCdkwCz_Miw@mail.gmail.com>
	<50D181A1.9090304@gmail.com>
	<CA+0AnS++-Nbv2qssNvSzpx_RN3S2y9Vgug9breP7sVOVEg2WqA@mail.gmail.com>
	<50D4691B.4040802@gmail.com>
	<CA+0AnSKmkqCvRjoDCFg0hSPiqC4Wbajw+enX=Co3gY+UuaEzsg@mail.gmail.com>
In-Reply-To: <CA+0AnSKmkqCvRjoDCFg0hSPiqC4Wbajw+enX=Co3gY+UuaEzsg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.214.50
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 17:49:38 -0000

[re-adding the bug-bison list]

On 12/21/2012 04:05 PM, Tomislav Krznar wrote:
> 21. prosinca 2012. 14:50 korisnik Stefano Lattarini
> <stefano.lattarini@gmail.com> napisao je:
>> [re-adding the bug-bison list]
>>
>> On 12/20/2012 02:49 PM, Tomislav Krznar wrote:
>>> 2012/12/19 Stefano Lattarini <stefano.lattarini@gmail.com>:
>>>> On 12/19/2012 09:24 AM, Tomislav Krznar wrote:
>>>>> 2012/12/14 Stefano Lattarini <stefano.lattarini@gmail.com>:
>>>>>
>>>>>> FYI: I'm still seeing this error when bootstrapping from master:
>>>>>>
>>>>>>   ...
>>>>>>   rm -f hr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hr.gmo hr.po
>>>>>>   hr.po:8: nplurals = 3...
>>>>>>   hr.po:85: ...but some messages have only 2 plural forms
>>>>>>   /usr/bin/msgfmt: found 1 fatal error
>>>>>>   hr.po: 187 translated messages, 13 fuzzy translations, 3 untranslated messages.
>>>>>>   Makefile:173: recipe for target 'hr.gmo' failed
>>>>>>   make[3]: *** [hr.gmo] Error 1
>>>>>>   make[3]: Leaving directory '/devel/bleeding/src/bison/po'
>>>>>>
>>>>>> Regards,
>>>>>>   Stefano
>>>>>
>>>>> Are you still having problems? I have updated translation few days ago.
>>>>>
>>>> Yes, I still see the same error.  Could you maybe try bootstrapping Bison
>>>> from a pristine git checkout, and see whether you manage to reproduce the
>>>> issue?
>>>>
>>>> Thanks,
>>>>   Stefano
>>>
>>> I have sucessfully managed to reproduce the issue. I don't know why
>>> this happens, but the file "hr.po" gets replaced with older version
>>> which has errors. However, in the "po" subdirectory you can find file
>>> named "hr.po~". I copied it over the file "hr.po" and make didn't
>>> return any errors. You can try that and tell me if it works.
>>>
>> I can confirm this workaround works for me as well.  I copy below the
>> diffs between 'po/hr.po~' and 'po/hr.po', in the hope that will help
>> shedding some further light on the issue.
>>
>> Thanks,
>>   Stefano
>>
> 
> Hi, Stefano.
> I was looking through the diff and I found that the problem was with
> old (unused) translations that had only two plural forms. And when
> msgmerge is called during compilation, it produced file with errors. I
> have fixed those strings and reuploaded them, so there should be no
> more problems.
>
Indeed, the issue I was seeing has disappeared.

Thanks,
  Stefano


From MAILER-DAEMON Wed Dec 26 05:03:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tnnq9-0008F5-Rg
	for mharc-bug-bison@gnu.org; Wed, 26 Dec 2012 05:03:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41899)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tnnq7-0008DQ-AV
	for bug-bison@gnu.org; Wed, 26 Dec 2012 05:03:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tnnq6-0001S6-2H
	for bug-bison@gnu.org; Wed, 26 Dec 2012 05:03:55 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:60249
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1Tnnq5-0001S2-SY
	for bug-bison@gnu.org; Wed, 26 Dec 2012 05:03:53 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1Tnnq5-0004wq-Cf; Wed, 26 Dec 2012 11:03:53 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: bootstrap: error with Croatian translation
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <50D4A122.9020100@gmail.com>
Date: Wed, 26 Dec 2012 11:03:57 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <E52558C6-1CBB-4974-9060-2685D445842E@lrde.epita.fr>
References: <CA+RERftLiDgGPpNX=ndPR_2Wun-t=Xqh_UJUDmg0+GnVcMiH0g@mail.gmail.com>
	<1363CECC-F65F-4437-872B-67226B891460@lrde.epita.fr>
	<50B32E52.5060703@gmail.com>
	<CB632DA6-A78F-4052-9489-6C9835A3E781@lrde.epita.fr>
	<CA+0AnSKi8g5HAiiEaPHW+XmzzLB-fVuxuMUQQN+8TTeJTX-_yw@mail.gmail.com>
	<8F0FD95A-B336-4A52-BB94-0CBAA3E9054B@lrde.epita.fr>
	<50CB7E79.2000504@gmail.com>
	<CA+0AnS+tTOBcgqb4ohJjD0JzvQvqOscT9mMMK2+LCdkwCz_Miw@mail.gmail.com>
	<50D181A1.9090304@gmail.com>
	<CA+0AnS++-Nbv2qssNvSzpx_RN3S2y9Vgug9breP7sVOVEg2WqA@mail.gmail.com>
	<50D4691B.4040802@gmail.com>
	<CA+0AnSKmkqCvRjoDCFg0hSPiqC4Wbajw+enX=Co3gY+UuaEzsg@mail.gmail.com>
	<50D4A122.9020100@gmail.com>
To: Stefano Lattarini <stefano.lattarini@gmail.com>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Tomislav Krznar <tomislav.krznar@gmail.com>,
	"bug-bison@gnu.org" <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 10:03:56 -0000


Le 21 d=E9c. 2012 =E0 18:49, Stefano Lattarini =
<stefano.lattarini@gmail.com> a =E9crit :

> On 12/21/2012 04:05 PM, Tomislav Krznar wrote:
>> Hi, Stefano.
>> I was looking through the diff and I found that the problem was with
>> old (unused) translations that had only two plural forms. And when
>> msgmerge is called during compilation, it produced file with errors. =
I
>> have fixed those strings and reuploaded them, so there should be no
>> more problems.
>>=20
> Indeed, the issue I was seeing has disappeared.

Thanks to both of you for having tracked down this issue.
Tomislav, I think you should consider reporting this to
gettext as a bug.

Cheers!



From MAILER-DAEMON Wed Dec 26 05:09:19 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TnnvL-0000lG-Ki
	for mharc-bug-bison@gnu.org; Wed, 26 Dec 2012 05:09:19 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42835)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TnnvI-0000jg-Fm
	for bug-bison@gnu.org; Wed, 26 Dec 2012 05:09:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TnnvH-0002aI-GE
	for bug-bison@gnu.org; Wed, 26 Dec 2012 05:09:16 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:52693
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TnnvH-0002aC-Ao
	for bug-bison@gnu.org; Wed, 26 Dec 2012 05:09:15 -0500
Received: from erebus.lrde.epita.fr ([192.168.101.165])
	by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TnnvG-00059i-Sr; Wed, 26 Dec 2012 11:09:14 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: Bootstrapping a freshly-cloned Git repository of Bison fails
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <50D4971B.7000602@gmail.com>
Date: Wed, 26 Dec 2012 11:09:19 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <6867AF49-40E5-4E87-B190-F237ECD3EA65@lrde.epita.fr>
References: <50D4971B.7000602@gmail.com>
To: Stefano Lattarini <stefano.lattarini@gmail.com>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: "bug-bison@gnu.org" <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 10:09:18 -0000


Le 21 d=E9c. 2012 =E0 18:06, Stefano Lattarini =
<stefano.lattarini@gmail.com> a =E9crit :

>  configure.ac:168: error: possibly undefined macro: AC_PROG_GNU_M4
>        If this token and others are legitimate, please use =
m4_pattern_allow.
>        See the Autoconf documentation.
>  autoreconf: /usr/bin/autoconf failed with exit status: 1
>  ./bootstrap: autoreconf failed
>=20
> Maybe this could be fixed by suitably invoking "git submodule"
> in the 'bootstrap_post_import_hook' function (to be defined in
> bootstrap.conf).  I didn't attempt a patch because I have no
> copyright paperwork in place for Bison.

Hi Stefano,

I personally consider that playing with git submodules is none
of the business of bootstrap.  Actually, it's a PITN that it
changes my gnulib checkout when I bootstrap to check changes,
it forces me to commit the changes.

I don't plan to change this; git submodule update --init
is the normal course of action, as documented in README-hecking.
I would happily remove the automatic update of gnulib.

Cheers!



From MAILER-DAEMON Wed Dec 26 09:17:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tnrn2-0000Ux-R5
	for mharc-bug-bison@gnu.org; Wed, 26 Dec 2012 09:17:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56907)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tnrn0-0000Un-UA
	for bug-bison@gnu.org; Wed, 26 Dec 2012 09:16:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tnrmy-0002Jn-E1
	for bug-bison@gnu.org; Wed, 26 Dec 2012 09:16:58 -0500
Received: from mail-ee0-f50.google.com ([74.125.83.50]:41998)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1Tnrmy-0002Jf-6x
	for bug-bison@gnu.org; Wed, 26 Dec 2012 09:16:56 -0500
Received: by mail-ee0-f50.google.com with SMTP id b45so4357869eek.23
	for <bug-bison@gnu.org>; Wed, 26 Dec 2012 06:16:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=rjq0Z4cFqOHbF7FrE7Su+fPfDm78cBjqWrSaM8xjgtM=;
	b=RKKZa7RvyGaipkXWqJpxj3teqn//pN4xAHukyyM8YcKuBjWysbDi46f1hR69B52cya
	ssjXEnT9fQPmgFtYN/I527RKC61R5EqlQKvJgA/Sc6vrgCL3NX0BA1AG/AwOTNmATFfV
	a6IFq/oC9BOMiGi54/R8KIWXwOvuKMM1X9e5PMqFdloQDLEwHWyNhGNq8enW/VfKL/Hm
	kvsGvY/MGa/QffEeITZlrrojhFRCDpVcIfjxNkDTaJUycU/UL4yFccDg0ZUUbzJpgrdM
	LLz6H1yqACHRu9sLuF8qKbppiSBXQ5bKf84lkZoVQB4oA4JyXHAY0VT516DgmL2lCe85
	9KEw==
X-Received: by 10.14.203.2 with SMTP id e2mr70092237eeo.20.1356531415514;
	Wed, 26 Dec 2012 06:16:55 -0800 (PST)
Received: from [192.168.178.21]
	(host137-94-dynamic.4-87-r.retail.telecomitalia.it. [87.4.94.137])
	by mx.google.com with ESMTPS id 46sm53469132eeg.4.2012.12.26.06.16.53
	(version=SSLv3 cipher=OTHER); Wed, 26 Dec 2012 06:16:54 -0800 (PST)
Message-ID: <50DB06D2.9000305@gmail.com>
Date: Wed, 26 Dec 2012 15:16:50 +0100
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: Akim Demaille <akim@lrde.epita.fr>
Subject: [SOLVED] Re: Bootstrapping a freshly-cloned Git repository of Bison
	fails
References: <50D4971B.7000602@gmail.com>
	<6867AF49-40E5-4E87-B190-F237ECD3EA65@lrde.epita.fr>
In-Reply-To: <6867AF49-40E5-4E87-B190-F237ECD3EA65@lrde.epita.fr>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 74.125.83.50
Cc: "bug-bison@gnu.org" <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 14:17:00 -0000

On 12/26/2012 11:09 AM, Akim Demaille wrote:
> 
> Le 21 déc. 2012 à 18:06, Stefano Lattarini <stefano.lattarini@gmail.com> a écrit :
> 
>>  configure.ac:168: error: possibly undefined macro: AC_PROG_GNU_M4
>>        If this token and others are legitimate, please use m4_pattern_allow.
>>        See the Autoconf documentation.
>>  autoreconf: /usr/bin/autoconf failed with exit status: 1
>>  ./bootstrap: autoreconf failed
>>
>> Maybe this could be fixed by suitably invoking "git submodule"
>> in the 'bootstrap_post_import_hook' function (to be defined in
>> bootstrap.conf).  I didn't attempt a patch because I have no
>> copyright paperwork in place for Bison.
> 
> Hi Stefano,
> 
> I personally consider that playing with git submodules is none
> of the business of bootstrap.  Actually, it's a PITN that it
> changes my gnulib checkout when I bootstrap to check changes,
> it forces me to commit the changes.
> 
> I don't plan to change this; git submodule update --init
> is the normal course of action, as documented in README-hecking.
> I would happily remove the automatic update of gnulib.
> 
OK, noted.  And indeed, if I follow more carefully the instructions
in README-hacking, I can bootstrap and compile without issues.

Regards,
  Stefano


From MAILER-DAEMON Wed Dec 26 12:28:04 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tnulw-0003OI-Or
	for mharc-bug-bison@gnu.org; Wed, 26 Dec 2012 12:28:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59178)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <theophile.ranquet@gmail.com>) id 1Tnult-0003Mz-NN
	for bug-bison@gnu.org; Wed, 26 Dec 2012 12:28:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <theophile.ranquet@gmail.com>) id 1Tnuls-0000ja-FT
	for bug-bison@gnu.org; Wed, 26 Dec 2012 12:28:01 -0500
Received: from mail-ie0-f178.google.com ([209.85.223.178]:61930)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <theophile.ranquet@gmail.com>)
	id 1Tnulp-0000j8-2Y; Wed, 26 Dec 2012 12:27:57 -0500
Received: by mail-ie0-f178.google.com with SMTP id c12so10918391ieb.9
	for <multiple recipients>; Wed, 26 Dec 2012 09:27:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=7c9vpwtRJFM2XORBpGl/pRLXbND6mgZ8E7MJ/OceKpc=;
	b=om6Cdhz80lH2GJVhSrEDscWM0jNZQucEV4SR+REgkjAZY3oMRXZq0LZoUlOFVYiYoJ
	8sIJ5ugpfXUwfwae3X1bYFFKttbpfBtt8SUABbYgBlXrfCgv59tFxVXgnt/72IqSHQrF
	+T0RVEns7if7ONNAIFBtiXmKwUGCtub9dDxSD3lu8qoeib6siStr+fTqPyQZ4iJBiHAi
	bR2GU+GdjzyOjtpArDsWAJkG3uj1HIgG72aRcX/xihrkRpwQat4Fqfb0oq3qp2ZeT35V
	C+aKjqboCngSiDUJwQ0NwR2ft3nU4bI3bSIz59RDRjKLtT9e9c7afEOkC9qX/axS4BNs
	pajQ==
MIME-Version: 1.0
Received: by 10.50.40.135 with SMTP id x7mr19841698igk.79.1356542876191; Wed,
	26 Dec 2012 09:27:56 -0800 (PST)
Received: by 10.50.78.101 with HTTP; Wed, 26 Dec 2012 09:27:56 -0800 (PST)
In-Reply-To: <C9707A58-9A2C-4A65-A640-E1834819D92E@lrde.epita.fr>
References: <4F10CCE6.3050804@rawbw.com> <50D3BC49.8010902@rawbw.com>
	<C9707A58-9A2C-4A65-A640-E1834819D92E@lrde.epita.fr>
Date: Wed, 26 Dec 2012 18:27:56 +0100
Message-ID: <CAFVP7wmpEktoWiTZyCknN=8npdxiETNeP_upBrvUOEqRx_E2Ag@mail.gmail.com>
Subject: Re: [patch] Fix of the CPU bottleneck in pack_vector
From: =?ISO-8859-1?Q?Th=E9ophile_Ranquet?= <theophile.ranquet@gmail.com>
To: Akim Demaille <akim@lrde.epita.fr>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.223.178
Cc: Yuri <yuri@rawbw.com>, bison-patches@gnu.org, bug-bison@gnu.org
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 17:28:03 -0000

2012/12/21 Akim Demaille <akim@lrde.epita.fr>:
> Le 21 d=E9c. 2012 =E0 02:32, Yuri <yuri@rawbw.com> a =E9crit :
>
>> Hello,
>
> Hi Yuri,

Hi Yuri, hi all,

>> I reported this issue with the testcase and patch in Jan 2012.
>> Now I see that you didn't apply it as of 2.7 (Dec 2012).
>>
>> Why didn't you apply it?
>
> Because it segfaults in some situations, and because it does
> not use our bitset routines, although it looks like it would
> be useful.

FWIW, I have adapted it to use our bitsets. Concerning the segfaults,
they occured on cases such as the following:

%token A 'a'
%%
exp: 'b'

where pack_vector () returned -6, but since nstates was only equal to
5, the subtraction resulted in the setting of bit -1. I have prevented
this by making sure to modify the bitset only when the result of this
substraction is positive. TBH, I am still not very familiar with these
bits of Bison's code, so I couldn't come up with a more elegant
solution, sorry.

>> It fixes the algorithmic bottleneck in bison that I am sure someone else=
 will hit it sooner or later.

Back when you first submitted this, you said:

>I am attaching the testcase, that runs in 11 sec with my patch, and in
> maybe 50X that without.

I suppose you meant "about fifty seconds", and not "50 times that",
right? This is what I observed before and after applying your changes:

$ ./_build/tests/bison sample.y --trace=3Dtime

Execution times (seconds)
 reader                :   0,11 ( 0%) usr   0,01 (33%) sys   0,00 ( 0%) wal=
l
 LR(0)                 :   0,11 ( 0%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 LALR(1)               :   0,07 ( 0%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 conflicts             :   0,01 ( 0%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 parser action tables  :  58,67 (99%) usr   0,00 ( 0%) sys  59,00 (100%) wa=
ll
 outputing parser      :   0,21 ( 0%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 running m4            :   0,23 ( 0%) usr   0,01 (33%) sys   0,00 ( 0%) wal=
l
 freeing               :   0,02 ( 0%) usr   0,01 (33%) sys   0,00 ( 0%) wal=
l
 TOTAL                 :  59,43             0,03            59,00

$ ./_build/tests/bison sample.y --trace=3Dtime

Execution times (seconds)
 reader                :   0,11 ( 1%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 LR(0)                 :   0,11 ( 1%) usr   0,00 ( 0%) sys   1,00 ( 8%) wal=
l
 LALR(1)               :   0,07 ( 1%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 conflicts             :   0,02 ( 0%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 parser action tables  :  10,31 (93%) usr   0,00 ( 0%) sys  11,00 (92%) wal=
l
 outputing parser      :   0,22 ( 2%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 running m4            :   0,24 ( 2%) usr   0,02 (100%) sys   0,00 ( 0%) wa=
ll
 freeing               :   0,03 ( 0%) usr   0,00 ( 0%) sys   0,00 ( 0%) wal=
l
 TOTAL                 :  11,11             0,02            12,00

FYI, this is what it now looks like:

diff --git a/lib/bitset.h b/lib/bitset.h
index fbc7b77..e49d48e 100644
--- a/lib/bitset.h
+++ b/lib/bitset.h
@@ -180,7 +180,7 @@ bitset_test (bitset bset, bitset_bindex bitno)
 #define bitset_size(SRC) BITSET_SIZE_ (SRC)

 /* Change size of bitset.  */
-extern void bitset_resize (bitset, bitset_bindex);
+#define bitset_resize(DST, SIZE) BITSET_RESIZE_ (DST, SIZE)

 /* Return number of bits set in bitset SRC.  */
 #define bitset_count(SRC) BITSET_COUNT_ (SRC)
diff --git a/src/tables.c b/src/tables.c
index eb827b7..a98e130 100644
--- a/src/tables.c
+++ b/src/tables.c
@@ -21,6 +21,7 @@
 #include <config.h>
 #include "system.h"

+#include <bitset.h>
 #include <bitsetv.h>

 #include "complain.h"
@@ -110,7 +111,9 @@ base_number *base =3D NULL;
    computation equals to BASE_MINIMUM, later mapped to BASE_NINF to
    keep parser tables small.  */
 base_number base_ninf =3D 0;
-static base_number *pos =3D NULL;
+/* Bitset representing an integer set in the range
+   -nstates..table_size (as an upper bound) */
+static bitset pos_set =3D NULL;

 static unsigned int *conflrow;
 unsigned int *conflict_table;
@@ -157,12 +160,14 @@ table_grow (int desired)
   conflict_table =3D xnrealloc (conflict_table, table_size,
 			      sizeof *conflict_table);
   check =3D xnrealloc (check, table_size, sizeof *check);
+  bitset_resize (pos_set, table_size + nstates);

   for (/* Nothing. */; old_size < table_size; ++old_size)
     {
       table[old_size] =3D 0;
       conflict_table[old_size] =3D 0;
       check[old_size] =3D -1;
+      bitset_reset(pos_set, nstates + old_size);
     }
 }

@@ -702,9 +707,8 @@ pack_vector (vector_number vector)
 	    ok =3D false;
 	}

-      for (k =3D 0; ok && k < vector; k++)
-	if (pos[k] =3D=3D j)
-	  ok =3D false;
+      if (ok && (bitset_test (pos_set, nstates + j)))
+        ok =3D false;

       if (ok)
 	{
@@ -763,7 +767,8 @@ pack_table (void)
   int i;

   base =3D xnmalloc (nvectors, sizeof *base);
-  pos =3D xnmalloc (nentries, sizeof *pos);
+  pos_set =3D bitset_create (table_size + nstates, BITSET_FRUGAL);
+  bitset_zero (pos_set);
   table =3D xcalloc (table_size, sizeof *table);
   conflict_table =3D xcalloc (table_size, sizeof *conflict_table);
   check =3D xnmalloc (table_size, sizeof *check);
@@ -789,7 +794,9 @@ pack_table (void)
 	/* Action of I were already coded for S.  */
 	place =3D base[s];

-      pos[i] =3D place;
+      /* Place now belongs to pos set. */
+      if (nstates + place >=3D 0)
+        bitset_set (pos_set, nstates + place);
       base[order[i]] =3D place;
     }

@@ -797,7 +804,7 @@ pack_table (void)
   base_ninf =3D table_ninf_remap (base, nvectors, BASE_MINIMUM);
   table_ninf =3D table_ninf_remap (table, high + 1, ACTION_NUMBER_MINIMUM)=
;

-  free (pos);
+  bitset_free (pos_set);
 }



@@ -825,6 +832,7 @@ tables_generate (void)
   conflict_tos =3D xcalloc (nvectors, sizeof *conflict_tos);
   tally =3D xcalloc (nvectors, sizeof *tally);
   width =3D xnmalloc (nvectors, sizeof *width);
+  pos_set =3D bitset_create (table_size + nstates, BITSET_FRUGAL);

   token_actions ();


We will probably install this soon.


From MAILER-DAEMON Thu Dec 27 16:28:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ToL0I-0002O8-Ac
	for mharc-bug-bison@gnu.org; Thu, 27 Dec 2012 16:28:38 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57376)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hans.aberg-1@telia.com>) id 1ToJuW-0002jA-IA
	for bug-bison@gnu.org; Thu, 27 Dec 2012 15:18:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hans.aberg-1@telia.com>) id 1ToJuT-0003mE-W0
	for bug-bison@gnu.org; Thu, 27 Dec 2012 15:18:36 -0500
Received: from smtp-out12.han.skanova.net ([195.67.226.212]:55630)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hans.aberg-1@telia.com>) id 1ToJuT-0003lz-Lm
	for bug-bison@gnu.org; Thu, 27 Dec 2012 15:18:33 -0500
Received: from [10.0.1.3] (217.210.127.13) by smtp-out12.han.skanova.net
	(8.5.133) (authenticated as u26619134)
	id 50BDC679005FA2FD; Thu, 27 Dec 2012 21:17:57 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: bison-2.7 released [stable]
From: =?iso-8859-1?Q?Hans_=C5berg?= <hans.aberg-1@telia.com>
In-Reply-To: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
Date: Thu, 27 Dec 2012 21:17:54 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <AC90BC90-882D-47CD-AC17-8E2E31B8D583@telia.com>
References: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
To: Akim Demaille <akim@lrde.epita.fr>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 195.67.226.212
X-Mailman-Approved-At: Thu, 27 Dec 2012 16:28:35 -0500
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Dec 2012 20:18:39 -0000

On 12 Dec 2012, at 17:08, Akim Demaille <akim@lrde.epita.fr> wrote:

> The Bison team is happy to announce the release of Bison 2.7.

I got the error below on 'make pdf'. It could be that the file =
texinfo.tex supplied requires the non-standard font cmr12.

Hans


$ make pdf
Making pdf in build-aux
make[1]: Nothing to be done for `pdf'.
Making pdf in po
make[1]: Nothing to be done for `pdf'.
Making pdf in runtime-po
make[1]: Nothing to be done for `pdf'.
Making pdf in lib
make[1]: Nothing to be done for `pdf'.
Making pdf in data
make[1]: Nothing to be done for `pdf'.
Making pdf in src
make[1]: Nothing to be done for `pdf'.
Making pdf in doc
  TEXI2PDF bison.pdf

kpathsea: Running mktextfm cmr12
/usr/local/texlive/2012/texmf/web2c/mktexnam: Could not map source =
abbreviation  for cmr12.
/usr/local/texlive/2012/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=3Dmf \mode:=3Dljfour; mag:=3D1; =
nonstopmode; input cmr12
This is METAFONT, Version 2.718281 (TeX Live 2012)

kpathsea: Running mktexmf cmr12

! I can't find file `cmr12'.
<*> ...e:=3Dljfour; mag:=3D1; nonstopmode; input cmr12
                                                 =20
Please type another input file name
! Emergency stop.
<*> ...e:=3Dljfour; mag:=3D1; nonstopmode; input cmr12
                                                 =20
Transcript written on mfput.log.
grep: cmr12.log: No such file or directory
mktextfm: `mf-nowin -progname=3Dmf \mode:=3Dljfour; mag:=3D1; =
nonstopmode; input cmr12' failed to make cmr12.tfm.
kpathsea: Appending font creation commands to missfont.log.
/usr/local/bin/texi2dvi: texinfo.tex appears to be broken, quitting.
make[1]: *** [bison.pdf] Error 1
make: *** [pdf-recursive] Error 1





From MAILER-DAEMON Sat Dec 29 06:02:19 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TouBH-0002Ci-9d
	for mharc-bug-bison@gnu.org; Sat, 29 Dec 2012 06:02:19 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46430)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TouBE-0002B4-Ji
	for bug-bison@gnu.org; Sat, 29 Dec 2012 06:02:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TouBC-0002Ad-Ju
	for bug-bison@gnu.org; Sat, 29 Dec 2012 06:02:16 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:38979
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TouBC-00027J-6c
	for bug-bison@gnu.org; Sat, 29 Dec 2012 06:02:14 -0500
Received: from mna75-4-82-225-76-247.fbx.proxad.net ([82.225.76.247]
	helo=[192.168.0.20]) by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TouAg-0002Pr-4y; Sat, 29 Dec 2012 12:01:42 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: bison-2.7 released [stable]
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <AC90BC90-882D-47CD-AC17-8E2E31B8D583@telia.com>
Date: Sat, 29 Dec 2012 12:01:41 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <F0BC7267-DA07-4E7C-BE65-9F541CA1A0F9@lrde.epita.fr>
References: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
	<AC90BC90-882D-47CD-AC17-8E2E31B8D583@telia.com>
To: =?iso-8859-1?Q?Hans_=C5berg?= <hans.aberg-1@telia.com>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 11:02:17 -0000


Le 27 d=E9c. 2012 =E0 21:17, Hans =C5berg <hans.aberg-1@telia.com> a =
=E9crit :

> On 12 Dec 2012, at 17:08, Akim Demaille <akim@lrde.epita.fr> wrote:
>=20
>> The Bison team is happy to announce the release of Bison 2.7.
>=20
> I got the error below on 'make pdf'. It could be that the file =
texinfo.tex supplied requires the non-standard font cmr12.

Hi Hans,

Well, I don't think cmr can be called non-standard, it is
probably the most standard TeX font.  Something must be
wrong in your TeX environment (it works in mine).

Cheers!



From MAILER-DAEMON Sat Dec 29 07:27:07 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TovVL-0006RA-Tn
	for mharc-bug-bison@gnu.org; Sat, 29 Dec 2012 07:27:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55438)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <haberg-1@telia.com>) id 1TovVK-0006Qt-0P
	for bug-bison@gnu.org; Sat, 29 Dec 2012 07:27:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <haberg-1@telia.com>) id 1TovVI-00052a-O4
	for bug-bison@gnu.org; Sat, 29 Dec 2012 07:27:05 -0500
Received: from smtp-out12.han.skanova.net ([195.67.226.212]:48947)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <haberg-1@telia.com>) id 1TovVI-00052P-Ea
	for bug-bison@gnu.org; Sat, 29 Dec 2012 07:27:04 -0500
Received: from [10.0.1.3] (217.210.127.13) by smtp-out12.han.skanova.net
	(8.5.133) (authenticated as u26619196)
	id 50BDC6790063A384; Sat, 29 Dec 2012 13:26:31 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: bison-2.7 released [stable]
From: Hans Aberg <haberg-1@telia.com>
In-Reply-To: <F0BC7267-DA07-4E7C-BE65-9F541CA1A0F9@lrde.epita.fr>
Date: Sat, 29 Dec 2012 13:26:29 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <4730E7F1-9E40-4535-97A3-B58A2CC5F0ED@telia.com>
References: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
	<AC90BC90-882D-47CD-AC17-8E2E31B8D583@telia.com>
	<F0BC7267-DA07-4E7C-BE65-9F541CA1A0F9@lrde.epita.fr>
To: Akim Demaille <akim@lrde.epita.fr>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 195.67.226.212
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 12:27:07 -0000

On 29 Dec 2012, at 12:01, Akim Demaille <akim@lrde.epita.fr> wrote:

> Le 27 d=E9c. 2012 =E0 21:17, Hans =C5berg <hans.aberg-1@telia.com> a =
=E9crit :
>=20
>> On 12 Dec 2012, at 17:08, Akim Demaille <akim@lrde.epita.fr> wrote:
>>=20
>>> The Bison team is happy to announce the release of Bison 2.7.
>>=20
>> I got the error below on 'make pdf'. It could be that the file =
texinfo.tex supplied requires the non-standard font cmr12.

> Well, I don't think cmr can be called non-standard, it is
> probably the most standard TeX font.  Something must be
> wrong in your TeX environment (it works in mine).

I moved to a new installation, Mac OS X 10.8.2, and TeXLive 2012 got =
broken. After reinstallation (using MacTeX), no problems.

But should not 'configure' check if the STIX Fonts and LuaTex are =
available and use them - this would bring proper UTF-8 support.

Hans




From MAILER-DAEMON Sat Dec 29 07:31:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TovZs-0006we-EY
	for mharc-bug-bison@gnu.org; Sat, 29 Dec 2012 07:31:48 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55757)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TovZp-0006wR-EV
	for bug-bison@gnu.org; Sat, 29 Dec 2012 07:31:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TovZo-00063C-JT
	for bug-bison@gnu.org; Sat, 29 Dec 2012 07:31:45 -0500
Received: from sao-paulo.lrde.epita.fr ([163.5.55.1]:59877
	helo=kualalumpur.lrde.epita.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akim@lrde.epita.fr>) id 1TovZo-000637-E0
	for bug-bison@gnu.org; Sat, 29 Dec 2012 07:31:44 -0500
Received: from mna75-4-82-225-76-247.fbx.proxad.net ([82.225.76.247]
	helo=[192.168.0.20]) by kualalumpur.lrde.epita.fr with esmtpsa
	(TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63)
	(envelope-from <akim@lrde.epita.fr>)
	id 1TovZn-0005iM-Ee; Sat, 29 Dec 2012 13:31:43 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: bison-2.7 released [stable]
From: Akim Demaille <akim@lrde.epita.fr>
In-Reply-To: <4730E7F1-9E40-4535-97A3-B58A2CC5F0ED@telia.com>
Date: Sat, 29 Dec 2012 13:31:42 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <275C7CC9-C1AF-4D5F-AC35-E98A85DEE2F9@lrde.epita.fr>
References: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
	<AC90BC90-882D-47CD-AC17-8E2E31B8D583@telia.com>
	<F0BC7267-DA07-4E7C-BE65-9F541CA1A0F9@lrde.epita.fr>
	<4730E7F1-9E40-4535-97A3-B58A2CC5F0ED@telia.com>
To: Hans Aberg <haberg-1@telia.com>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 163.5.55.1
Cc: Bison Bugs <bug-bison@gnu.org>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 12:31:47 -0000


Le 29 d=E9c. 2012 =E0 13:26, Hans Aberg <haberg-1@telia.com> a =E9crit :

> But should not 'configure' check if the STIX Fonts and LuaTex are =
available and use them - this would bring proper UTF-8 support.

No really, this is too rare an even to warrant extra work.
Nothing can be bullet proof against broken installation (as
opposed to buggy, but correctly installed, software).



From MAILER-DAEMON Sat Dec 29 09:14:02 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ToxAo-0007qF-Fl
	for mharc-bug-bison@gnu.org; Sat, 29 Dec 2012 09:14:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38744)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hans.aberg-1@telia.com>) id 1ToxAk-0007ny-JN
	for bug-bison@gnu.org; Sat, 29 Dec 2012 09:14:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hans.aberg-1@telia.com>) id 1ToxAh-0003dQ-VW
	for bug-bison@gnu.org; Sat, 29 Dec 2012 09:13:58 -0500
Received: from smtp-out21.han.skanova.net ([195.67.226.208]:39673)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hans.aberg-1@telia.com>) id 1ToxAh-0003dH-M5
	for bug-bison@gnu.org; Sat, 29 Dec 2012 09:13:55 -0500
Received: from [10.0.1.3] (217.210.127.13) by smtp-out21.han.skanova.net
	(8.5.133) (authenticated as u26619134)
	id 50B6243300B6B354; Sat, 29 Dec 2012 15:13:22 +0100
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
Subject: Re: bison-2.7 released [stable]
From: =?iso-8859-1?Q?Hans_=C5berg?= <hans.aberg-1@telia.com>
In-Reply-To: <275C7CC9-C1AF-4D5F-AC35-E98A85DEE2F9@lrde.epita.fr>
Date: Sat, 29 Dec 2012 15:13:20 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <A971A5AB-0391-4FE2-B4C4-3EEB8C593434@telia.com>
References: <36535D89-CA91-49BB-8A78-7AFDCDE96CC6@lrde.epita.fr>
	<AC90BC90-882D-47CD-AC17-8E2E31B8D583@telia.com>
	<F0BC7267-DA07-4E7C-BE65-9F541CA1A0F9@lrde.epita.fr>
	<4730E7F1-9E40-4535-97A3-B58A2CC5F0ED@telia.com>
	<275C7CC9-C1AF-4D5F-AC35-E98A85DEE2F9@lrde.epita.fr>
To: Akim Demaille <akim@lrde.epita.fr>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 195.67.226.208
Cc: Bison Bugs <bug-bison@gnu.org>, Hans Aberg <haberg-1@telia.com>
X-BeenThere: bug-bison@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports for Bison, the GNU parser generator" <bug-bison.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-bison>
List-Post: <mailto:bug-bison@gnu.org>
List-Help: <mailto:bug-bison-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-bison>,
	<mailto:bug-bison-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 14:14:01 -0000

On 29 Dec 2012, at 13:31, Akim Demaille <akim@lrde.epita.fr> wrote:

> Le 29 d=E9c. 2012 =E0 13:26, Hans Aberg <haberg-1@telia.com> a =E9crit =
:
>=20
>> But should not 'configure' check if the STIX Fonts and LuaTex are =
available and use them - this would bring proper UTF-8 support.
>=20
> No really, this is too rare an even to warrant extra work.
> Nothing can be bullet proof against broken installation (as
> opposed to buggy, but correctly installed, software).

Oh, I meant to get UTF-8 support, not to fix broken installations. I =
think if you throw in UTF-characters, you currently get garbage in the =
PDF files.

Hans





