在使用debian/changelog时不涉及equivs-build文件,那么fatal error occurred while parsing debian/changelog错误会是一个错误吗?
以下是详细信息:
$ cat ttf-ubuntu-font-family
Package: ttf-ubuntu-font-family
Architecture: all
Version: 91:0.83-2
Multi-Arch: foreign
Priority: optional
Section: universe/oldlibs
Source: fonts-ubuntu (0.83-2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Fonts Task Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40
Depends: fonts-ubuntu
Homepage: https://design.ubuntu.com/font/
Description: sans-serif font set from Ubuntu (transitional package) (equ-dummy)
Task: kubuntu-desktop, kubuntu-full, lubuntu-live-share, core-share, lubuntu-gtk-core, lubuntu-desktop-share, lubuntu-core, lubuntu-live, lubuntu-qt-core, lubuntu-live-qt, lubuntu-live-gtk
$ equivs-build ttf-ubuntu-font-family
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_installchangelogs: warning: debian/changelog(l2): found end of file where expected first heading
dh_installchangelogs: error: fatal error occurred while parsing debian/changelog
debian/rules:20: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 255
Error in the build process: exit status 2
$ lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04
$ apt-cache policy equivs
equivs:
Installed: 2.1.0
Candidate: 2.1.0
Version table:
*** 2.1.0 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status发布于 2019-09-27 01:16:55
您可以使用debian/changelog (来自devscripts包)创建dch --create,并填充用包名、版本和发行版创建的changelog模板。(在以后的包版本中,您可以使用dch -i添加新的changelog条目并更新版本)
另外,由于某种原因,我不得不在运行equivs-build的文件中注释掉'Source:‘行,然后它就可以工作,而不会发生dh_installchangelogs抛出错误。
https://askubuntu.com/questions/1155018
复制相似问题