-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
uv pip install evdev
Resolved 1 package in 2ms
× Failed to build evdev==1.9.2
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta.build_wheel failed (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
copying src/evdev/events.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/ecodes_runtime.py ->
build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/__init__.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/genecodes_py.py ->
build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/ecodes.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/uinput.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/eventio.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/ff.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/evtest.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/eventio_async.py ->
build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/device.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/util.py -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/genecodes_c.py ->
build/lib.linux-x86_64-cpython-312/evdev
running egg_info
writing src/evdev.egg-info/PKG-INFO
writing dependency_links to src/evdev.egg-info/dependency_links.txt
writing top-level names to src/evdev.egg-info/top_level.txt
reading manifest file 'src/evdev.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/evdev.egg-info/SOURCES.txt'
copying src/evdev/input.c -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/py.typed -> build/lib.linux-x86_64-cpython-312/evdev
copying src/evdev/uinput.c -> build/lib.linux-x86_64-cpython-312/evdev
running build_ext
ecodes.c already exists ... skipping build_ecodes
building 'evdev._input' extension
clang -fsanitize=signed-integer-overflow -fsanitize=undefined
-ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare
-Wno-unused-parameter -Wno-unused-variable -Wshadow
-fPIC -I/home/ipm/.cache/uv/builds-v0/.tmpsKR5TB/include
-I/home/ipm/.local/share/uv/python/cpython-3.12.10-linux-x86_64-gnu/include/python3.12
-c src/evdev/input.c -o
build/temp.linux-x86_64-cpython-312/src/evdev/input.o -std=c99
-Wno-error=declaration-after-statement
[stderr]
/home/ipm/.cache/uv/builds-v0/.tmpsKR5TB/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82:
SetuptoolsDeprecationWarning: `project.license` as a TOML table is
deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for
`project.license`. You can also use `project.license-files`. (Both
options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove
deprecated calls
or your builds will no longer be supported.
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
/home/ipm/.cache/uv/builds-v0/.tmpsKR5TB/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:61:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a
SPDX license expression:
License :: OSI Approved :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
dist._finalize_license_expression()
/home/ipm/.cache/uv/builds-v0/.tmpsKR5TB/lib/python3.12/site-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a
SPDX license expression:
License :: OSI Approved :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
src/evdev/input.c:539:65: error: missing field 'ml_doc' initializer
[-Werror,-Wmissing-field-initializers]
{ "ioctl_EVIOCGREP", ioctl_EVIOCGREP, METH_VARARGS},
^
src/evdev/input.c:540:65: error: missing field 'ml_doc' initializer
[-Werror,-Wmissing-field-initializers]
{ "ioctl_EVIOCSREP", ioctl_EVIOCSREP, METH_VARARGS},
^
src/evdev/input.c:541:65: error: missing field 'ml_doc' initializer
[-Werror,-Wmissing-field-initializers]
{ "ioctl_EVIOCGVERSION", ioctl_EVIOCGVERSION, METH_VARARGS},
^
src/evdev/input.c:542:65: error: missing field 'ml_doc' initializer
[-Werror,-Wmissing-field-initializers]
{ "ioctl_EVIOCGRAB", ioctl_EVIOCGRAB, METH_VARARGS},
^
4 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
hint: This usually indicates a problem with the package or the build
environment.
frederikaalund, nekomeowww and MilkClouds
Metadata
Metadata
Assignees
Labels
No labels