License issue
- Dominant language
- Python
- Stars
- 192
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
```bash
anonym@computername:~/Documents/GitHub/chaosplus$ pip install git+https://github.com/kivy/pyobjus.git
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/kivy/pyobjus.git
Cloning https://github.com/kivy/pyobjus.git to /tmp/pip-req-build-y7wejpa9
Running command git clone --filter=blob:none --quiet https://github.com/kivy/pyobjus.git /tmp/pip-req-build-y7wejpa9
Resolved https://github.com/kivy/pyobjus.git to commit 0c229e75248c14652b6764db5730eeb30bab95ed
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyobjus
Building wheel for pyobjus (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyobjus (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
/tmp/pip-build-env-eeb6up9b/overlay/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
Pyobjus platform is linux
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314/pyobjus
copying pyobjus/protocols.py -> build/lib.linux-x86_64-cpython-314/pyobjus
copying pyobjus/objc_py_types.py -> build/lib.linux-x86_64-cpython-314/pyobjus
copying pyobjus/dylib_manager.py -> build/lib.linux-x86_64-cpython-314/pyobjus
copying pyobjus/__init__.py -> build/lib.linux-x86_64-cpython-314/pyobjus
creating build/lib.linux-x86_64-cpython-314/pyobjus/consts
copying pyobjus/consts/corebluetooth.py -> build/lib.linux-x86_64-cpython-314/pyobjus/consts
copying pyobjus/consts/__init__.py -> build/lib.linux-x86_64-cpython-314/pyobjus/consts
running build_ext
warning: pyobjus/pyobjus_conversions.pxi:118:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: pyobjus/pyobjus.pyx:444:12: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: pyobjus/pyobjus.pyx:477:16: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
Compiling pyobjus/pyobjus.pyx because it changed.
[1/1] Cythonizing pyobjus/pyobjus.pyx
building 'pyobjus' extension
creating build/temp.linux-x86_64-cpython-314/pyobjus
gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -I/usr/include/python3.14 -c pyobjus/pyobjus.c -o build/temp.linux-x86_64-cpython-314/pyobjus/pyobjus.o
pyobjus/pyobjus.c:1152:10: fatal error: CoreFoundation/CoreFoundation.h: Datei oder Verzeichnis nicht gefunden
1152 | #include "CoreFoundation/CoreFoundation.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/lib64/ccache/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyobjus
Failed to build pyobjus
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pyobjus
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Linux installation with pip and inspect pyobjus/pyobjus.pyx, pyobjus/pyobjus_conversions.pxi, and the generated pyobjus/pyobjus.c around the CoreFoundation include. Determine why the Linux build requires that header, then verify that pip install succeeds on Linux without the missing-header failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c, python
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100