First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73113
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Holger Hoffstätte <holger@wizards.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mailfilter-0.7.1.ebuild initial ebuild for mailfilter-0.7.1 text/plain Holger Hoffstätte 2004-12-02 01:38 0000 769 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73113 depends on: Show dependency tree
Show dependency graph
Bug 73113 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-02 01:37 0000
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 From Holger Hoffstätte 2004-12-02 01:38:25 0000 -------
Created an attachment (id=45131) [edit]
initial ebuild for mailfilter-0.7.1

------- Comment #2 From Andrej Kacian (RETIRED) 2004-12-03 12:27:26 0000 -------
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 From Holger Hoffstätte 2004-12-04 04:26:17 0000 -------
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 From Holger Hoffstätte 2004-12-04 04:35:46 0000 -------
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 From Andrej Kacian (RETIRED) 2004-12-09 15:06:28 0000 -------
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 From Andrej Kacian (RETIRED) 2005-01-21 05:16:28 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug