On Fri, Dec 31, 2010 at 3:15 AM, Enrico Weigelt wrote: > * Kfir Lavi schrieb: > > > > Patching autogenerated files is not a good idea - change the > > > actual source and regenerate. > > > > > In the ACE files they ask not to generate configure alone. > > Well, not the first time I hear upstreams confusing intermediate > files w/ actual sources (yes, there're also folks who include > precompiled binaries, which are run and later recompiled within > the build process ;-o). A very good indicator for something > completely conceptionally wrong in here ;-p > > My approach (which I'm doing in the OSS-QM project) is radically > clear: autogenerated files *must* be regenerated on each build. > If this doesn't work, the source is broken and has to be fixed, > period ;-p > > Well, you are a purist ;-) The thing is, I must use this ACE libs, and they are broken. I have also so many other things to get working, I just have to live with this approach. Your method regenerating the ./configure script, is very good, and I'm asking myself, why its not done every install, or why we get ./configure generated in the tar.gz. Maybe there is something to it. > I'm even going farer: if upstream has an proper vcs, I take the > releases from there, completely regenerating everything from > scratch. All fixes are done within my VCS (essentially, I always > have my own releases ontop the upstream's, as git tags). Sometimes > you encounter packages, eg. coreutils, which doing really messy > things like pulling in another tree via git and copying in files > from there - a nightmare for packagers ;-o > > I wonder, do you patch every ebuild to do just that? Maybe there should be a new FEATURE that request the ebuild to download the release from the VCS. > So I tried it ;) > > But had problem to finish. > > My guess they still tweak by hand. > > WTF ? Tweak autoconf-generated files by hand ? Oh, I don't even > wanna know which drugs they're on ;-) > > > cu > -- > ---------------------------------------------------------------------- > Enrico Weigelt, metux IT service -- http://www.metux.de/ > > phone: +49 36207 519931 email: weigelt@metux.de > mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 > ---------------------------------------------------------------------- > Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme > ---------------------------------------------------------------------- > >