Re: gEDA-user: Strange gsch2pcb error

2011-01-21 Thread Ben Gamari
On Thu, 20 Jan 2011 22:41:04 -0500, DJ Delorie d...@delorie.com wrote:
 
  Ahhh. That would explain it. Those packages came from
  http://www.luciani.org/geda/pcb/pcb-footprint-list.html. Are none of
  these correctly named?
 
 John's library doesn't use m4, so if you're using his library, you
 should disable m4.  Then you don't have the problem.
 
Thanks everyone! That fixed it.

Cheers,

- Ben


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: Strange gsch2pcb error

2011-01-20 Thread Ben Gamari
Hey all,

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]. I am thoroughly perplexed and any help
would be greatly appreciated. Thanks!

Cheers,

- Ben


[1] gito...@goldnerlab.physics.umass.edu:beagle-daq


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Strange gsch2pcb error

2011-01-20 Thread Ben Gamari
On Fri, 21 Jan 2011 00:08:03 +, Peter TB Brett pe...@peter-b.co.uk wrote:
 On Thursday 20 January 2011 23:59:24 Ben Gamari wrote:
 What's the password, please?
 
Doh. Sorry about that, wrong URL. Please use,

  git://goldnerlab.physics.umass.edu/beagle-daq

Thanks for the quick response!

- Ben



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Strange gsch2pcb error

2011-01-20 Thread Ben Gamari
On Fri, 21 Jan 2011 00:41:33 +, Peter TB Brett pe...@peter-b.co.uk wrote:
 Now that I've installed PCB properly, I can reproduce the bug.
 
 It's *probably* a gEDA bug, so please file a bug report so that I 
 remember to look at it after I've had some sleep.
 
Bug filed[1]. Thanks a ton!

- Ben


[1] https://bugs.launchpad.net/geda/+bug/705695


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Strange gsch2pcb error

2011-01-20 Thread Ben Gamari
On Fri, 21 Jan 2011 01:07:23 +, Peter Clifton pc...@cam.ac.uk wrote:
 Error sounded like it might be a classic:
 
 Don't put - in footprint names
 
Ahhh. That would explain it. Those packages came from
http://www.luciani.org/geda/pcb/pcb-footprint-list.html. Are none of
these correctly named?

 grep footprint *.sch | grep -
 footprint=SOIC-127P-600L1-8N
 footprint=SOIC-127P-600L1-8N
 
 I found it in this dir:
 ./packages/m4/SOIC-127P-600L1-8N
 
 Why did you name that sub dir m4?
 
Good question. This was done long ago. On this note, what is the
recommended file naming convention for footprints? Do you use the .fp
extension?

 You can get away with it (I think), if you don't use any (actual) M4
 symbols, and you pass the --skip-m4 option to gnetlist, or put skip-m4
 inside the project file.
 
I'll just fix the directory name. Should I just move the contents of
packages/m4 to packages/newlib (or perhaps just packages/)?

Thanks!

- Ben


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Strange gsch2pcb error

2011-01-20 Thread Ben Gamari
On Fri, 21 Jan 2011 01:03:13 +, Peter Clifton pc...@cam.ac.uk wrote:
 Are there any symbols you're using as part of a local library not in
 that git repository?
 
 WARNING: Found a placeholder/missing component, are you missing a symbol 
 file? [ad7606.sym]
 ...
 
In case you didn't already figure this out, just run make. These are
generated by the makefile with tragesym.

- Ben


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Strange gsch2pcb error

2011-01-20 Thread Ben Gamari
On Fri, 21 Jan 2011 00:59:16 +, Peter Clifton pc...@cam.ac.uk wrote:
 Don't forget to unmask the soldermask for your mounting holes vias.
 
Good point. Thanks for the tip!

- Ben


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user