X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Mail-Followup-To: geda-user AT delorie DOT com Subject: Re: [geda-user] how to find sch-sym depenencies for Makefile In-reply-to: <20210701191027.61B3983D521B@turkos.aspodata.se> References: <20210701152018 DOT F248283D521B AT turkos DOT aspodata DOT se> <20210701191027 DOT 61B3983D521B AT turkos DOT aspodata DOT se> Comments: In-reply-to "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" message dated "Thu, 01 Jul 2021 21:10:27 +0200." Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20210701194709.71A7183D521B@turkos.aspodata.se> Date: Thu, 1 Jul 2021 21:47:09 +0200 (CEST) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Karl: > Vladimir: ... > > An attached first draft patch for makedepend backend does the job > ... > > lepton-netlist -f utils/netlist/scheme/backend/gnet-makedepend.scm \ > > -o output utils/netlist/tests/hierarchy.sch > > Nice! It do contain duplicates, but I can handle that, thanks. > > $ grep pwr.mc33063.5Vnl.sch: output | tr ' ' '\n' | sort | uniq -c > 3 /home/karl/git/openhw/share/gschem/_discrete/cap_v.sym > 1 /home/karl/git/openhw/share/gschem/_discrete/diode_schottky_v.sym > 1 /home/karl/git/openhw/share/gschem/_discrete/ind2_h.sym > 3 /home/karl/git/openhw/share/gschem/_discrete/res_v.sym > 3 /home/karl/git/openhw/share/gschem/_graphical/netif_power.sym > 1 /home/karl/git/openhw/share/gschem/_semiconductor/mc33063.sym > 1 pwr.mc33063.5Vnl.sch: Ok, bugreport... If I: mv res_v.sym zz it seems to crash. (the invalid path is just filenames with utf8 in them, in this case a Ø: inductor-nkl-B5Ø.fp inductor-nkl-B6Ø.fp) $ lepton-netlist -g makedepend -o output top.sch ** (process:25309): CRITICAL **: 21:39:15.656: Invalid path "/Net/cvs/cvs.gedasymbols.org/www/user/erich_heinzle/kicad/footprints/inductors/inductor-nkl-B6??.fp". ** (process:25309): CRITICAL **: 21:39:15.657: Invalid path "/Net/cvs/cvs.gedasymbols.org/www/user/erich_heinzle/kicad/footprints/inductors/inductor-nkl-B5??.fp". Backtrace: In ice-9/boot-9.scm: 160: 11 [catch #t # ...] In unknown file: ?: 10 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 9 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 8 [eval # #] In ice-9/boot-9.scm: 2412: 7 [save-module-excursion #] 4089: 6 [#] In unknown file: ?: 5 [%with-toplevel # ...] In ice-9/boot-9.scm: 895: 4 [call-with-output-file "output" ...] In ice-9/r4rs.scm: 176: 3 [with-output-to-port #> ...] In srfi/srfi-1.scm: 613: 2 [for-each # #] In ice-9/eval.scm: 387: 1 [eval # #] In unknown file: ?: 0 [string-join # # #] ERROR: In procedure string-join: ERROR: In procedure string-append: Wrong type (expecting string): #f $ So, I cannot use it to find missing symbols. Regards, /Karl Hammar