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

Image build failing: opensearch-index-build-logs #622

Open
scottwittenburg opened this issue Sep 14, 2023 · 1 comment
Open

Image build failing: opensearch-index-build-logs #622

scottwittenburg opened this issue Sep 14, 2023 · 1 comment

Comments

@scottwittenburg
Copy link
Collaborator

See here for the whole build log, or see below for the specific error.

I don't see any issue open for this on the pyjson5 repo, but maybe it's really new. In general, the solution seems to be to install g++, but I'm sort of surprised any of these image builds have been working without it. Or is this the first time a wheel needed built? 🤷

Error details

Here's the likely useful information from the log of that failed build:

19 207.1   Building wheel for pyjson5 (pyproject.toml): started
#19 234.6   Building wheel for pyjson5 (pyproject.toml): finished with status 'error'
#19 234.7   error: subprocess-exited-with-error
#19 234.7   
#19 234.7   × Building wheel for pyjson5 (pyproject.toml) did not run successfully.
#19 234.7   │ exit code: 1
#19 234.7   ╰─> [27 lines of output]
#19 234.7       running bdist_wheel
#19 234.7       running build
#19 234.7       running build_py
#19 234.7       creating build
#19 234.7       creating build/lib.linux-aarch64-cpython-311
#19 234.7       creating build/lib.linux-aarch64-cpython-311/pyjson5
#19 234.7       copying src/pyjson5/__init__.py -> build/lib.linux-aarch64-cpython-311/pyjson5
#19 234.7       running egg_info
#19 234.7       writing src/pyjson5.egg-info/PKG-INFO
#19 234.7       writing dependency_links to src/pyjson5.egg-info/dependency_links.txt
#19 234.7       writing top-level names to src/pyjson5.egg-info/top_level.txt
#19 234.7       reading manifest file 'src/pyjson5.egg-info/SOURCES.txt'
#19 234.7       reading manifest template 'MANIFEST.in'
#19 234.7       warning: no files found matching 'requires.txt'
#19 234.7       adding license file 'LICENSE'
#19 234.7       writing manifest file 'src/pyjson5.egg-info/SOURCES.txt'
#19 234.7       copying src/pyjson5/__init__.pyi -> build/lib.linux-aarch64-cpython-311/pyjson5
#19 234.7       copying src/pyjson5/py.typed -> build/lib.linux-aarch64-cpython-311/pyjson5
#19 234.7       running build_ext
#19 234.7       Compiling pyjson5.pyx because it changed.
#19 234.7       [1/1] Cythonizing pyjson5.pyx
#19 234.7       building 'pyjson5.pyjson5' extension
#19 234.7       creating build/temp.linux-aarch64-cpython-311
#19 234.7       gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Isrc -I/usr/local/include/python3.11 -c pyjson5.cpp -o build/temp.linux-aarch64-cpython-311/pyjson5.o -std=c++11 -O3 -fPIC -ggdb1 -pipe -fomit-frame-pointer -fstack-protector-strong
#19 234.7       gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
#19 234.7       compilation terminated.
#19 234.7       error: command '/usr/bin/gcc' failed with exit code 1
#19 234.7       [end of output]
#19 234.7   
#19 234.7   note: This error originates from a subprocess, and is likely not a problem with pip.
#19 234.7   ERROR: Failed building wheel for pyjson5
#19 234.7 Successfully built psycopg2
#19 234.7 Failed to build pyjson5
#19 234.7 ERROR: Could not build wheels for pyjson5, which is required to install pyproject.toml-based projects
#19 ERROR: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
@Kijewski
Copy link

I'm the creator of pyjson5, and just uploaded the missing pre-compiled wheels for aarch64. Could you please try it again?

There was never any demand for this architecture before to my knowledge. The cross-compiling takes ages, and I was just being lazy. :)

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

2 participants