首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >equivs:解析debian/changelog时发生致命错误

equivs:解析debian/changelog时发生致命错误
EN

Ask Ubuntu用户
提问于 2019-06-30 14:06:32
回答 1查看 956关注 0票数 1

在使用debian/changelog时不涉及equivs-build文件,那么fatal error occurred while parsing debian/changelog错误会是一个错误吗?

以下是详细信息:

代码语言:javascript
复制
$ 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
EN

回答 1

Ask Ubuntu用户

发布于 2019-09-27 01:16:55

您可以使用debian/changelog (来自devscripts包)创建dch --create,并填充用包名、版本和发行版创建的changelog模板。(在以后的包版本中,您可以使用dch -i添加新的changelog条目并更新版本)

另外,由于某种原因,我不得不在运行equivs-build的文件中注释掉'Source:‘行,然后它就可以工作,而不会发生dh_installchangelogs抛出错误。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1155018

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档