[Pkg-doc-linux-devel] Updating repository files

Colin Watson cjwatson@debian.org
Fri, 10 Oct 2003 20:37:25 +0100


On Fri, Oct 10, 2003 at 11:36:02AM -0600, doug jensen wrote:
> On Fri, Oct 10, 2003 at 04:51:21PM +0100, Colin Watson wrote:
> > On Fri, Oct 10, 2003 at 09:34:41AM -0600, doug jensen wrote:
> > > I can get all the files to build and they look ok but, the debs won't
> > > build so I'm obviously doing something wrong.
> > 
> > I don't quite have time for a build right now. What are the errors?
> 
> Ohhh.., brain cramped operator error :).
> 
> I think it has to do with my building process, putting something in the wrong
> place or so.  I haven't researched it enough, to ask intelligent questions yet.
> 
> Here's the error, but don't waste any time on it, there are still things I can
> do before bothering you with it.
> 
> # dpkg-deb -b ./doc-linux-2003.10/ doc-linux-nonfree.deb

Um. Don't try to build packages with dpkg-deb like that; it won't work.
Use dpkg-buildpackage, or debuild. (Presumably you had to add a strange
DEBIAN symlink or something - you can remove that.)

dpkg-deb is called from debian/rules as the last stage of building the
binary package, via dh_builddeb.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]