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

Issues with EvaDB dockerfile. #1333

Closed
2 tasks done
kumeagidi opened this issue Nov 2, 2023 · 1 comment · Fixed by alexxx-db/eva#3
Closed
2 tasks done

Issues with EvaDB dockerfile. #1333

kumeagidi opened this issue Nov 2, 2023 · 1 comment · Fixed by alexxx-db/eva#3

Comments

@kumeagidi
Copy link
Contributor

Search before asking

  • I have searched the EvaDB issues and found no similar bug report.

Bug

I plan on submitting a PR to resolve this issue.

There's an issue with the docker build command when attempting to build the evadb container. It seems that the provided docker file doesn’t actually build.

One reason for this is that certain dependencies are missing.

The command used is: docker build .
This command was used within the Dockerfile directory

The relevant console output is:
#9 19.57 Building wheels for collected packages: psutil
#9 19.58 Building wheel for psutil (pyproject.toml): started
#9 19.72 Building wheel for psutil (pyproject.toml): finished with status 'error'
#9 19.72 error: subprocess-exited-with-error
#9 19.72
#9 19.72 × Building wheel for psutil (pyproject.toml) did not run successfully.
#9 19.72 │ exit code: 1
#9 19.72 ╰─> [43 lines of output]
#9 19.72 running bdist_wheel
#9 19.72 running build
#9 19.72 running build_py
#9 19.72 creating build
#9 19.72 creating build/lib.linux-aarch64-cpython-39
#9 19.72 creating build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_pslinux.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_common.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/init.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_pswindows.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_pssunos.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_psaix.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_psbsd.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_compat.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_psosx.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 copying psutil/_psposix.py -> build/lib.linux-aarch64-cpython-39/psutil
#9 19.72 creating build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/runner.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_system.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_process.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/init.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 copying psutil/tests/main.py -> build/lib.linux-aarch64-cpython-39/psutil/tests
#9 19.72 running build_ext
#9 19.72 building 'psutil._psutil_linux' extension
#9 19.72 creating build/temp.linux-aarch64-cpython-39
#9 19.72 creating build/temp.linux-aarch64-cpython-39/psutil
#9 19.72 aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=596 -DPy_LIMITED_API=0x03060000 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -DPSUTIL_LINUX=1 -I/usr/include/python3.9 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-cpython-39/psutil/_psutil_common.o
#9 19.72 psutil could not be installed from sources because gcc is not installed. Try running:
#9 19.72 sudo apt-get install gcc python3-dev
#9 19.72 error: command 'aarch64-linux-gnu-gcc' failed: No such file or directory
#9 19.72 [end of output]
#9 19.72
#9 19.72 note: This error originates from a subprocess, and is likely not a problem with pip.
#9 19.72 ERROR: Failed building wheel for psutil
#9 19.73 Failed to build psutil
#9 19.73 ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects

In addition, the current dockerfile for EvaDB uses CMD ["eva_server"]. This is an invalid command for the current implementation for EvaDB as the name of the function in server.py was renamed.

Environment

  • MacOS Version 12.6.1
  • Python3.9

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
Copy link
Contributor

github-actions bot commented Nov 2, 2023

👋 Hello @kumeagidi, thanks for your interest in EVA DB 🙏 Please visit our 🔮 Tutorials to get started, where you can find quickstart guides for simple tasks like Image Classification all the way to more interesting tasks like Emotion Analysis.

If this is a 🐞 Bug Report, please provide a minimum reproducible example to help us debug it.

If this is a ❓ Question, please provide as much information as possible, including dataset examples and query results.

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.

1 participant