1 |
On Fri, Dec 31, 2010 at 3:15 AM, Enrico Weigelt <weigelt@×××××.de> wrote: |
2 |
|
3 |
> * Kfir Lavi <lavi.kfir@×××××.com> schrieb: |
4 |
> |
5 |
> > > Patching autogenerated files is not a good idea - change the |
6 |
> > > actual source and regenerate. |
7 |
> > > |
8 |
> > In the ACE files they ask not to generate configure alone. |
9 |
> |
10 |
> Well, not the first time I hear upstreams confusing intermediate |
11 |
> files w/ actual sources (yes, there're also folks who include |
12 |
> precompiled binaries, which are run and later recompiled within |
13 |
> the build process ;-o). A very good indicator for something |
14 |
> completely conceptionally wrong in here ;-p |
15 |
> |
16 |
> My approach (which I'm doing in the OSS-QM project) is radically |
17 |
> clear: autogenerated files *must* be regenerated on each build. |
18 |
> If this doesn't work, the source is broken and has to be fixed, |
19 |
> period ;-p |
20 |
> |
21 |
> Well, you are a purist ;-) |
22 |
The thing is, I must use this ACE libs, and they are broken. |
23 |
I have also so many other things to get working, I just have to live with |
24 |
this approach. |
25 |
Your method regenerating the ./configure script, is very good, and I'm |
26 |
asking myself, why |
27 |
its not done every install, or why we get ./configure generated in the |
28 |
tar.gz. |
29 |
Maybe there is something to it. |
30 |
|
31 |
|
32 |
> I'm even going farer: if upstream has an proper vcs, I take the |
33 |
> releases from there, completely regenerating everything from |
34 |
> scratch. All fixes are done within my VCS (essentially, I always |
35 |
> have my own releases ontop the upstream's, as git tags). Sometimes |
36 |
> you encounter packages, eg. coreutils, which doing really messy |
37 |
> things like pulling in another tree via git and copying in files |
38 |
> from there - a nightmare for packagers ;-o |
39 |
> |
40 |
> I wonder, do you patch every ebuild to do just that? |
41 |
Maybe there should be a new FEATURE that request the ebuild to download the |
42 |
release from the VCS. |
43 |
|
44 |
> So I tried it ;) |
45 |
> > But had problem to finish. |
46 |
> > My guess they still tweak by hand. |
47 |
> |
48 |
> WTF ? Tweak autoconf-generated files by hand ? Oh, I don't even |
49 |
> wanna know which drugs they're on ;-) |
50 |
> |
51 |
> |
52 |
|
53 |
> cu |
54 |
> -- |
55 |
> ---------------------------------------------------------------------- |
56 |
> Enrico Weigelt, metux IT service -- http://www.metux.de/ |
57 |
> |
58 |
> phone: +49 36207 519931 email: weigelt@×××××.de |
59 |
> mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 |
60 |
> ---------------------------------------------------------------------- |
61 |
> Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme |
62 |
> ---------------------------------------------------------------------- |
63 |
> |
64 |
> |