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 failure: python3Packages.chromadb #312068

Closed
hacker1024 opened this issue May 16, 2024 · 2 comments · Fixed by #313665
Closed

Build failure: python3Packages.chromadb #312068

hacker1024 opened this issue May 16, 2024 · 2 comments · Fixed by #313665

Comments

@hacker1024
Copy link
Member

hacker1024 commented May 16, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python3Packages.chromadb on aarch64-linux (tested on Oracle Cloud, EC2, and hydra.nixos.org)

Build log

https://hydra.nixos.org/build/259926073/nixlog/1/tail

Executing pythonImportsCheckPhase
Check whether the following modules can be imported: chromadb
Error in cpuinfo: failed to parse the list of possible processors in /sys/devices/system/cpu/possible
Error in cpuinfo: failed to parse the list of present processors in /sys/devices/system/cpu/present
Error in cpuinfo: failed to parse both lists of possible and present processors
terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException'
  what():  /build/source/include/onnxruntime/core/common/logging/logging.h:294 static const onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger() Attempt to use DefaultLogger but none has been registered.

/nix/store/gxnz43gxk3bmkpcirs1h42paa7pvrfa4-python-imports-check-hook.sh/nix-support/setup-hook: line 10:  1127 Aborted                 (core dumped) /nix/store/4x92cw7ahfrydbkvy2046y1ajh5h96wv-python3-3.12.3/bin/python3.12 -c 'import os; import importlib; list(map(lambda mod: importlib.import_module(mod), os.environ["pythonImportsCheck"].split()))'

Additional context

First reported here.

Notify maintainers

@fabaff

Add a 👍 reaction to issues you find important.

@hacker1024
Copy link
Member Author

hacker1024 commented May 16, 2024

Looks like it hits this, and crashes because logging hasn't been set up: microsoft/onnxruntime#10038

@fabaff
Copy link
Member

fabaff commented May 17, 2024

I don't have unrestricted access to an aarch64 build system other than the community builder, thus making chromadb work on other platforms than x86_64 will depend on support from a person which can get their hand on an aarch64 system.

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

Successfully merging a pull request may close this issue.

2 participants