-
Notifications
You must be signed in to change notification settings - Fork 359
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
opam install should show a hint when installing post dependencies #6109
Comments
something weird happens in your logs before this command is ran:
I bet this is the reason why. Do you know where does that come from? |
Here's the script: PACKAGES=`opam list -s --color=never --installable --depends-on cppo,cppo_ocamlbuild`
echo "Dependants:" $PACKAGES
for PACKAGE in $PACKAGES
do
echo $SKIP_BUILD | tr ' ' '\n' | grep ^$PACKAGE$ > /dev/null &&
echo Skip $PACKAGE && continue
OPAMWITHTEST=true
echo $SKIP_TEST | tr ' ' '\n' | grep ^$PACKAGE$ > /dev/null &&
OPAMWITHTEST=false
([ $OPAMWITHTEST == false ] &&
echo ::group::Build $PACKAGE) ||
echo ::group::Build and test $PACKAGE
DEPS_FAILED=false
(opam depext $PACKAGE &&
opam install --deps-only -t $PACKAGE) || DEPS_FAILED=true
[ $DEPS_FAILED == false ] && opam install $PACKAGE
echo ::endgroup::
[ $DEPS_FAILED == false ] || echo Dependencies broken
done What's happening here:
Seems like |
I found the reason why opam is installing ctypes:
While building Now that said i think we could add PS: as for your |
opam uninstall
fail installing packages?
The problem occured in two settings:
Should I skip the CI for now, and wait for a fix of OPAM? |
the link is wrong (it was a link to setup-ocaml@v2). https://github.com/ocaml-community/cppo/actions/runs/10004261944/job/27652628377?pr=88 doesn't show the error |
It's another instance of failing |
as i explained above, the " The problem you have is different. You're installing some packages that do not depend on cppo/cppo_ocamlbuild (because |
My understanding is that an
uninstall
command should only remove packages, but observed:https://github.com/ocaml-community/cppo/actions/runs/10004261944/job/27652618559?pr=88
...
The text was updated successfully, but these errors were encountered: