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'"
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: meson
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
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/mesonmain.py", line 122, in run
    return options.run_func(options)
  File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 1002, in run
    return th.doit()
  File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 753, in doit
    self.run_tests(tests)
  File "/usr/lib/python3.7/site-packages/mesonbuild/mtest.py", line 888, in run_tests
    self.build_data = build.load(os.getcwd())
  File "/usr/lib/python3.7/site-packages/mesonbuild/build.py", 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/coredata.py'>
FAILED: meson-test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.

Version-Release number of selected component (if applicable):
ninja-build-1.9.0-1.module_f31+3361+bdb2aa23.x86_64
meson-0.50.0-1.module_f31+3587+9f02b378.noarch
python3-3.7.2-7.fc30.x86_64

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.