-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] allegro5 (0.1) #27169
base: master
Are you sure you want to change the base?
[new release] allegro5 (0.1) #27169
Conversation
I don’t know how to add an external dependency to my library. It needs the Allegro 5 development library and its addons. Thus the build failed. What should I do? |
First, thank you for taking the time to publish your work on these bindings!
opam is able to records system dependencies for packages available in a number of popular distros via the For systems where the dependency is not available from a supported package manager, you can add a post-install message that is printed only on failure, pointing to users towards how the dependency can be met. Here's an example: For these cases, we an also add the Let us know if you have any additional questions, and/or don't hesitate to ask on https://discuss.ocaml.org/ |
Thank you very much for your support! I don’t know how to deal with MSYS2. There is no Allegro package in Cygwin but there is one in MSYS2. And I don’t know how to deal with windows with |
e4e2611
to
ec7ebf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates! Things are coming along well here :)
I have suggested one fix for the tests failures here, and one suggestion to extend some windows packaging support.
Could you also take a look some of the build failures to see if they can be fixed or if they are expected?
4635822
to
8cc93b8
Compare
I’ve done what I could, but now there are problems with I also changed my test and my release of the |
8cc93b8
to
f94ca7a
Compare
Hello! Thank you again for your careful work here! I apologize for the delay: we are still getting caught up again after the holiday.
Ah yes, I see. It looks like this is a problem with
This needs to be fixed in that conf package, iiuc, so out of scope here.
The cleanest way would be to update this PR to point to the corrected, updated version of your package. With this PR, you can just update the version number in the directory name, and update the sources and sha. If you are using This is advisable, because it will ensure that when we check your package during reversed dependency checks, we do not get false positives. Otherwise, you will not protected by our CI against breaking changes of your dependencies. Please let me know if you have questions about how to do this! I am happy to support. |
f94ca7a
to
3e4c1fb
Compare
CHANGES: First release. Includes elements of the following Allegro 5 modules: - Displays - Events - Graphics - Keyboard - Mouse - System - Time - Timer - Font addons - Image addon - Primitives addon
3e4c1fb
to
da45543
Compare
I think I’ve done what you said, but now there’s a new failing check (maintenance-intent present)… I don’t understand. |
That's a newly added check and it's not stable yet (perhaps should be removed from CI for the moment, see #27234). Sorry for the noise there! Unfortunately it seems all the builds are failing now tho. |
The build fails with OCaml 4 variants. I get the same problem locally with an opam switch. I don’t know what to do… Do you have an idea of where this bug comes from? (The errors are not specific to the Also, can you help me on publishing the documentation of my package on GitHub with dune-release? I don’t understand what I should do. |
I will take a look at both the builds on OCaml 4 and your documentation situation this weekend! I am optimistic that I'll be able to help on both accounts. Thanks again for your persistence and patience here! |
I wanted to note quickly that the build failures here are not limited to OCaml 4.x. See, e.g., https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/da45543bcf6ada03ab09d168b588f94a1c22a7cb/variant/distributions,fedora-41-ocaml-5.3,allegro5.0.2
|
Please note that I am not at all expert at working with C-stubs! I have been trying to dig into this error. In case it is useful, these are some of the resources and discussions I've consulted:
However, I wonder if the solution may lie in ocaml/dune#5809 . The latter issue includes a proposed workaround in the issue description, and tho it was supposedly fixed in an earlier version of dune, a possible regression is reported there. In the switch where you are able to reproduce this, could show what you see in the build logs, as in ocaml/dune#5809 (comment) ? So, could you run something like
and share the results? Perhaps also just investigating the
If this does not help point the way, you may want to consider seeking help on https://discuss.ocaml.org/ ! Many helpful folks with deep expertise interfacing with c there :D |
OCaml Allegro 5
CHANGES:
First release. Includes elements of the following Allegro 5 modules: