X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ham01.websitewelcome.com X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=ham version=3.3.1 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gibibit.com; h=Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-BWhitelist:X-Source:X-Source-Args:X-Source-Dir:X-Source-Sender:X-Source-Auth:X-Email-Count:X-Source-Cap; b=Otuk0ZuSaC5RLv+3H7k6+KT+YJ6H0pbhXf+M3iJxXJf6qEtkh4KlRT0JD2/kWrrH0Mweu9a1Ut8sy9KnrVWGQGcjOVHnTaYyaqVqCa/3epSmAOYqc5OXNw/CKOYtXE1v; Date: Tue, 8 Nov 2011 09:19:33 -0800 From: Colin D Bennett To: geda-user AT delorie DOT com Subject: Re: [geda-user] duplicate refdes values Message-ID: <20111108091933.66b26424@svelte> In-Reply-To: <89AF1CB2-6703-4ABC-A43D-7EA37559426F@noqsi.com> References: <20111108100616 DOT GA32119 AT yumi> <89AF1CB2-6703-4ABC-A43D-7EA37559426F AT noqsi DOT com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: spk.venturedesignservices.com (svelte) [65.61.115.34]:23777 X-Source-Auth: colin AT gibibit DOT com X-Email-Count: 1 X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t 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 On Tue, 8 Nov 2011 06:38:31 -0700 John Doty wrote: > > On Nov 8, 2011, at 3:06 AM, Cyril Hrubis wrote: > > > Hi! > > I've got bitten by this once more and decided for fix. The > > problem is that I've, by a mistake, forgot to change refdes on > > one of my resistors and spend another ten minutes by figuring > > out what went wrong. > > > > What I want to fix is that both gsch2pcb and pcb are silent > > about this and the pcb just picks up only one of them. >... > 3. The drc2 back end to gnetlist already complains about > duplicated refdes values for non-slotted components. Checking a > design for errors is what drc2 is for, and if you're not using > multiple heterogeneous symbols for parts, drc2 will do what you > want here. The problem is that this isn't necessarily an error: > this is one of the many cases where drc2's model of design is > narrower than the capabilities of the toolkit. In this case, it > is hard to fix drc2, as the indications of true error > (inconsistent pin connections) are hidden behind the > unnecessarily opaque gnetlist back-end API. Agreed, the drc2 backend has caught my copy-and-pasting symbols without changing the refdes many times. I always run my drc script after making schematic changes. It might be a good idea for users to include a drc2 run in the script that runs gsch2pcb (Makefile, shell script, whatever). Regards, Colin