I just picked up a bug with gsch2pcb with the output path specification.

If I run the command

gsch2pcb -v -d d:\Projects\footprints\trunk --skip-m4 -o
../../pcb/trunk/node node.sch

then everything goes well and works nicely. If I run

gsch2pcb -v -d d:\Projects\footprints\trunk --skip-m4 -o
..\..\pcb\trunk\node node.sch

it fails. It appears as if something (possibly gnetlist) has an issue
with the backslash instead of the forward slash. Here is the complete
output from the failed command:

    d "d:\Projects\footprints\trunk"
    skip-m4 "-o"
    o "d:\Projects\xxxxx\pcb\trunk\node"
Processing PCBLIBPATH="/home/pcjc2/gedasrc/windows/minipack/result/share/pcb/pcb
lib-newlib:/home/pcjc2/gedasrc/windows/minipack/result/share/pcb/newlib"
Running command:
        gnetlist -g pcbpins -o d:\Projects\xxxxx\pcb\trunk\node.cmd node.sc
h
--------
gEDA/gnetlist version 1.5.0.20080706
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

This is the MINGW32 port.

Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.

Loading schematic [d:\Projects\xxxxx\schematics\trunk\node.sch]

---------------------------------
gEDA/gnetlist pcbpins Backend
This backend is EXPERIMENTAL
Use at your own risk!
---------------------------------

Running command:
        gnetlist -g PCB -o d:\Projects\xxxxx\pcb\trunk\node.net node.sch
--------
gEDA/gnetlist version 1.5.0.20080706
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

This is the MINGW32 port.

Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.

Loading schematic [d:\Projects\xxxx\schematics\trunk\node.sch]
Default m4-pcbdir: /home/pcjc2/gedasrc/windows/minipack/result/share/pcb/m4
--------
gnet-gsch2pcb-tmp.scm override file:
    (define m4-pcbdir "/home/pcjc2/gedasrc/windows/minipack/result/share/pcb/m4"
)
    (define gsch2pcb:use-m4 #f)
--------
Running command:
        gnetlist -g gsch2pcb -o d:\Projects\xxxxx\pcb\trunk\node.new.pcb -m
 gnet-gsch2pcb-tmp.scm node.sch
--------
gEDA/gnetlist version 1.5.0.20080706
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

This is the MINGW32 port.

Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.

Loading schematic [d:\Projects\xxxxx\schematics\trunk\node.sch]
Skipping the m4 processor for pcb footprints
--------
gsch2pcb: gnetlist command (gnetlist -g gsch2pcb -o d:\Projects\xxxxxpcb\t
runk\node.new.pcb -m gnet-gsch2pcb-tmp.scm node.sch) failed.
    At least gnetlist 20030901 is required for m4-xxx options.

d:\Projects\xxxxx\schematics\trunk>gsch2pcb -v -d d:\Projects\footprints\tr
unk --skip-m4 -o ..\..\pcb\trunk\node node.sch
    d "d:\Projects\footprints\trunk"
    skip-m4 "-o"
    o "..\..\pcb\trunk\node"
Processing PCBLIBPATH="/home/pcjc2/gedasrc/windows/minipack/result/share/pcb/pcb
lib-newlib:/home/pcjc2/gedasrc/windows/minipack/result/share/pcb/newlib"
Running command:
        gnetlist -g pcbpins -o ..\..\pcb\trunk\node.cmd node.sch
--------
gEDA/gnetlist version 1.5.0.20080706
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

This is the MINGW32 port.

Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.

Loading schematic [d:\Projects\xxxxx\schematics\trunk\node.sch]

---------------------------------
gEDA/gnetlist pcbpins Backend
This backend is EXPERIMENTAL
Use at your own risk!
---------------------------------

Running command:
        gnetlist -g PCB -o ..\..\pcb\trunk\node.net node.sch
--------
gEDA/gnetlist version 1.5.0.20080706
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

This is the MINGW32 port.

Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.

Loading schematic [d:\Projects\xxxxx\schematics\trunk\node.sch]
Default m4-pcbdir: /home/pcjc2/gedasrc/windows/minipack/result/share/pcb/m4
--------
gnet-gsch2pcb-tmp.scm override file:
    (define m4-pcbdir "/home/pcjc2/gedasrc/windows/minipack/result/share/pcb/m4"
)
    (define gsch2pcb:use-m4 #f)
--------
Running command:
        gnetlist -g gsch2pcb -o ..\..\pcb\trunk\node.new.pcb -m gnet-gsch2pcb-tm
p.scm node.sch
--------
gEDA/gnetlist version 1.5.0.20080706
gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

This is the MINGW32 port.

Remember to check that your schematic has no errors using the drc2 backend.
You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt'
and seeing the contents of the file drc_output.txt.

Loading schematic [d:\Projects\xxxxx\schematics\trunk\node.sch]
Skipping the m4 processor for pcb footprints
--------
gsch2pcb: gnetlist command (gnetlist -g gsch2pcb -o ..\..\pcb\trunk\node.new.pcb
 -m gnet-gsch2pcb-tmp.scm node.sch) failed.
    At least gnetlist 20030901 is required for m4-xxx options.


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to