[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ocaml 3.09.0 and word from the RMs ...



On Wed, Nov 02, 2005 at 10:42:26AM -0500, Eric Cooper wrote:
> On Wed, Nov 02, 2005 at 03:56:07PM +0100, Sven Luther wrote:
> > On Wed, Nov 02, 2005 at 03:44:40PM +0100, Stefano Zacchiroli wrote:
> > > On Wed, Nov 02, 2005 at 02:58:42PM +0100, Julien Cristau wrote:
> > > > The build-dependency on the virtual packages is needed when the runtime
> > > > dependencies are hard-coded. If they are generated at build-time, you
> > > > don't need to build-depend on the virtual package, you can just use
> > > > ocaml (>= 3.09.0) or similar. This will actually work better, since
> > > > autobuilders will automatically put your package in Dep-Wait for ocaml
> > > > until ocaml is build and uploaded.
> > > 
> > > Ok, I have a clearer understanding now. I suddenly like this new
> > > implementation technique of our policy :-)
> > 
> > So, what do we decide on ? Two places where the abi number is hard coded, or
> > generating the debian/control dynamically ? 
> 
> I'm glad this discussion came up, since I was about to post about this
> anyway.  I don't fully understand all the issues, but in the past few
> hours I've been trying to rebuild approx using 3.09, and have gotten
> very frustrated.
> 
> First I built and installed the ocaml 3.09 binary packages from the
> source package in experimental.  Then I tried to build approx, but
> since it depends (indirectly) on lots of libraries -- ocamlnet,
> labl{gl,gtk}, equeue, syslog, etc. I had to rebuild them first.  The
> build-depends information doesn't catch any of these, because they are
> installed, but not with the right version.
> 
> And of course to build new versions, I had to edit all the control
> files, *.files, *.install, *.dirs, etc files in the debian
> subdirectories, even though there was no change to the source code.
> 
> It certainly seems wrong to have to change so many files when there's
> only a "mechanical" change like a new compiler version.
> A changelog that contains almost nothing but
>    * Updated to 3.09
>    ...
>    * Updated to 3.08.3
>    ...
>    * Updated to 3.08
> is pretty useless.
> 
> We need a scheme that eliminates the need for any manual edits when
> rebuilding libraries and packages, if nothing has changed except the
> compiler version.

Indeed, and i think i found it, well two places are needed, and one of them is
not critical. Please look at ledit, lablgtk, lablgl, camlzip and ocaml itself
on how to do this.

I even have a pseudo-script doing the modification all by itself :)

Friendly,

Sven Luther



Reply to: