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

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



On Tue, Nov 22, 2005 at 09:16:22PM -0500, Eric Cooper wrote:
> On Tue, Nov 22, 2005 at 11:53:59PM +0100, Thomas Petazzoni wrote:
> > However, I'm not able to compile my packages anymore using
> > svn-buildpackage, because it does a "svn export" and then builds from
> > there. And because debian/control is not in the repository, it doesn't
> > find it. I've pasted the output at
> > http://thomas.enix.org/pub/debug/svn-buildpkg.
> > 
> > How do you compile your packages ?
> 
> I had the same question. Both debian/control.in and debian/control
> should be committed to the repository, by running
>     ./debian/rules debian/control
> yourself and then checking in the result.  It should
> *not* be done automatically as part of building the package.

Well, no, this is not the right thing to do, debian/control should not be in
the repo, as it is a generated file. I guess the right thing to do would be to
fix svn-buildpackage to know how to generate the debian/control file, or do it
in steps, which i believe is possibly with svn-buildpackage.

Notice that this will play hell with cdbs based packages, which cannot use the
standard debian/control target for pure brokeness.

Stefano, you use both svn-buildpackage and the ocamlinit target, how do you
handle this ? 

Friendly,

Sven Luther



Reply to: