[maemo-developers] Debian toolkit mismatch

From: Ludovic Courtès ludovic.courtes at laas.fr
Date: Tue Oct 30 19:11:26 EET 2007
Hi,

In Scratchbox (ARMEL target), I'm observing strange inconsistencies
between `dh_make' and `dpkg-buildpackage'.  Basically, `dh_make' creates
`debian/{control,changelog}' files that are considered invalid by
`dpkg-buildpackage':

  [sbox-armel-n770-maemo-2.2: ~/mud-builder/build/readline5/readline-5.2] > dh_make

  Type of package: single binary, multiple binary, library, or kernel module?
   [s/m/l/k] s

  Maintainer name :


  Email-Address   : lcourtes at unknown
  Date            : Tue, 30 Oct 2007 17:54:47 +0100
  Package Name    : readline
  Version         : 5.2
  Type of Package : Single
  Hit <enter> to confirm: 
  Done. Please edit the files in the debian/ subdirectory now. readline
  uses a configure script, so you probably don't have to edit the Makefiles.
  [sbox-armel-n770-maemo-2.2: ~/mud-builder/build/readline5/readline-5.2] > cat debian/changelog 
  readline (5.2-1) unstable; urgency=low

    * Initial Release.

   -- 

   <lcourtes at unknown>  Tue, 30 Oct 2007 17:54:47 +0100

  [sbox-armel-n770-maemo-2.2: ~/mud-builder/build/readline5/readline-5.2] > dpkg-buildpackage 
  parsechangelog/debian: error: badly formatted trailer line, at changelog line 5
  dpkg-buildpackage: unable to determine source package is


The programs are from here:

  [sbox-armel-n770-maemo-2.2: ~/mud-builder/build/readline5/readline-5.2] > which dpkg-buildpackage 
  /scratchbox/devkits/maemo3-debian/bin/dpkg-buildpackage
  [sbox-armel-n770-maemo-2.2: ~/mud-builder/build/readline5/readline-5.2] > which dh_make
  /scratchbox/devkits/debian-sarge/bin/dh_make


It works as though `dh_make' used "\n\n" or some such as the maintainer
name.  The same error occurs in `debian/control':

  Source: readline
  Section: unknown
  Priority: optional
  Maintainer: 

   <lcourtes at unknown>
  Build-Depends: debhelper (>= 4.0.0)
  Standards-Version: 3.6.1
  [...]

And `$DEBFULLNAME' is empty.

Any idea what goes wrong?

Thanks,
Ludovic.


More information about the maemo-developers mailing list