delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2023/03/19/08:20:38.1

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.9.0 07/11/2018 (debian 1:2.9.0-1) with nmh-1.7.1
X-Exmh-Isig-CompType: comp
X-Exmh-Isig-Folder: inbox
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: [geda-user] Unknown config key
Mime-Version: 1.0
Message-Id: <20230319120044.4EA0585F61DE@turkos.aspodata.se>
Date: Sun, 19 Mar 2023 13:00:44 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com

  In:
$ git branch -v
* (HEAD detached at vzh/sch2pcb-rewrite-sch2pcb-add-elements-in-scheme) 60d7148f0 sch2pcb: Rewrite sch2pcb_add_elements() in Scheme.
  master                                                                9cc6d7f8f build: Add buffer.scm to POTFILES.in as it contains translatable strings.

  I get (after make install):
$ lepton-sch2pcb styrkort.sch 
Unknown config key: "."
Unknown config key: "/home/karl/git/openhw/share/pcb/"
Unknown config key: "/usr/share/pcb/pcblib-newlib/"
...

$ egrep '^lib.*-newlib' pcbrc preferences settings 
pcbrc:lib-newlib += /home/karl/git/openhw/share/pcb
pcbrc:lib-newlib += /home/karl/Net/git/pcb-footprints
preferences:library-newlib = .:/usr/share/pcb/newlib:/home/karl/git/openhw/share/pcb
settings:lib-newlib = .:/usr/share/pcb/newlib:/home/karl/git/openhw/share/pcb
$

 Running strace doesn't help me figuring out which
 config file it reads:

$ strace lepton-sch2pcb styrkort.sch  > log 2>&
$ fgrep '/home/karl/.pcb' log 
stat("/home/karl/.pcb/pcb.inc", 0x7ffe745a8800) = -1 ENOENT (No such file or directory)
$

So how should I debug this ?

Regards,
/Karl Hammar


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019