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 bootstrap failure #132

Closed
llabordehpe opened this issue Dec 19, 2022 · 0 comments · Fixed by #133
Closed

Build bootstrap failure #132

llabordehpe opened this issue Dec 19, 2022 · 0 comments · Fixed by #133

Comments

@llabordehpe
Copy link
Contributor

Command "docker-compose build bootstrap" fails at step "Step 3/13 : RUN pip install --no-cache-dir sztpd==0.0.11" with:
Building wheels for collected packages: sztpd, pysqlite3, PyXB
Building wheel for sztpd (setup.py): started
Building wheel for sztpd (setup.py): finished with status 'done'
Created wheel for sztpd: filename=sztpd-0.0.11-py3-none-any.whl size=185835 sha256=ab578f2ae3765839e3e2a47911ee7ebcedce7236cee7a2be8d32e293af8e3631
Stored in directory: /tmp/pip-ephem-wheel-cache-cy2k2p_a/wheels/2c/a1/19/34f626cbfb76d0b61e1ff1a40501d2a69b262ef41125ca8397
Building wheel for pysqlite3 (setup.py): started
Building wheel for pysqlite3 (setup.py): finished with status 'error'
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/pysqlite3
copying pysqlite3/init.py -> build/lib.linux-x86_64-cpython-310/pysqlite3
copying pysqlite3/dbapi2.py -> build/lib.linux-x86_64-cpython-310/pysqlite3
running build_ext
Builds a C extension linking against libsqlite3 library
building 'pysqlite3._sqlite3' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMODULE_NAME="pysqlite3.dbapi2" -I/usr/include -I/usr/local/include/python3.10 -c src/blob.c -o build/temp.linux-x86_64-cpython-310/src/blob.o
error: command 'gcc' failed: No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pysqlite3

Adding gcc to the list of installed packages seems to fix the problem.

llabordehpe added a commit to llabordehpe/sztp that referenced this issue Dec 19, 2022
Fix for issue opiproject#132

Signed-off-by: Louis Laborde <louis.laborde@hpe.com>

Signed-off-by: Louis Laborde HPE <louis.laborde@hpe.com>
seroyer pushed a commit that referenced this issue Dec 19, 2022
Fix for issue #132

Signed-off-by: Louis Laborde <louis.laborde@hpe.com>

Signed-off-by: Louis Laborde HPE <louis.laborde@hpe.com>
@glimchb glimchb linked a pull request Dec 19, 2022 that will close this issue
@glimchb glimchb closed this as completed Dec 19, 2022
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

Successfully merging a pull request may close this issue.

2 participants