Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-09 Thread Peter Clifton
On Mon, 2009-11-09 at 21:10 +0100, Stefan Salewski wrote: > On Mon, 2009-11-09 at 19:55 +, Peter Clifton wrote: > > > > > Attached is a minimal test case distilled from your board.. it was > > Thanks. > > But please note: The tut1.pcb shipped with pcb crashed also when pcb was > compiled wi

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-09 Thread Stefan Salewski
On Mon, 2009-11-09 at 19:55 +, Peter Clifton wrote: > > Attached is a minimal test case distilled from your board.. it was Thanks. But please note: The tut1.pcb shipped with pcb crashed also when pcb was compiled with debug option and "O" key is used for optimize. For my large board proble

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-09 Thread Peter Clifton
On Mon, 2009-11-09 at 15:01 +0100, Stefan Salewski wrote: > On Mon, 2009-11-09 at 13:48 +, Peter Clifton wrote: > > > > > > > > > Does debug option work for other people? Or should we never use it? > > > > I've had trouble with the "debug" option before, but it is probably > > telling us som

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-09 Thread Stefan Salewski
On Mon, 2009-11-09 at 13:48 +, Peter Clifton wrote: > > > > > > Does debug option work for other people? Or should we never use it? > > I've had trouble with the "debug" option before, but it is probably > telling us something useful. > > Your board works fine without the debug option, righ

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-09 Thread Peter Clifton
On Mon, 2009-11-09 at 00:43 +0100, Stefan Salewski wrote: > On Sun, 2009-11-08 at 23:16 +0100, Stefan Salewski wrote: > > > > > This may be related to my box -- AMD64, gcc 4.4.2 glib 2.11 and strong > > optimizing compiler: > > CFLAGS="-march=native -msse3 -O2 -floop-interchange -floop-strip-mine

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-09 Thread Stefan Salewski
On Mon, 2009-11-09 at 00:43 +0100, Stefan Salewski wrote: > On Sun, 2009-11-08 at 23:16 +0100, Stefan Salewski wrote: > > CFLAGS="-march=k8 -O2 -pipe" > > building for gtk, with otions doc and debug, but no toporouter support. > > This is again gcc4.4.2, glibc-2.11 on AMD64 (I can not change thi

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-08 Thread Stefan Salewski
On Sun, 2009-11-08 at 23:16 +0100, Stefan Salewski wrote: > > This may be related to my box -- AMD64, gcc 4.4.2 glib 2.11 and strong > optimizing compiler: > CFLAGS="-march=native -msse3 -O2 -floop-interchange -floop-strip-mine > -floop-block -pipe" > > But other software works fine. > > Does

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-08 Thread Stefan Salewski
On Sun, 2009-11-08 at 23:03 +0100, Stefan Salewski wrote: > And with > > AMD64-X2 ~ # USE="toporouter doc examples debug" emerge -av pcb > > I get for my board from > > http://www.ssalewski.de/DAD.html.en > > ste...@amd64-x2 /mnt/data/stefan/gEDA/DAD $ pcb b1.pcb > pcb: polygon1.c:478: node_

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-08 Thread Stefan Salewski
On Sun, 2009-11-08 at 21:26 +, Peter Clifton wrote: > On Sun, 2009-11-08 at 21:47 +0100, Stefan Salewski wrote: > > On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > > > Can someone confirm that "free (&pd);" is fine here? > > No, it is a bug which we've already fixed upstream. The

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-08 Thread Peter Clifton
On Sun, 2009-11-08 at 21:47 +0100, Stefan Salewski wrote: > On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > Can someone confirm that "free (&pd);" is fine here? No, it is a bug which we've already fixed upstream. The required patch is to change this to "free (pd);" Best wishes, Pete

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-08 Thread Stefan Salewski
On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: Building for open-motif we get hid/lesstif/main.c:3707: warning: attempt to free a non-heap object ‘pd’ related to this source text. pd = (PinoutData *) MyCalloc (1, sizeof (PinoutData), "lesstif_show_item"); pd->item = item; ex

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-08 Thread Stefan Salewski
On Sat, 2009-11-07 at 17:47 +, Ineiev wrote: > > Very nice reports (see attachment). > Thanks for your support. Just testing batch mode -- seems to work fine now. But we have again these batch.c warnings * QA Notice: Package has poor programming practices which may compile *

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Peter Clifton
On Sat, 2009-11-07 at 17:47 +, Ineiev wrote: > > hid/gtk/gui-dialog.c:172: warning: format not a string literal and no > > format arguments > > Should be like it is: the function semantics differ from the printf() ones. The correct fix for any bug sprewing this message is usually to pass th

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Peter Clifton
On Sat, 2009-11-07 at 18:26 +0100, Stefan Salewski wrote: > On Sat, 2009-11-07 at 16:51 +, Peter Clifton wrote: > > On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > > > > > --docdir="/usr/share/doc/pcb-20091103" > > > seems to generate an obsolete empty directory > > > /usr/share/pc

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Ineiev
Stefan Salewski wrote: > autoroute.c:3431: warning: ‘add_clearance’ defined but not used > djopt.c:2461: warning: ‘nudge_corner’ defined but not used > draw.c:381: warning: passing argument 3 of ‘DrawSilk’ discards qualifiers > from pointer target type > file.c:1129: warning: ignoring return valu

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Stefan Salewski
On Sat, 2009-11-07 at 16:51 +, Peter Clifton wrote: > On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > > > --docdir="/usr/share/doc/pcb-20091103" > > seems to generate an obsolete empty directory > > /usr/share/pcb-20091103/ > > That directory is somewhat of an annoyance on my box.

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Peter Clifton
On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > --docdir="/usr/share/doc/pcb-20091103" > seems to generate an obsolete empty directory > /usr/share/pcb-20091103/ That directory is somewhat of an annoyance on my box.. > For gentoo we like to have examples and tutorials in the doc >

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Peter Clifton
On Sat, 2009-11-07 at 17:27 +0100, Stefan Salewski wrote: > > > We have --enable-toporouter-output now. > > > It needs cairo. Is this true for lesstif HID too. > > > > I believe this is a debugging option, and distros should not be building > > with it enabled. > > > > OH -- I was going to mak

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Stefan Salewski
On Sat, 2009-11-07 at 15:53 +, Peter Clifton wrote: > On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > > Two questions: > > > > ste...@amd64-x2 ~/pcb/pcb-20091103 $ ./configure --help |grep lpr > > --with-printer= Specify the printer: lpr [default=lpr] > > I think lpr is the o

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Peter Clifton
On Sat, 2009-11-07 at 14:07 +0100, Stefan Salewski wrote: > Two questions: > > ste...@amd64-x2 ~/pcb/pcb-20091103 $ ./configure --help |grep lpr > --with-printer= Specify the printer: lpr [default=lpr] > I think lpr is the only available choice, and I read that leaving this > option out gi

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Peter Clifton
On Sat, 2009-11-07 at 14:15 +0100, Chitlesh GOORAH wrote: > On Sat, Nov 7, 2009 at 2:07 PM, Stefan Salewski wrote: > > For gentoo we like to have examples and tutorials in the doc > > directories, so gentoo developers employ these patches: > > # sed -i -e 's/example//' -e 's/tutorial//' -e 's

Re: gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Chitlesh GOORAH
On Sat, Nov 7, 2009 at 2:07 PM, Stefan Salewski wrote: > For gentoo we like to have examples and tutorials in the doc > directories, so gentoo developers employ these patches: > #       sed -i -e 's/example//' -e 's/tutorial//' -e 's/ win32//' Makefile.in > || die "sed failed" > #       sed -i -e

gEDA-user: pcb-20091103 for Gentoo, working on ebuild

2009-11-07 Thread Stefan Salewski
Two questions: ste...@amd64-x2 ~/pcb/pcb-20091103 $ ./configure --help |grep lpr --with-printer= Specify the printer: lpr [default=lpr] I think lpr is the only available choice, and I read that leaving this option out gives us all available printers. So I think we should not specify this