Meson package broken: AttributeError: module 'mesonbuild.mesonmain' has no attribute 'main'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
meson (Ubuntu) |
Invalid
|
Undecided
|
Roberto Leinardi |
Bug Description
It seems that the meson package is broken on 18.10 beta: if you install it an then try to run it, you get this error:
$ meson -v
Traceback (most recent call last):
File "/usr/bin/meson", line 29, in <module>
sys.
AttributeError: module 'mesonbuild.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: meson 0.47.2-1ubuntu2
ProcVersionSign
Uname: Linux 4.18.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 30 12:03:02 2018
InstallationDate: Installed on 2018-09-28 (1 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180927)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: meson
UpgradeStatus: No upgrade log present (probably fresh install)
Never mind, the problem was having meson installed in my local user also with pip: after removing the pip meson and reinstalling the repository meson it worked.
This can be closed.