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

No package named deps_for_opam_dune_lint found #971

Open
talex5 opened this issue Sep 13, 2024 · 0 comments
Open

No package named deps_for_opam_dune_lint found #971

talex5 opened this issue Sep 13, 2024 · 0 comments
Labels
type/bug Something isn't working

Comments

@talex5
Copy link
Contributor

talex5 commented Sep 13, 2024

Context

The (experimental) (lint-opam) step sometimes fails with e.g.:

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y deps_for_opam_dune_lint.opam $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9233 kB in 1s (6258 kB/s)
- Reading package lists...
- 
[ERROR] No package named deps_for_opam_dune_lint found.

Step(s) to reproduce

eio-trace always seems to get this error (see https://ocaml.ci.dev/github/ocaml-multicore/eio-trace). eio itself doesn't.

Expected behaviour

deps_for_opam_dune_lint appears to be a fake package only used during analysis. So presumably it should not appear in builds.

@talex5 talex5 added the type/bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant