-
Notifications
You must be signed in to change notification settings - Fork 372
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
--assume-depexts
makes no difference (opam 2.1.0~beta4)
#4662
Comments
--assume-depexts
makes no difference--assume-depexts
makes no difference (opam 2.1.0~beta4)
Indeed I can reproduce with |
It's not worked since at least alpha2, as well 😱 |
With |
|
Even in that case, it should have not failed (since gcc was actually installed and working, and in fact |
This is actually going to be getting very annoying in the future: macports' gcc package is virtual, right now it corresponds to gcc10, so opam keeps saying
and trying to uninstall anything depending on |
Hmm, that's absolutely not the indended behaviour :/ We'll need to improve the support for macports as well if virtual packages aren't supported and that blocks. |
Do you know how virtual packages are defined? I can't find anything in the documentation and I'm unable to install the
I think it might be a bug in the |
Mmh, you are right, it must have changed at some point then...
And each of them should be fine for what concerns You can see all groups available and their setup with EDIT: let me add all outputs
|
Maybe @pmetzger as macports maintainer can help us to figure this out |
Thanks for the details. One important feature we need is to be able to check many packages without so many requests, for performance reasons; your last command might be a good solution. |
The last command is just for packages belonging to a group though, not all packages installed. Maybe there is some other and simpler way to get this with one call. I am too noob still for these details, but the cli seems rather powerful, I would be surprised if there is not such a thing. |
We don't have support for alternatives in |
* update the manual * fix a misleading unavailability message Ref. ocaml#4662
@mseri what is the exact code conf-gfortran is currently using to detect gfortran? |
not
|
That seems wrong; I would presume that for the most part you would want at least a particular version or minimal version of gcc? |
is there really no way of indicating "i want any version of gcc" ? (the later the better, but in the end it's really not a big deal if it's not) |
Well, you could, but you will end up with differences in supported features etc. gcc 4 isn't going to support your Fortran 2008 feature. Still I suppose isn't the worst possible situation? That said, for example, I have gcc10 installed, and my gfortran is named gfortran-mp-10 given that I didn't explicitly select gcc10 as the default... |
I suppose the real question is what do you need exactly? For me, when I'm installing a |
By convention, the |
At the moment, depext basically doesn’t do version checking. I think all we’re after checking here is what the MacPorts equivalent of |
opam invoked by a non-privileged user doesn't have privileges to install the package, though of course some flavor of The problem with the
|
* update the manual * fix a misleading unavailability message Ref. ocaml#4662
* update the manual * fix a misleading unavailability message Ref. ocaml#4662
It's the answer to a different question 🙂 Assume I am on my Macbook armed with administrative rights, forced to install Macports for the first time and I want to install gcc with it. Is there any command I can run to install gcc without caring or specifying a version? |
No. We don't have a generic "install the latest gcc" command. Perhaps (arguably) there should be some such mechanism, but there isn't currently. What we do have is a way for a user to say "this gcc package is what I want to be considered the default gcc". |
(By the way, by the same token, we don't have a generic "install some version of python" mechanism or what have you; one needs to say "port install python39", but one can later select python39 as the default python.) |
OK, thanks! It sounds as though what we may need to look at soon is separating the detection of a package (i.e. is I don't think there's anything left on this to worry about for 2.1.0, therefore. |
I think that's the correct approach. |
We believe the 2.1 issues are solved - I've opened a new issue to track future improvements to depext for dealing with the selection of the correct package. |
Issue:
Problem: the suggested solution makes no difference
Expected: a different error or an attempt at the installation
The text was updated successfully, but these errors were encountered: