Skip to content

[new release] ocamlmod (0.1.0) #27494

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gildor478
Copy link
Member

Generate OCaml modules from source files

CHANGES:

Fixed

  • Migrate to dune.

CHANGES:

### Fixed
- Migrate to dune.
@mseri
Copy link
Member

mseri commented Feb 27, 2025

It mostly looks good. Do you know why the tests are failing on macos?


#=== ERROR while compiling ocamlmod.0.1.0 =====================================#
# context              2.3.0 | macos/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/gildor478/ocamlmod/releases/download/v0.1.0/ocamlmod-0.1.0.tbz)
# path                 ~/.opam/4.14.2/.opam-switch/build/ocamlmod.0.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocamlmod -j 11 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/ocamlmod-86290-253fad.env
# output-file          ~/.opam/log/ocamlmod-86290-253fad.out
### output ###
# File "test/dune", line 2, characters 7-11:
# 2 |  (name test)
#            ^^^^
# (cd _build/default/test && ./test.exe)
# E
# ==============================================================================
# Error: ocamlmod.
# 
# File "/Users/mac1000/.opam/4.14.2/.opam-switch/build/ocamlmod.0.1.0/_build/default/test/oUnit-ocamlmod-i7-worker-03#01.log", line 11, characters 1-1:
# Error: ocamlmod (in the log).
# 
# Raised by primitive operation at Unix.create_process_gen.(fun) in file "unix.ml", line 921, characters 15-68
# Called from Stdlib__Fun.protect in file "fun.ml", line 33, characters 8-15
# Re-raised at Stdlib__Fun.protect in file "fun.ml", line 38, characters 6-52
# Called from OUnitAssert.assert_command.(fun) in file "src/lib/ounit2/advanced/oUnitAssert.ml", line 260, characters 17-134
# Called from OUnitTest.section_ctxt in file "src/lib/ounit2/advanced/oUnitTest.ml", line 130, characters 16-22
# Re-raised at OUnitTest.section_ctxt in file "src/lib/ounit2/advanced/oUnitTest.ml", line 135, characters 6-13
# Called from OUnit2.assert_command in file "src/lib/ounit2/oUnit2.ml" (inlined), line 56, characters 2-118
# Called from Dune__exe__Test.(fun) in file "test/test.ml", line 33, characters 8-126
# Called from OUnitRunner.run_one_test.(fun) in file "src/lib/ounit2/advanced/oUnitRunner.ml", line 83, characters 13-26
# 
# Unix.Unix_error(Unix.ENOENT, "create_process", "ocamlmod")
# ------------------------------------------------------------------------------
# Ran: 1 tests in: 0.25 seconds.
# FAILED: Cases: 1 Tried: 1 Errors: 1 Failures: 0 Skip:  0 Todo: 0 Timeouts: 0.

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