Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
744 views
in Technique[技术] by (71.8m points)

gtk - FAILED: utils/pango-view.1 while compiling gnome-shell

I was trying to build gnome-shell latest using jhbuild: $jhbuild build -n gnome-shell End up with an error as below:

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:

Any solution to fix this error?

question from:https://stackoverflow.com/questions/66046935/failed-utils-pango-view-1-while-compiling-gnome-shell

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I do not know where this error comes from, but you can

  1. Try option 6 "wipe directory and start over"
  2. Choose option 4 "start shell", then
    1. Run the failing command manually with slightly modified options:
      /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. Run exit to exit the shell.
    3. Choose option 1 "Rerun phase build"

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...