Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build from source broken on Alpine 3.21 #1

Open
dmarkey opened this issue Feb 18, 2025 · 1 comment
Open

Build from source broken on Alpine 3.21 #1

dmarkey opened this issue Feb 18, 2025 · 1 comment

Comments

@dmarkey
Copy link
Contributor

dmarkey commented Feb 18, 2025

Probably some musl problem.. seems like the include paths are wrong

16.45   × Building wheel for libpypostal (pyproject.toml) did not run successfully.
16.45   │ exit code: 1
16.45   ╰─> [25 lines of output]
16.45       running bdist_wheel
16.45       running build
16.45       running build_py
16.45       creating build/lib.linux-x86_64-cpython-312/libpypostal
16.45       copying libpypostal/data_utils.py -> build/lib.linux-x86_64-cpython-312/libpypostal
16.45       copying libpypostal/parser.py -> build/lib.linux-x86_64-cpython-312/libpypostal
16.45       copying libpypostal/__init__.py -> build/lib.linux-x86_64-cpython-312/libpypostal
16.45       copying libpypostal/version.py -> build/lib.linux-x86_64-cpython-312/libpypostal
16.45       running egg_info
16.45       writing libpypostal.egg-info/PKG-INFO
16.45       writing dependency_links to libpypostal.egg-info/dependency_links.txt
16.45       writing top-level names to libpypostal.egg-info/top_level.txt
16.45       reading manifest file 'libpypostal.egg-info/SOURCES.txt'
16.45       adding license file 'LICENSE'
16.45       writing manifest file 'libpypostal.egg-info/SOURCES.txt'
16.45       copying libpypostal/libpostal_download_data -> build/lib.linux-x86_64-cpython-312/libpypostal
16.45       running build_ext
16.45       building 'libpypostal._parser' extension
16.45       creating build/temp.linux-x86_64-cpython-312/src
16.45       gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include -Isrc/ -I/venv/include -I/usr/include/python3.12 -c src/pyparser.c -o build/temp.linux-x86_64-cpython-312/src/pyparser.o -std=c99
16.45       src/pyparser.c:4:10: fatal error: pyutils.h: No such file or directory
16.45           4 | #include "pyutils.h"
16.45             |          ^~~~~~~~~~~
16.45       compilation terminated.
16.45       error: command '/usr/bin/gcc' failed with exit code 1
16.45       [end of output]
16.45   
16.45   note: This error originates from a subprocess, and is likely not a problem with pip.
16.45   ERROR: Failed building wheel for libpypostal
16.46 Failed to build libpypostal
16.68 
16.68 [notice] A new release of pip is available: 24.3.1 -> 25.0.1
16.68 [notice] To update, run: python3 -m pip install --upgrade pip
16.68 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (libpypostal)
------
@dmarkey
Copy link
Contributor Author

dmarkey commented Feb 18, 2025

Seems to work fine installing from the release zip https://github.com/gmweaver/libpypostal/archive/refs/tags/v0.0.6.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant