Bug#378930: Parse error in temporary control file generated by dpkg-cross in "Depends" field
An easy way to reproduce the behavior:
from, say, ftp.fi.debian.org/debian/pool/main/libx/libxt
dpkg-cross -v -a arm -b libxt-dev_1.0.2-1_arm.deb
Going to convert libxt-dev_1.0.2-1_arm.deb
Extracting information from control file
Creating destination package tree
Creating control file
Creating md5sums file
dpkg-deb: parse error, in file `/tmp/dpkg-cross.9a173216/dst/DEBIAN/control' near line 8 package `libxt-dev-arm-cross':
`Depends' field, syntax error after reference to package `x11-common-arm-cross'
dpkg-cross: building package with dpkg-deb -b failed.
dpkg-cross: conversion of libxt-dev_1.0.2-1_arm.deb failed.
The same behavior occurred using any of the packages that also
have a version under debian/pool/main/x/xfree86, if you don't get
that version (for example libxt-dev_4.3.0.dfsg.1-14sarge1_arm.deb
works), but instead the one that uses xorg. (Most of these aren't under
the xorg directory). This was tested on two machines. For example,
using libxt-dev_1.0.0-5_arm.deb also doesn't work. The whole
xfree86 set seems to work.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 126.96.36.199
Locale: LANG=fi_FI@euro, LC_CTYPE=fi_FI@euro (charmap=ISO-8859-15)
Versions of packages dpkg-cross depends on:
ii binutils 2.17-1 The GNU assembler, linker and bina
ii dpkg-dev 1.13.22 package building tools for Debian
ii file 4.17-2 Determines file type using "magic"
dpkg-cross recommends no packages.
-- no debconf information