pcb

lib/m4lib_to_newlib.sh breaks build

Bug #936453 reported by David Gander
6
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_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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.