lib/m4lib_to_newlib.sh breaks build
Bug #936453 reported by
David Gander
This bug report is a duplicate of:
Bug #917308: m4lib_to_newlib.sh does not work with mawk.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
New
|
Undecided
|
Unassigned |
Bug Description
After getting a fresh clone of pcb from git I can't compile it due to a problem in lib/m4lib_
rm -fr pcblib-newlib
/bin/bash ./m4lib_
pcblib.contents --output pcblib-newlib \
--pcb "../src/pcb" --awk "mawk"
mawk: line 81: syntax error at or near ,
make: *** [pcblib-
The responsible line seems to be actually 200:
match (comment, /(.*)\[(.*)]/, fp);
which I fixed by changing it to
split( comment, fp, "( \[)|(\])" );
Many thanks,
Dave
To post a comment you must log in.
Confirmed, This big still esists in the master branch or the git repository as of 12/32/2013. The preposed solution still works.
Thanks