Gentoo Archives: gentoo-dev

From: Elfyn McBratney <elfyn.mcbratney@×××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] re2c woes - badly broken with gcc 3.x - offering help, possible ebuild maintainership
Date: Tue, 13 Apr 2004 08:27:01
Message-Id: 200404130925.09340@i.emcb.co.uk
In Reply to: Re: [gentoo-dev] re2c woes - badly broken with gcc 3.x - offering help, possible ebuild maintainership by Elfyn McBratney
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Tuesday 13 Apr 2004 06:41, Elfyn McBratney wrote:
5 > On Sunday 11 Apr 2004 16:40, Stuart Herbert wrote:
6 > > On Saturday 10 April 2004 05:46, Elfyn McBratney wrote:
7 > > > Hello devs,
8 > > >
9 > > > Before I begin, sorry if I should have sent this to the -user list..
10 > > > Please forward it there/moan at me if so. :)
11 > > >
12 > > > At the moment, re2c is completely broken w.r.t. gcc 3.x. And as most
13 > > > people are living on the bleedin' edge (i.e., not using gcc 2.x) re2c
14 > > > is completely broken for them.
15 > >
16 > > We know. Bug #43449 covers this.
17 > >
18 > > > So, I propose the maintainers of php*-cvs/re2c do one of:-
19 > > >
20 > > > 1) Pull from portage. Drastic, yes, but why have ebuilds in the
21 > > > tree if the wont compile for most gentoo users?
22 > >
23 > > I believe that re2c is required for something or other to do with php5.
24 > > Coredumb's really the best person to answer that, but he doesn't seem to
25 > > be around much lately :(
26 > >
27 > > > 2) Fix them. I'll try as hard as I can (I've done most of the
28 > > > porting of re2c (current ver in portage), I'm just left with a few C++
29 > > > idioms..) to fix it up so it's usable.
30 > >
31 > > Why duplicate work? Take a look at re2c.org ... there's already a
32 > > project underway to deal with this, which includes important patches from
33 > > the PHP developers.
34 > >
35 > > If you update bug #43449 with an ebuild for re2c.org's version, I'll
36 > > happily take a look at it.
37 >
38 > OK, I've got a patch ready for bug #43449. This patch applies to
39 > re2c.org's 0.9.1 (based on the patch already in portage 8) It's available
40 > here (as I couldn't reach bugs.gentoo.org - crap isp ;)
41 >
42 > http://people.emcb.co.uk/beu/devo/gentoo/re2c/re2c-ebuild.patch
43 > http://people.emcb.co.uk/beu/devo/gentoo/re2c/files/0.9.1-patch
44 >
45 > (Add a .gz to the last one for gzip'ed patch.)
46 >
47 > I know the Makefile kludge is bad! :) I'm going to try and work on a
48 > solution upstream, but in the mean time re2c builds and works (haven't
49 > tried with gcc2 yet - will do that today).
50 >
51 > The ebuild does a double `emake || die' because the first time re2c is
52 > compiled is uses the pre-processed `scanner.cc' (bootstrap) the second is
53 > done using the just-compiled re2c. Hrmm..
54
55 Replying to myself as I've had some sleep and have now come to the conclusion
56 my patch is fit only for the bin. :)
57
58 I'm going to get on the re2c mailing list and try and push most of this
59 upstream (the bulk are general portability changes, not really gentoo
60 specific). I'll comment on bug #43449 when I have something that isn't
61 kludge. ;)
62
63 Sorry for the noise 8)
64
65 Elfyn
66
67 - --
68 Elfyn McBratney, EMCB
69 mailto:elfyn@×××××××.uk
70 http://www.emcb.co.uk/
71
72 PGP Key ID: 0x456548B4
73 PGP Key Fingerprint:
74 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4
75
76 "When I say something, I put my name next to it." -- Isaac Jaffee
77
78 >> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <<
79 << ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ >>
80 >> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <<
81 -----BEGIN PGP SIGNATURE-----
82 Version: GnuPG v1.2.4 (GNU/Linux)
83
84 iD8DBQFAe7HzaIgMKkVlSLQRAtxCAKCCcBb6u6I0iaVh1HRc4ze7rD2jWwCgteHw
85 Lia1RusvbcsWnH/LaDlqmpc=
86 =kJkf
87 -----END PGP SIGNATURE-----
88
89 --
90 gentoo-dev@g.o mailing list

Replies