[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 705695] [NEW] gsch2pcb fails with "bad expression in eval" in m4



Public bug reported:

I've been working on a data acquisition board using the geda toolchain
exclusively and so far I have been quite pleased with the
results. Unfortunately, a few days ago gsch2pcb inexplicably stopped
working. In particular, it appears that m4 fails with the following,

  $ make pcb
  gsch2pcb -v project | tee pcb.log
  Loading schematic [/home/ben/lori/beagle-daq/beagle-daq.sch]
  Loading schematic [/home/ben/lori/beagle-daq/beagle-daq.sch]
  /usr/bin/m4:stdin:45: bad expression in eval: /2

If I kill the gsch2pcb process with Ctrl+\ I can see the command line
arguments of the failing process,

  /usr/bin/m4 -d -I/usr/share/pcb/m4 -I/usr/etc/pcb -I$HOME/.pcb -I.
/usr/share/pcb/m4/common.m4 - >> beagle-daq.new.pcb

I have no idea what might have prompted this behavior and thankfully the
design is pretty much finished, but I would like to know what might be
wrong. I am using both gaf and pcb from git, although I have tested
versions back to 1.6.2 with no change in behavior. The project is
available through git at [1].

[1] git://goldnerlab.physics.umass.edu/beagle-daq

** Affects: geda
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/705695

Title:
  gsch2pcb fails with "bad expression in eval" in m4

Status in GPL Electronic Design Automation tools:
  New

Bug description:
  I've been working on a data acquisition board using the geda toolchain
  exclusively and so far I have been quite pleased with the
  results. Unfortunately, a few days ago gsch2pcb inexplicably stopped
  working. In particular, it appears that m4 fails with the following,

    $ make pcb
    gsch2pcb -v project | tee pcb.log
    Loading schematic [/home/ben/lori/beagle-daq/beagle-daq.sch]
    Loading schematic [/home/ben/lori/beagle-daq/beagle-daq.sch]
    /usr/bin/m4:stdin:45: bad expression in eval: /2

  If I kill the gsch2pcb process with Ctrl+\ I can see the command line
  arguments of the failing process,

    /usr/bin/m4 -d -I/usr/share/pcb/m4 -I/usr/etc/pcb -I$HOME/.pcb -I.
  /usr/share/pcb/m4/common.m4 - >> beagle-daq.new.pcb

  I have no idea what might have prompted this behavior and thankfully the
  design is pretty much finished, but I would like to know what might be
  wrong. I am using both gaf and pcb from git, although I have tested
  versions back to 1.6.2 with no change in behavior. The project is
  available through git at [1].

  [1] git://goldnerlab.physics.umass.edu/beagle-daq




_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug