meson: Meson install error: Can't get attribute 'OctalInt'

Observed the following error on meson install of gstreamer :

File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 330, in do_install
    d = pickle.load(ifile)
AttributeError: Can't get attribute 'OctalInt' on <module 'mesonbuild.coredata' from '/usr/lib/python3/dist-packages/mesonbuild/coredata.py'>

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (14 by maintainers)

Most upvoted comments

If you got it from pip, why is it using /usr/lib/python3/dist-packages/mesonbuild/minstall.py

In order to use sudo ninja install, meson must be installed as root. Your installation attempt is incorrectly picking up the wrong (outdated!) version of meson.