【问题标题】:FAILED: utils/pango-view.1 while compiling gnome-shell失败:utils/pango-view.1 在编译 gnome-shell 时
【发布时间】:2021-02-04 13:46:50
【问题描述】:

我正在尝试使用 jhbuild 构建最新的 gnome-shell: $jhbuild build -n gnome-shell 最终出现如下错误:

I: Install complete: 207 files copied
*** Building pango *** [24/92]
ninja
[108/127] Generating pango-view.1 with a custom command
FAILED: utils/pango-view.1
/usr/bin/help2man --no-info --section=1 --help-option=--help-all '--name="Pango text viewer"' --output=utils/pango-view.1 /home/gta/.cache/jhbuild/build/pango/utils/pango-view
help2man: can't get `--help-all' info from /home/gta/.cache/jhbuild/build/pango/utils/pango-view
Try `--no-discard-stderr' if option outputs to stderr
[117/127] Generating PangoFc-1.0.gir with a custom command
ninja: build stopped: subcommand failed.
*** Error during phase build of pango: ########## Error running ninja   *** [24/92]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
choice:

有解决这个错误的办法吗?

【问题讨论】:

    标签: gtk pango


    【解决方案1】:

    我不知道这个错误是从哪里来的,但是你可以

    1. 尝试选项 6“擦除目录并重新开始”
    2. 选择选项 4“启动 shell”,然后
      1. 使用稍微修改的选项手动运行失败的命令:
        /usr/bin/help2man --no-info --section=1 --help-option=--help '--name="Pango text viewer"' --output=utils/pango-view.1 /home/gta/.cache/jhbuild/build/pango/utils/pango-view
      2. 运行exit 退出shell。
      3. 选择选项 1“重新运行阶段构建”

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-10
      • 1970-01-01
      • 1970-01-01
      • 2015-02-04
      • 2021-10-07
      • 2015-09-13
      相关资源
      最近更新 更多