Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1689191 - meson fails with "AttributeError: Can't get attribute 'ConfigData'"
Summary: meson fails with "AttributeError: Can't get attribute 'ConfigData'"
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: meson
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-15 11:57 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2019-03-15 12:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2019-03-15 11:57:45 UTC
Description of problem:
$ ninja -C build-rawhide-32 test
ninja: Entering directory `build-rawhide-32'
[1/2] Running all tests.
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/mesonbuild/", line 122, in run
    return options.run_func(options)
  File "/usr/lib/python3.7/site-packages/mesonbuild/", line 1002, in run
    return th.doit()
  File "/usr/lib/python3.7/site-packages/mesonbuild/", line 753, in doit
  File "/usr/lib/python3.7/site-packages/mesonbuild/", line 888, in run_tests
    self.build_data = build.load(os.getcwd())
  File "/usr/lib/python3.7/site-packages/mesonbuild/", line 2307, in load
    obj = pickle.load(f)
AttributeError: Can't get attribute 'ConfigData' on <module 'mesonbuild.coredata' from '/usr/lib/python3.7/site-packages/mesonbuild/'>
FAILED: meson-test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.

Version-Release number of selected component (if applicable):

How reproducible:
Repeatable for this build directory, but otherwise it's the first time I encounter that.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-03-15 12:01:17 UTC
When I recreate the build directory, the error does not reoccur. So it looks like incompatibility between python versions, standard problem with pickle.

Note You need to log in before you can comment on or make changes to this bug.