无法在 Arch Linux 中安装 Foxit Reader(`gstreamer0.10` 错误)

无法在 Arch Linux 中安装 Foxit Reader(`gstreamer0.10` 错误)

我有 Arch Linux,但无法从 AUR 安装 Foxit Reader。构建时失败gstreamer0.10。错误的根源是它找不到名为 的 Python 包giscanner._giscanner

以下是我认为与错误相关的行:

/usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here
  153 | struct _GStaticRecMutex
      |        ^~~~~~~~~~~~~~~~
  CCLD     libgstreamer-0.10.la
  GEN      Gst-0.10.gir
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 99, in <module>
    from giscanner.scannermain import scanner_main
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
    from giscanner.ast import Include, Namespace
  File "/usr/lib/gobject-introspection/giscanner/ast.py", line 29, in <module>
    from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
  File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 33, in <module>
    from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
make[4]: *** [Makefile:2033: Gst-0.10.gir] Error 1
make[4]: Leaving directory '/home/tomas/.cache/yay/gstreamer0.10/src/gstreamer-0.10.36/gst'
make[3]: *** [Makefile:1571: all-recursive] Error 1
make[3]: Leaving directory '/home/tomas/.cache/yay/gstreamer0.10/src/gstreamer-0.10.36/gst'
make[2]: *** [Makefile:908: all] Error 2
make[2]: Leaving directory '/home/tomas/.cache/yay/gstreamer0.10/src/gstreamer-0.10.36/gst'
make[1]: *** [Makefile:750: all-recursive] Error 1
make[1]: Leaving directory '/home/tomas/.cache/yay/gstreamer0.10/src/gstreamer-0.10.36'
make: *** [Makefile:654: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gstreamer0.10

我不确定这是否有帮助,但我在应该安装的地方阅读glib,但这没有改变任何东西。

PS:我发现我可以通过福昕阅读器安装程序手动安装它(并且它有效),但我尝试通过安装,yay以便我可以通过那里保持更新。

答案1

的依赖关系存在问题gstreamer0.10

更新python到版本 3.8(从 3.7)解决了这个问题。

相关内容