如何解决失败:utils/pango-view.1 在编译 gnome-shell 时
我正在尝试使用 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:
解决方法
我不知道这个错误从何而来,但你可以
- 尝试选项 6“擦除目录并重新开始”
- 选择选项 4“start shell”,然后
- 使用稍微修改的选项手动运行失败的命令:
/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
- 运行
exit
退出 shell。 - 选择选项 1“重新运行阶段构建”
- 使用稍微修改的选项手动运行失败的命令:
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。