X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Subject: Re: [geda-user] [pcb] make distcheck, Bison 3, intl, and with-included-gettext To: geda-user AT delorie DOT com References: From: "Dan McMahill (dan AT mcmahill DOT net) [via geda-user AT delorie DOT com]" Message-ID: <1e171791-3d29-b8f1-0452-36ecab1bf222@mcmahill.net> Date: Mon, 2 Jan 2017 23:16:58 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCorouffsJ41I0C9rfT7ZgXKbJpx2KpK2sm65ovqLCkGEtDsvvIDwxWA8lAzL3nDmgri/24ThZ15BV3903Cn6DKibns9TLI6jvJjUwW2kvL2lvEXWZ1j nngg4EhUKCpPAJU4+MhurJEzb6HWy5u+tBWr/IrC/nhqpWDsMryRGfex Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 1/1/2017 5:26 PM, Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > All- > > While working on preparing a release, I've run into a bug that I could > use some advice on. > > Make distcheck fails in the intl/ directory while trying to build > plural.o (based on plural.c from plural.y). I don't quite understand > what's behind the error, but apparently its a bug related to Bison 3. > I've posted a few references at the end of this bug report that > references the errors: > https://bugs.launchpad.net/pcb/+bug/1496105 > although, the solution of running the sequence twice doesn't appear to > work for me. > > When executing the make distcheck, configure is executed with the > --with-included-gettext option. Removing this option allows the > distcheck to succeed. Does anyone know if there's a particular reason > for this? Removing this option is the easiest solution I think, if it > doesn't cause some other problems. There does appear to be an alternate > solution, but it is more complicated. That is one of the details of gettext that I don't clearly understand. When running the 'make distcheck' twice and getting it to work, it would be interesting to see the difference between the source tree before and after the first one. If we have some dependencies on particular bison behaviors or versions, or also requiring flex instead of lex, we should capture that in the documentation and some configure checks. I'm curious if you had any other issues. I'm failing 'make distcheck' because of some broken stuff in src/Makefile.am. I'll start a different thread for that. -Dan