[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 806686] Re: misleading error message by gsch2pcb
I can confirm this. I have also attached a patch that tries to improve
the error handling in gsch2pcb. To fix it completely, a change is also
required in gnetlist, as gnetlist does not necessarily signal an error
with a non-zero exit-code.
** Patch added: "Improved error handling in gsch2pcb"
https://bugs.launchpad.net/geda/+bug/806686/+attachment/2195865/+files/0001-Improved-error-handling-in-gsch2pcb.patch
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/806686
Title:
misleading error message by gsch2pcb
Status in GPL Electronic Design Automation tools:
New
Bug description:
gsch2pcb will report an error related to M4 options if gnetlist
cannot find libgeda. This is of course not very helpful.
To reproduce:
1) make sure, libgeda is not found. E.g. move the link libgeda.so.40
out of the way.
2) call gsch2pcb with some project file
The script dies with this error message:
/--------------------
gsch2pcb: gnetlist command failed, `stromverteiler.new.pcb' not updated
At least gnetlist 20030901 is required for m4-xxx options.
\--------------------
gnetlist alone produces a more useful message:
/--------------------
gnetlist: error while loading shared libraries: libgeda.so.40: cannot open shared object file: No such file or directory
\--------------------
Suggestion: Forward any gnetlist errors to the user.
Do not report m4 when just guessing from circumstances.
---<)kaimartin(>---
To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/806686/+subscriptions
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug