Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73113 - mailfilter-0.7.1 is out
Summary: mailfilter-0.7.1 is out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 01:37 UTC by Holger Hoffstätte
Modified: 2005-01-21 05:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
initial ebuild for mailfilter-0.7.1 (mailfilter-0.7.1.ebuild,769 bytes, text/plain)
2004-12-02 01:38 UTC, Holger Hoffstätte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2004-12-02 01:37:56 UTC
This -dev release fixes a nasty bug from 0.7, but works flawlessly otherwise. I've been running 0.7 (with patch) for months without a problem, and this version is quite ready for general testing - hence the ebuild.


Reproducible: Always
Steps to Reproduce:




The 0.6 ebuild installs two example rc files when USE="doc" (I think). These
should be updated as well (with proper quoting) since the rc format changed
slightly.
Comment 1 Holger Hoffstätte 2004-12-02 01:38:25 UTC
Created attachment 45131 [details]
initial ebuild for mailfilter-0.7.1
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-12-03 12:27:26 UTC
It doesn't compile:

flex -+ -i -Prc -orcfile.cc rcfile.ll rcparser.hh
flex: can't open rcparser.hh
make[2]: *** [rcfile.cc] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/mailfilter-0.7.1/work/mailfilter-0.7.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mailfilter-0.7.1/work/mailfilter-0.7.1'
make: *** [all] Error 2

After a brief investigation, it looks like they forgot to add rcparser.* files into src/.
Comment 3 Holger Hoffstätte 2004-12-04 04:26:17 UTC
Interesting - I've emerged this on two different machines now (including full download of the archive from SF) and it worked just fine. The flex invocations just worked, and src contains rcfile.{ll,yy,hh} just as it should.
I have flex-2.5.4a.
Comment 4 Holger Hoffstätte 2004-12-04 04:35:46 UTC
rcparser.{cc,hh) are missing since they are generated with bison (GNU yacc):

...
bison -y -p rc -d -v -oy.tab.c rcfile.yy;   \
   mv --force y.tab.c rcparser.cc;    \
   mv --force y.tab.h rcparser.hh;    \
   g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I. -I../include -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -
I../intl -I.. -I../include -I.   -Wall -g -O2 -c rcparser.cc;      \
   touch y.tab.c
flex -+ -i -Prc -orcfile.cc rcfile.ll rcparser.hh
...

So I think there's something wrong with your yacc/bison, you can check config.log for more information. I run bison-1.875d and this works.
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2004-12-09 15:06:28 UTC
Hm, I just tried the ebuild and it installs just fine. I don't know what caused the problem earlier. Anyway, 0.7.1, as well as updated rcfiles added to CVS, thanks for reporting.
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2005-01-21 05:16:28 UTC
I just got an answer from mailfilter devs about this, so I thought I'd let you know:

This is NOT a bug: the docs say clearly you need recent GNU
bison and a flex from lex.sf.net; NOT GNU flex!!  Then it
does compile.  By far, the most FAQ.