【问题标题】:Why is dh_autoreconf_clean patching ltmain.sh?为什么 dh_autoreconf_clean 修补 ltmain.sh?
【发布时间】:2016-08-30 14:48:01
【问题描述】:

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

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

也就是说,我从我的发行版(ubuntu 15.10)源包中获取 VLC(2.2.1)的“/debian”目录,并将其复制/应用到 VLC 的最新 git pull(我能够编译没有问题)。

当我为 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 包很麻烦,而且信息有点少。
知道这样的错误消息可能来自哪里以及为什么?

【问题讨论】:

    标签: build debian vlc packaging lintian


    【解决方案1】:

    我遇到了类似的问题,除了这个问题,我在 Google 上找不到任何东西。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-02-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-01
      • 1970-01-01
      • 2019-10-23
      相关资源
      最近更新 更多