delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/03/21/17:01:55

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 21 Mar 2018 22:00:00 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] current gnetlist from git and hierarchy
In-Reply-To: <20180321152652.CDB05807DEBE@turkos.aspodata.se>
Message-ID: <alpine.DEB.2.20.1803212112330.1501@nimbus>
References: <20180312013908 DOT 3dbbb5bc AT swips DOT iqo DOT uni-hannover DOT de> <alpine DOT DEB DOT 2 DOT 20 DOT 1803202117510 DOT 2530 AT nimbus> <20180321152652 DOT CDB05807DEBE AT turkos DOT aspodata DOT se>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
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

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-170908132-1521666000=:1501
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Wed, 21 Mar 2018, karl AT aspodata DOT se wrote:
> It behaves a litte dissimilar since it doesn't like a tree with
> duplicate names in it (even though I don't use thoose symbols):
>
> […]
>
> ValueError: Duplicate symbol name while scanning library [gnd-1.sym]: user

The standard library is not meant to be included recursively: it contains 
several directories (gnetman/, verilog/, vhdl/) with symbols whose names 
conflict with symbols in other directories.  If these directories were to 
be included, the symbol names would be ambiguous.

In the default configuration, the library subdirectories are included 
individually (see symbols/geda-clib.scm).  To replicate this behavior on 
the command line, you need to specify a --symbol-library= option for each 
subdirectory.

This is, of course, not optimal.  I think it would be best to move the 
symbol directories which are by default not included to another directory 
(maybe symbols-opt?) so the standard library can be included recursively. 
Any opinions?

--8323329-170908132-1521666000=:1501--

- Raw text -


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