1

我正在尝试从源代码构建 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 位的非特权用户下构建。

4

1 回答 1

3

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

debian/control中的有效描述是:

Description: this software does some work
  This is its extended description.
于 2014-07-23T12:57:02.973 回答