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: opentelemetry-proto #349361

Open
yshui opened this issue Oct 17, 2024 · 5 comments
Open

Build failure: opentelemetry-proto #349361

yshui opened this issue Oct 17, 2024 · 5 comments
Labels

Comments

@yshui
Copy link
Contributor

yshui commented Oct 17, 2024

opentelemetry-proto needs protobuf<5.0

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Add a 👍 reaction to issues you find important.

@yshui yshui added the 0.kind: build failure A package fails to build label Oct 17, 2024
@Ate329
Copy link
Contributor

Ate329 commented Oct 17, 2024

Same issue when building open-webui.

error: builder for '/nix/store/7v11hlp2qcmj8180xhxf26k92nmaqc9b-python3.12-opentelemetry-proto-1.26.0.drv' failed with exit code 1;
       last 25 log lines:
       > Using pythonImportsCheckPhase
       > Sourcing python-namespaces-hook
       > Sourcing python-catch-conflicts-hook.sh
       > Sourcing pytest-check-hook
       > Using pytestCheckPhase
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/sf1lvr2jk9l42l9z5v1hc2l05gsh8z32-source
       > source root is source/opentelemetry-proto
       > setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/opentelemetry-proto/tests/test_proto.py
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Executing pypaBuildPhase
       > Creating a wheel...
       > * Getting build dependencies for wheel...
       > * Building wheel...
       > Successfully built opentelemetry_proto-1.26.0-py3-none-any.whl
       > Finished creating a wheel...
       > Finished executing pypaBuildPhase
       > Running phase: pythonRuntimeDepsCheckHook
       > Executing pythonRuntimeDepsCheck
       > Checking runtime dependencies for opentelemetry_proto-1.26.0-py3-none-any.whl
       >   - protobuf<5.0,>=3.19 not satisfied by version 5.28.2
       For full logs, run 'nix log /nix/store/7v11hlp2qcmj8180xhxf26k92nmaqc9b-python3.12-opentelemetry-proto-1.26.0.drv'.
error: 1 dependencies of derivation '/nix/store/lp90yd20zs72xq7yvb5gxx66rdgv5z1z-python3.12-opentelemetry-exporter-otlp-proto-grpc-1.26.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4vk7r0crdagckhrp3d2z6gj0nsf632m8-python3.12-chromadb-0.5.11.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xwmqdi4ykpc4d3j0svsgi3c4206qrmwh-open-webui-0.3.32.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mpg24ab5z9iv9w2b0p4l2qrn9gv4mx3d-unit-open-webui.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9r0vsiqxxyqick0vryz1341ca2n17i9r-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fwqypclbv63bdbgrl66ddzhlzb86pdvv-etc.drv' failed to build
nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.4, NixOS, 24.11 (Vicuna), 24.11.20241017.2a3888a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(root): `"nixos, nixpkgs, unstable"`
 - nixpkgs: `/home/ate329/.nix-defexpr/channels/nixpkgs`

@jackwilsdon
Copy link
Contributor

It looks like this has already been fixed on staging: #348738 (comment)

@yshui
Copy link
Contributor Author

yshui commented Oct 17, 2024

fixed on staging

ok, thanks. how do i stop myself from opening issues that are already fixed in staging? what's the best practice? maybe there can be a reminder in the issue template so people like me don't forget?

@devzero
Copy link
Contributor

devzero commented Oct 30, 2024

So, it’s been more than two weeks - what is blocking this moving forward?

@womfoo
Copy link
Member

womfoo commented Oct 30, 2024

@devzero, if you need to something running sooner, you could copy the affected packages from staging and use them as overlays. Here are changes on my local machine to get open-webui running on unstable.

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

Successfully merging a pull request may close this issue.

6 participants