当我推送到我的 PPA 时,出现以下构建失败:
dpkg-buildpackage
-----------------
dpkg-buildpackage: info: source package python3-random-quote
dpkg-buildpackage: info: source version 0.0.2
dpkg-buildpackage: info: source distribution bionic
dpkg-source --before-build python3-random-quote-0.0.2
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
debian/rules build
fakeroot debian/rules binary
dpkg-genbuildinfo --build=binary
dpkg-genbuildinfo: error: binary build with no binary artifacts found; .buildinfo is meaningless
dpkg-buildpackage: error: dpkg-genbuildinfo --build=binary subprocess returned exit status 25
--------------------------------------------------------------------------------
Build finished at 20190805-2132
Finished
--------
E: Build failure (dpkg-buildpackage died)
我不确定我做错了什么,但这是我的控制文件:
Source: python3-random-quote
Maintainer: Thomas Stringer <[email protected]>
Section: devel
Priority: optional
Standards-Version: 3.9.6
Package: python3-random-quote
Architecture: all
Description: Get a random quote with Python.
Depends: python3-requests
这是一项练习,旨在弄清楚如何在启动板 PPA 中构建和发布 Python 包。但不确定它希望我如何处理“未找到二进制工件”问题。
有什么想法吗?提前致谢!