-
Notifications
You must be signed in to change notification settings - Fork 114
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
Xdg module unbound with utop 2.13.0 #446
Comments
Hi.
This is not something that's supposed to work: (for |
No, "dune utop" doesn't work -- since the project doesn't build completely and that's actually what I want to debug! |
what happens when you run |
hmm, forget about this. does your debugging approach work with an older version of utop? (also, how did you install utop) |
I install utop with the Debian package -- I'm part of the team preparing it. It did work in previous versions. I can use this debugging trick with the regular ocaml toplevel, but as you know it's a bit uncomfortable to work with. |
When I run "dune utop", it just sits telling me the compilation isn't done... one file is missing - the one failing! |
utop 2.13.0 added a dependency against xdg >= 3.9.0, have you added that dependency on the Debian side? If so, do you have a log of utop 2.13.0 being built with it? |
Well, xdg isn't a separate package -- it's shipped with the dune package. The relevant part of the log is:
where I can only see that I should find a way to make the build more verbose on what it does! But there are neither error nor warning: dune does find xdg required from src/lib/dune. |
I think we need to take one step back: what steps, exactly, used to work with utop 2.12.1, and do not work with the version you're packaging? If it's the |
I just tried to build a small example of the problem -- and I couldn't reproduce the Xdg issue. And it turns out that when there's a compilation problem, you just have to wait long enough for dune to decide it has reached 100% anyway. Sorry for the noise. |
With utop 2.13.0:
and indeed, if I try "open Xdg;;" in "utop", it fails -- I have to run "utop -I /usr/lib/ocaml/xdg" to make "open Xdg;;" work. But that doesn't fix the #use_output line...
The text was updated successfully, but these errors were encountered: