0
我正在学习用以下命令构建Debian软件包:https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackagingdebuild错误:override_dh_auto_install ::没有找到命令
诚如上面的文章,当我运行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 <[email protected]>
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位