debuild抛出`extended-description-is-empty`

时间:2013-10-20 14:53:00

标签: build debian

我正在尝试从源代码构建ddar(https://github.com/basak/ddar)。这些是我发出的命令:

sudo apt-get install devscripts python-protobuf debhelper python-all-dev python-support xmltoman python-setuptools

git clone https://github.com/basak/ddar.git
debuild -i -us -uc -b

我的目标是安装ddar二进制文件,但我无法弄清楚出了什么问题。以下是debuild -i -us -uc -b吐出的最后几行:

   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: Provides field of package ddar: unknown substitution variable ${python:Provides}
   dh_md5sums
   dh_builddeb
dpkg-deb: warning: 'debian/ddar/DEBIAN/control' contains user-defined field 'Python-Version'
dpkg-deb: warning: ignoring 1 warning about the control file(s)

dpkg-deb: building package `ddar' in `../ddar_0.1-1_amd64.deb'.
 dpkg-genchanges -b >../ddar_0.1-1_amd64.changes
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source -i --after-build ddar
dpkg-buildpackage: binary only upload (no source included)
Now running lintian...
W: ddar: new-package-should-close-itp-bug
E: ddar: extended-description-is-empty
Finished running lintian.

第一个问题似乎是E: ddar: extended-description-is-empty,我面临的第二个问题是我不知道如何安装软件包。后者可能是由于构建过程并不完全成功所致。

如何摆脱错误,如何随后安装包?

我正在Ubuntu 13.04 64位上的非特权用户下构建。

1 个答案:

答案 0 :(得分:3)

当我收到错误extended-description-is-empty错误时,它是由 debian / control 文件中的一行描述引起的。描述必须不止一行。除了第一行之外,所有行都必须缩进一些空格,以便它们被视为描述的一部分。

debian / control 中的有效说明如下:

Description: this software does some work
  This is its extended description.