error on debian: "TypeError: Can't instantiate abstract class GnuDynamicLinker with abstract method id"
See original GitHub issueI use debian:
istributor ID: Debian
Description: Debian GNU/Linux bullseye/sid
Release: testing
Codename: bullseye
with python 3.9
I installed meson with pip3 install meson
and when running meson build --reconfig
I get:
root@guri:~/libcamera# meson build --reconfig
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 140, in run
return options.run_func(options)
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/msetup.py", line 253, in run
app.generate()
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/msetup.py", line 154, in generate
env = environment.Environment(self.source_dir, self.build_dir, self.options)
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/environment.py", line 545, in __init__
self.coredata = coredata.load(self.get_build_dir()) # type: coredata.CoreData
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/coredata.py", line 1008, in load
obj = pickle.load(f)
TypeError: Can't instantiate abstract class GnuDynamicLinker with abstract method id
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
python - TypeError: Can't instantiate abstract class with ...
I cannot speak to your implementation here, but generally speaking, you must implement abstract methods of any base class in a subclass that ......
Read more >How to Fix Python Error 'Can't Instantiate Abstract Class'
Here's the fix for can't instantiate abstract class error. ... The class must be abstract if there is any abstract method in a...
Read more >Can We Instantiate an Abstract Class in Java?
Abstract class, we have heard that abstract class are classes which can have abstract methods and it can't be instantiated.
Read more >python - TypeError: Can't instantiate abstract class Cosine ...
[Pesan Error.png](https://storage.googleapis.com/kotakode-prod-public/images/5527b524-81f0-434a-8f28-09fe5fe222e0-Pesan-Error.png) * Ekspektasinya ...
Read more >Cannot instantiate abstract class
Cannot instantiate abstract class hi am geting above error in this line. Result result = new Result(); result.setId(newProperty.getId().
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, I just upgraded the distro I use (Mageia) and am getting the same problem in trying to recompile slurp, swayidle, wlroots, among others.
Doing a
meson --wipe build
allows them to be built.Thanks, wiping seems to work indeed. So it seems like some incompatibility between old/new Meson versions, as I hadn’t been building the affected modules for months (via JHBuild).
I don’t have more exact steps to reproduce than ‘try
jhbuild build SomeModule
’ though, I’m afraid. But perhaps the backtrace and the fact it seems to trigger when trying to regenerate build files from months ago, and fails onpickle.load
, might hint at the cause.