PCB: Printed Circuit Board CAD package

lib/m4lib_to_newlib.sh breaks build

Reported by David Gander on 2012-02-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcb
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_to_newlib.sh . I get the following output:

rm -fr pcblib-newlib
/bin/bash ./m4lib_to_newlib.sh --contents \
  pcblib.contents --output pcblib-newlib \
   --pcb "../src/pcb" --awk "mawk"
mawk: line 81: syntax error at or near ,
make: *** [pcblib-newlib.stamp] Error 2

The responsible line seems to be actually 200:

match (comment, /(.*)\[(.*)]/, fp);

which I fixed by changing it to

split( comment, fp, "( \[)|(\])" );

Many thanks,
Dave

Jason (whitewaterssoftwareinfo) wrote :

Confirmed, This big still esists in the master branch or the git repository as of 12/32/2013. The preposed solution still works.

Thanks

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers