Launchpad builderror-找不到 Debian/Debhelper/Sequence/python3.pm

Launchpad builderror-找不到 Debian/Debhelper/Sequence/python3.pm

尝试使用 Launchpad 配方打包源文件时出现以下错误。但是,我可以在我的机器上成功构建包(运行 18.04)

dh: error: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm

以下是完整内容构建日志,我的debian/control文件如下。

Source: up-clock
Section: python
Priority: extra
Build-Depends: debhelper (>= 10),
 python3,
 python3-distutils-extra
Maintainer: Archisman Panigrahi <[email protected]>
Standards-Version: 4.1.4
X-Python-Version: >= 3.5

Package: up-clock
Architecture: all
Depends: ${misc:Depends},
 ${python3:Depends},
 gir1.2-glib-2.0,
 gir1.2-gtk-3.0,
 gir1.2-webkit2-4.0
Description: A beautiful Clock, inspired by Ubuntu Touch homescreen, already on your desktop.
 Inspired by Ubuntu Touch homescreen, this clock is able to show you the
 time in a way you never seen before. The "clouds" changes colors and
 sizes automaticaly awhile showing you the time.

如何修复此问题?我已添加python3-distutils-extraBuild-Depends

答案1

在文件中添加dh-pythonBuild-Depends debian/control

完成此操作后,Launchpad 即可构建,不会抛出任何错误。

答案2

修复了运行中的问题:

apt install dh-python

相关内容