Repository navigation
Closed
Labels
0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.
Description
Describe the bug
During the installation of Python3.11 Distorm3 package, I get:
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0
rootdir: /build/source
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376
collected 366 items / 3 errors
==================================== ERRORS ====================================
___________________ ERROR collecting python/test_distorm3.py ___________________
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/runner.py:389: in collect
return list(collector.collect())
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/unittest.py:90: in collect
self.session._fixturemanager.parsefactories(self.newinstance(), self.nodeid)
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/unittest.py:75: in newinstance
return self.obj("runTest")
E TypeError: Test.__init__() takes 1 positional argument but 2 were given
___________________ ERROR collecting python/test_distorm3.py ___________________
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/runner.py:389: in collect
return list(collector.collect())
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/unittest.py:90: in collect
self.session._fixturemanager.parsefactories(self.newinstance(), self.nodeid)
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/unittest.py:75: in newinstance
return self.obj("runTest")
E TypeError: InstBin.__init__() missing 3 required positional arguments: 'mode', 'features', and 'address'
___________________ ERROR collecting python/test_distorm3.py ___________________
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/runner.py:389: in collect
return list(collector.collect())
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/unittest.py:90: in collect
self.session._fixturemanager.parsefactories(self.newinstance(), self.nodeid)
/nix/store/lqiim8h8978ysvnv4gwajxdmgyy3bxxl-python3.11-pytest-8.2.2/lib/python3.11/site-packages/_pytest/unittest.py:75: in newinstance
return self.obj("runTest")
E TypeError: Inst.__init__() missing 3 required positional arguments: 'mode', 'instNo', and 'features'
=========================== short test summary info ============================
ERROR python/test_distorm3.py::Test - TypeError: Test.__init__() takes 1 positional argument but 2 were given
ERROR python/test_distorm3.py::InstBin - TypeError: InstBin.__init__() missing 3 required positional arguments: 'mod...
ERROR python/test_distorm3.py::Inst - TypeError: Inst.__init__() missing 3 required positional arguments: 'mode',...
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 29.05s ==============================
/nix/store/5r0df66ikad3xw06azlqvswcvncll8wa-stdenv-linux/setup: line 1641: pop_var_context: head of shell_variables not a function context
go: downloading github.com/pjbgf/sha1cd v0.3.0
error: builder for '/nix/store/0mcd4xx6605j7fagjwqvafi03q9ni4sl-python3.11-distorm3-3.5.2.drv' failed with exit code 2
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.37, Athena OS, 24.11 (Vicuna), 24.11pre652179.7e7c39ea35c5`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.5`
- channels(root): `"home-manager, nixos, nixpkgs"`
- nixpkgs: `/home/athena/.nix-defexpr/channels/nixpkgs`Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.
Activity