Re: Dependencies on shared libs, take 2
On Mon, Jun 18, 2007 at 09:50:48AM +0100, Raphael Hertzog <firstname.lastname@example.org> wrote:
> On Mon, 18 Jun 2007, Josselin Mouette wrote:
> > Le dimanche 17 juin 2007 à 15:00 +0100, Raphael Hertzog a écrit :
> > > - we have different levels of check that can make dpkg-gensymbols fail
> > > (with option -c<level>). By default level 1 is activated, it will fail
> > > if some symbols disappeared. Level 2 will also fail if new symbols are
> > > introduced without prior update of the debian/symbols file. Level 3 and 4
> > > introduce additional checks about new/disappearing libraries in the
> > > package.
> > I still don't understand why you insist on making level 1 the default.
> > The symbols file *must* be updated when new symbols or libraries are
> > introduced, which means level at least 3 must be the default.
> The generated file is updated... and the file in the source package
> doesn't need to be updated so often. Additionnaly you can avoid having to
> rebuild once knowing that it will fail... let the build update the
> generated file, get the diff from the build log and commit it in your
> repository so that it will be used for the next upload.
> If your build is rather large, it can make sense.
No, it doesn't. Files in the debian/ directory should not be modified
during the build. The correct file should already be in the .diff.gz.