[ubuntu/karmic] mplayer 2:1.0~rc3+svn20090426-1ubuntu1 (Accepted)

Michael Bienia michael at bienia.de
Sun Jun 7 23:50:53 BST 2009

On 2009-06-07 18:47:47 +0200, Reinhard Tartler wrote:
> could someone please enlighten me? On #ubuntu-devel, pochu suggested it
> might have something to do with pkg-create-dbgsym, but why should it
> break so horribly on this package?

It's a bug in pkg_create_dbgsym not filtering out multi-lined Depends
(and other fields like Suggest or Replaces) correctly and making
dpkg-gencontrol choke on it.

pkg_create_dbgsym created a control file with a field like 
| Section: video
|    ttf-freefont,
|    netselect | fping,
|    bzip2,
|    fontconfig
|   ${shlibs:Depends},
|   ${misc:Depends}
|    mplayer-doc (<< 1.0~rc3+svn20090426-1)
These are the continuation lines from Suggests, Depends and Replaces
from the original control file. I don't know what dpkg-gencontrol will
make out of it as it "worked" till now. The reason why it failed in this
case is the last line: in the other cases ${misc:Depends} was on the
last line and when filled with nothing it didn't cause any problems. But
in this case here it produced an empty line which was finally to much
for dpkg-gencontrol and it aborted.

It's filed as bug #384597 against pkg-create-dbgsym. A proposed fix for
the regex doing the filtering of the fields is also in this bug.


More information about the ubuntu-devel mailing list