首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么dh_autoreconf_clean要给ltmain.sh打补丁?

为什么dh_autoreconf_clean要给ltmain.sh打补丁?
EN

Stack Overflow用户
提问于 2016-08-30 22:48:01
回答 1查看 168关注 0票数 2

。。为什么它会破坏我的打包构建?

我正在尝试为VLC的最新git版本构建.deb包。

也就是说,我从我的发行版(ubuntu15.10) VLC (2.2.1)源包中获取了"/debian“目录,并将其复制/应用到VLC的最新git压缩包中(我可以毫无问题地编译它)。

当我为git版本运行"debuild -b -uc -us“(适用于VLC 2.2.1)时,我得到:

代码语言:javascript
复制
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --parallel --with autoreconf
dh_autoreconf_clean
patching file ./autotools/ltmain.sh
Hunk #1 FAILED at 5800.
Hunk #2 FAILED at 6168.
2 out of 2 hunks FAILED -- saving rejects to file ./autotools /ltmain.sh.rej
dh_autoreconf_clean: patch -R -f --no-backup-if-mismatch -i /usr/share/dh-autoreconf/ltmain-as-needed.diff ./autotools/ltmain.sh  
returned exit code 1
debian/rules:246: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1374:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

构建debian包很麻烦,而且信息有点稀缺。

你知道这样的错误消息可能来自哪里以及为什么吗?

EN

回答 1

Stack Overflow用户

发布于 2019-02-04 06:25:25

我也有类似的问题,除了这个问题,我在谷歌上找不到任何东西。

我删除了我使用的Debian文件中的两个文件,autoreconf.afterautoreconf.before

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

https://stackoverflow.com/questions/39230705

复制
相关文章

相似问题

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