debuild错误:找不到override_dh_auto_install :: command

时间:2017-05-07 08:51:38

标签: ubuntu debian packaging

我正在学习如下构建debian软件包:https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackaging

正如上文所述,当我运行 debuild -us -uc 时,它失败并出现以下错误:

# debuild -us -uc
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package hithere
dpkg-buildpackage: source version 1.0-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by XXXXXXX XXXXX <xxxxxxxxxxxxx@nnnn.com>
 dpkg-source --before-build hithere-1.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
debian/rules: line 1: fg: no job control
   dh_testdir
   dh_auto_clean
    make -j1 clean
rm -f hithere hithere.o
   dh_clean
debian/rules: line 4: override_dh_auto_install:: command not found
debian/rules: line 5: syntax error near unexpected token `('
debian/rules: line 5: ` $(MAKE) DESTDIR=$$(pwd)/debian/hithere prefix=/usr install'
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed

它说 override_dh_auto_install:: command not found 。我很少迷失在这里搜索谷歌修复上述错误但尚未成功。任何指针都会有很大的帮助。

BTW,我在Ubuntu 16.04 64位上运行此程序

0 个答案:

没有答案