。。为什么它会破坏我的打包构建?
我正在尝试为VLC的最新git版本构建.deb包。
也就是说,我从我的发行版(ubuntu15.10) VLC (2.2.1)源包中获取了"/debian“目录,并将其复制/应用到VLC的最新git压缩包中(我可以毫无问题地编译它)。
当我为git版本运行"debuild -b -uc -us“(适用于VLC 2.2.1)时,我得到:
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包很麻烦,而且信息有点稀缺。
你知道这样的错误消息可能来自哪里以及为什么吗?
发布于 2019-02-04 06:25:25
我也有类似的问题,除了这个问题,我在谷歌上找不到任何东西。
我删除了我使用的Debian文件中的两个文件,autoreconf.after和autoreconf.before。
https://stackoverflow.com/questions/39230705
复制相似问题