-------- Original-Nachricht -------- > Datum: Sun, 23 Dec 2007 15:07:30 +0100 > Von: Tony Earnshaw <[EMAIL PROTECTED]> > An: > CC: [email protected] > Betreff: Re: [dspam-users] RPM?
> Steve skrev, on 23-12-2007 11:59: > > [...] > > >>> Let me know what you think about it? Can you compile with the spec > file > >> a RPM on your FC6 system? > >> > >> My first impression is that it's very professional, but also incredibly > >> complicated. > >> > > The internals are complicated. But I tried to make the outside (the > interface with the user or package maker) as simple as possible. I think that > most users anyway will not look into the spec. They just want a working and > flexible spec file. The internal logic (complicated or not) does not > interests them (most of the time). > > > > > >> Looking for patches, the build of course couldn't find any: > >> > >> /bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz: > >> Cannot open: No such file or directory > >> > > If you look inside the spec then you will see this: > > > Source4: > http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz > > Well, that was a simple wget into ~/rpm/SOURCES. > > [...] > > 1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba > dspam-3.8.0.spec --with mysql > > [...] > > Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm > Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm > Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm > Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm > Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm > > But: > > rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm > > [...] > > drwxr-xr-x 2 dspam mail 0 Dec 23 14:49 /etc/mail/dspam > > [...] > -rwxr-xr-x 1 dspam mail 146805 Dec 23 14:49 /usr/bin/dspam > > [...] > > drwxr-xr-x 2 dspam mail 0 Dec 23 14:49 > /var/spool/dspam > > You put stuff into Debian directories where Red Hat wouldn't put them, > so I'm not going to install them, sorry ;) > > I still don't see the point of Gentoo patches on stuff which, though it > might not work on Gentoo, still works perfectly on Red Hat RHEL5 and FC6 > and (judging from what the CVS stuff does) sigsegvs when I don't want it > to. > Tonni. You self are using patches from Gentoo in your RPM. I see that you use the BNR debug fix. How do you think this patch has emerged? It was one Gentoo user reporting it to the Gentoo bugzilla (http://bugs.gentoo.org/show_bug.cgi?id=199700) and it was me fixing it. Now if you look at the whole conversation in the bug report, then you will see that we take at Gentoo our users very serious. Alin and me took the time to install PostgreSQL and configure a separate instance of DSPAM just to reproduce the users error and attempt to fix it. If you look at the report then you will see that the user helped us to spot the error. And this is exactly what I am asking from you. If you are serious about the error and about wanting that error/segmentation fault to be fixed, then I need some help form you in order to reproduce the error. Just saying "it segfaults on me" is not going to help you or me, because I could easily say "it works for me". If I can't reproduce the error, then I can not debug it and then I can not find it. Don't get me wrong. I am since months looking into DSPAM source code and digging around. The code is in in some parts very prone to errors. And I know that. I have started months ago to rewrite some parts of the code and I am fixing many things. But I do that mostly for me. I do that because I want my DSPAM to be rock solid and I want to understand the internal of DSPAM better. I want this beast to be fast and solid. I don't want it to crash. For me crashing is a no-go. So if you want me or others on the list to help you with that segmentation fault, then you need to provide us some more info. It is a give and take. You give us more info and we try to fix it and give back the patch to eliminate that error. Easy. Isn't it? > Best, > > --Tonni > Steve > -- > Tony Earnshaw > Email: tonni at hetnet dot nl -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
