[Scons-dev] YACC live test failing

William Blevins wblevins001 at gmail.com
Fri Jun 12 01:26:09 EDT 2015


Bill,

In this particular case, yacc is a compiled binary linked against libc.so.6.

I was hoping to be able to make a quick fix to the test if there was a flag
to control the name of the output header, but I don't see a way to do
this.  Looking at the test, it appears that the original author had issues
with the header file extension in the past due to the comments.  It's not
directly related to what I am working on, so I am going to try and stay on
topic instead of getting too far into the weeds.

Anyone else taken a look at the cross-language changes?

V/R,
William

On Thu, Jun 11, 2015 at 10:30 PM, Bill Deegan <bill at baddogconsulting.com>
wrote:

> As I understand it this is not "yacc", this is actually GNU Bison (which
> spits out a symlink as yacc pointing to bison).
>
> likely a " -L c" should spit out x.h file.
>
> -Bill
>
> On Thu, Jun 11, 2015 at 9:34 PM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> Dirk,
>>
>> Good try at least.  The default CentOS7 install for yacc is version 1.9,
>> but the latest yacc is already 3.0.4.  The options listed in those forums
>> don't apply.  It looks like this version generates to a hard-coded header
>> filename.
>>
>> Not sure what to reasonably do here.
>>
>> V/R,
>> William
>>
>> On Thu, Jun 11, 2015 at 10:20 AM, William Blevins <wblevins001 at gmail.com>
>> wrote:
>>
>>> Dirk,
>>>
>>> I will make an attempt at updating the test in the next day or two.  I
>>> figured there was a way to change the output filename, but I didn't find it
>>> at a glance, so I was trying to defer to the experts.
>>>
>>> Thanks,
>>> William
>>>
>>> On Thu, Jun 11, 2015 at 10:02 AM, Dirk Bächle <tshortik at gmx.de> wrote:
>>>
>>>> Hi William,
>>>>
>>>> On 05.06.2015 06:05, William Blevins wrote:
>>>>
>>>>> Team,
>>>>>
>>>>> The "test/YACC/live.py" test fails using the RHEL7 version of YACC
>>>>> "1.9 20130304" because the "-d" option generates an "x.h" file
>>>>> versus a "x.hpp" file.
>>>>>
>>>>> Is there an option to force the file extension or is some other change
>>>>> required?
>>>>>
>>>>>
>>>> looks like directly using the "defines" directive (instead of "-d" for
>>>> the default header name) is the way to go:
>>>>
>>>>
>>>> http://stackoverflow.com/questions/16098509/automake-1-12-changes-bison-yacc-output-names-backwards-incompatible-change
>>>>   https://www.gnu.org/software/bison/manual/html_node/Decl-Summary.html
>>>>
>>>> Would you like to take a crack at it?
>>>>
>>>> Best regards,
>>>>
>>>> Dirk
>>>>
>>>> _______________________________________________
>>>> Scons-dev mailing list
>>>> Scons-dev at scons.org
>>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150612/fdd00d97/attachment-0001.html>


More information about the Scons-dev mailing list