Skip to content

Conversation

UnixJunkie
Copy link
Contributor

dokeysto, dokeysto_camltc, dokeysto_lz4

Any software relying on dokeysto should use this new version (4.0.2).

Really stupid use of Unix.read somewhere replaced by a really_read function (like Stdlib.really_input but for Unix file descriptors).

dokeysto, dokeysto_camltc, dokeysto_lz4
Copy link
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

CI is failing

  • on opam-2.0 (these can be ignored)
  • on Fedora-42 (which looks like an internal CI issue)
  • on x86_32-ocaml-4.14 running the test suite for dokeysto_camltc with Fatal error: exception Failure("stat error"). The package installs cleanly though.
  • on Windows compiling dokeysto_camltc
  • on Windows installing mingw-w64-shims.0.2.0

Potentially we could add

  • available: os != "win32" for dokeysto_camltc and
  • guard with-test for dokeysto_camltc with arch != "x86_32"

Finally: Would you consider adding x-maintenance-intent entries for these packages?
https://github.com/ocaml/opam-repository/blob/master/governance/policies/archiving.md

@UnixJunkie
Copy link
Contributor Author

@jmid if you can make your suggestions directly as modifications of the opam files, it would be nice (edits are allowed by maintainers).
I intend to maintain the latest version of all those packages.

Copy link
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmid if you can make your suggestions directly as modifications of the opam files, it would be nice (edits are allowed by maintainers).

OK, I've made the suggestions inline now 👍

I don't have write permissions and/or full maintainer rights (yet), so you or someone else will have to apply them 🤷

license: "LGPL-2.1-only"
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "exec" "-p" name "-j" jobs "src/test_camltc.exe"] {with-test}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["dune" "exec" "-p" name "-j" jobs "src/test_camltc.exe"] {with-test}
["dune" "exec" "-p" name "-j" jobs "src/test_camltc.exe"] {with-test & arch != "x86_32"}

to address this
https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/4b271a226d755f4f54f1d5d31deb3d22da1ebc54/variant/extras,x86_32-ocaml-4.14,dokeysto_camltc.4.0.2,tests

#=== ERROR while compiling dokeysto_camltc.4.0.2 ==============================#
# context              2.4.1 | linux/x86_32 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/UnixJunkie/dokeysto/archive/v4.0.2.tar.gz)
# path                 ~/.opam/4.14/.opam-switch/build/dokeysto_camltc.4.0.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune exec -p dokeysto_camltc -j 255 src/test_camltc.exe
# exit-code            2
# env-file             ~/.opam/log/dokeysto_camltc-7-3e5cd1.env
# output-file          ~/.opam/log/dokeysto_camltc-7-3e5cd1.out
### output ###
# Fatal error: exception Failure("stat error")

@UnixJunkie
Copy link
Contributor Author

thanks a lot @jmid ; I am not aware of the latest syntax and required tags in opam files, so this is very useful.
I am making the changes right now.

modified:   dokeysto/dokeysto.4.0.2/opam
modified:   dokeysto_camltc/dokeysto_camltc.4.0.2/opam
modified:   dokeysto_lz4/dokeysto_lz4.4.0.2/opam
@UnixJunkie
Copy link
Contributor Author

fixes have been applied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants