-
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] dune (15 packages) (3.9.0~alpha1) #23989
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHANGES: - Validate file extension for `$ dune ocaml top-module`. (ocaml/dune#8005, fixes ocaml/dune#8004, @3Rafal) - Include the time it takes to read/write state files when `--trace-file` is enabled (ocaml/dune#7960, @rgrinberg) - Add `dune show` command group which is an alias of `dune describe`. (ocaml/dune#7946, @Alizter) - Include source tree scans in the traces produced by `--trace-file` (ocaml/dune#7937, @rgrinberg) - Cinaps: The promotion rules for cinaps would only offer one file at a time no matter how many promotions were available. Now we offer all the promotions at once (ocaml/dune#7901, @rgrinberg) - Do not re-run OCaml syntax files on every iteration of the watch mode. This is too memory consuming. (ocaml/dune#7894, fix ocaml/dune#6900, @rgrinberg) - Remove some compatibility code for old version of dune that generated `.merlin` files. Now dune will never remove `.merlin` files automatically (ocaml/dune#7562) - Add `dune show env` command and make `dune printenv` an alias of it. (ocaml/dune#7985, @Alizter) - Add additional metadata to the traces provided by `--trace-file` whenever `--trace-extended` is passed (ocaml/dune#7778, @rleshchinskiy) - Extensions used in `(dialect)` can contain periods (e.g., `cppo.ml`). (ocaml/dune#7782, fixes ocaml/dune#7777, @nojb) - Allow `(include_subdirs qualified)` to be used when libraries define a `(modules ...)` field (ocaml/dune#7797, fixes ocaml/dune#7597, @anmonteiro) - `$ dune describe` is now a command group, so arguments to subcommands must be passed after subcommand itself. (ocaml/dune#7919, @Alizter) - The `interface` and `implementation` fields of a `(dialect)` are now optional (ocaml/dune#7757, @gpetiot) - Add commands `dune show targets` and `dune show aliases` that display all the available targets and aliases in a given directory respectively. (ocaml/dune#7770, grants ocaml/dune#265, @Alizter) - Allow multiple globs in library's `(stdlib (internal_modules ..))` (@anmonteiro, ocaml/dune#7878) - Attach melange rules to the default alias (ocaml/dune#7926, @haochenx) - In opam constraints, reject `(and)` and `(or)` with no arguments at parse time (ocaml/dune#7730, @emillon) - Compute digests and manage sandboxes in background threads (ocaml/dune#7947, @rgrinberg) - Add `(build_if)` to the `(test)` stanza. When it evaluates to false, the executable is not built. (ocaml/dune#7899, fixes ocaml/dune#6938, @emillon) - Add necessary parentheses in generated opam constraints (ocaml/dune#7682, fixes ocaml/dune#3431, @Lucccyo)
This was referenced Jun 23, 2023
emillon
added a commit
to emillon/opam-repository
that referenced
this pull request
Jun 26, 2023
In ocaml#23989: #=== ERROR while compiling mosquitto.0.1-0 ====================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/mosquitto.0.1-0 # command ~/.opam/opam-init/hooks/sandbox.sh build ocaml setup.ml -configure # exit-code 2 # env-file ~/.opam/log/mosquitto-8-f11d8d.env # output-file ~/.opam/log/mosquitto-8-f11d8d.out ### output ### # File "./setup.ml", line 575, characters 4-15: # 575 | Stream.from next # ^^^^^^^^^^^ # Error: Unbound module Stream
This was referenced Jun 26, 2023
emillon
added a commit
to emillon/opam-repository
that referenced
this pull request
Jun 26, 2023
In ocaml#23989: #=== ERROR while compiling ocsfml.2.0 =========================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/ocsfml.2.0 # command ~/.opam/opam-init/hooks/sandbox.sh build make # exit-code 2 # env-file ~/.opam/log/ocsfml-7-35c5e6.env # output-file ~/.opam/log/ocsfml-7-35c5e6.out ### output ### # Scanning dependencies of target ocsfml # ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/5.0/lib/ocamlbuild /home/opam/.opam/5.0/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/5.0/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/5.0/lib/ocamlbuild /home/opam/.opam/5.0/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/5.0/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # File "myocamlbuild.ml", line 119, characters 14-31: # 119 | "Ocsfml" ^ (String.capitalize s) # ^^^^^^^^^^^^^^^^^ # Error: Unbound value String.capitalize # Command exited with code 2. # make[2]: *** [CMakeFiles/ocsfml.dir/build.make:76: CMakeFiles/ocsfml] Error 10 # make[1]: *** [CMakeFiles/Makefile2:364: CMakeFiles/ocsfml.dir/all] Error 2 # make: *** [Makefile:103: all] Error 2
emillon
added a commit
to emillon/opam-repository
that referenced
this pull request
Jun 26, 2023
See ocaml#23989. #=== ERROR while compiling combine.0.6 ========================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/combine.0.6 # command ~/.opam/opam-init/hooks/sandbox.sh build ./configure --prefix=/home/opam/.opam/5.0 # exit-code 2 # env-file ~/.opam/log/combine-7-6e39f2.env # output-file ~/.opam/log/combine-7-6e39f2.out ### output ### # File "./setup.ml", line 318, characters 20-36: # 318 | String.compare (String.lowercase s1) (String.lowercase s2) # ^^^^^^^^^^^^^^^^ # Error: Unbound value String.lowercase
emillon
added a commit
to emillon/opam-repository
that referenced
this pull request
Jun 26, 2023
See ocaml#23989 #=== ERROR while compiling toplevel_expect_test.v0.15.0 =======================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/toplevel_expect_test.v0.15.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p toplevel_expect_test -j 47 # exit-code 1 # env-file ~/.opam/log/toplevel_expect_test-7-8679e0.env # output-file ~/.opam/log/toplevel_expect_test-7-8679e0.out ### output ### [...] # File "src/main.ml", line 526, characters 2-23: # 526 | Clflags.unsafe_string := Toplevel_backend.unsafe_string (); # ^^^^^^^^^^^^^^^^^^^^^ # Error: Unbound value Clflags.unsafe_string
I'll restart once #23990 is merged since it accounts for 700+ failures. |
emillon
added a commit
to emillon/opam-repository
that referenced
this pull request
Jun 27, 2023
In ocaml#23989: #=== ERROR while compiling ocamldot.1.1 =======================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/ocamldot.1.1 # command ~/.opam/opam-init/hooks/sandbox.sh build make all # exit-code 2 # env-file ~/.opam/log/ocamldot-7-fd3f72.env # output-file ~/.opam/log/ocamldot-7-fd3f72.out ### output ### # /home/opam/.opam/5.0/bin/ocamlyacc -v odot_parser.mly # /home/opam/.opam/5.0/bin/ocamllex.opt odot_lexer.mll # 62 states, 621 transitions, table size 2856 bytes # rm -fr .depend # /home/opam/.opam/5.0/bin/ocamldep.opt *.ml *.mli > .depend # autoconf # make: autoconf: No such file or directory # make: *** [Makefile:103: configure] Error 127
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fast, portable, and opinionated build system
CHANGES:
Validate file extension for
$ dune ocaml top-module
. (Validate top-module input dune#8005, fixesdune ocaml top-module
crashes when file doesn't have.ml
extension or is directory dune#8004, @3Rafal)Include the time it takes to read/write state files when
--trace-file
isenabled (feature: trace loading/marshalling files dune#7960, @rgrinberg)
Add
dune show
command group which is an alias ofdune describe
. (create dune show command group dune#7946,@Alizter)
Include source tree scans in the traces produced by
--trace-file
(feature: extend traces to include source scans dune#7937,@rgrinberg)
Cinaps: The promotion rules for cinaps would only offer one file at a time no
matter how many promotions were available. Now we offer all the promotions at
once (fix(cinaps): offer all promotions dune#7901, @rgrinberg)
Do not re-run OCaml syntax files on every iteration of the watch mode. This
is too memory consuming. (fix: do not re-run jbuild syntax dune files on every run dune#7894, fix
dune build -w
memory usage grows without bounds when using OCaml syntax in dune files dune#6900, @rgrinberg)Remove some compatibility code for old version of dune that generated
.merlin
files. Now dune will never remove.merlin
files automatically(fix: remove .merlin handling from the engine dune#7562)
Add
dune show env
command and makedune printenv
an alias of it. (feature: add dune show env and make dune printenv an alias of it dune#7985,@Alizter)
Add additional metadata to the traces provided by
--trace-file
whenever--trace-extended
is passed (Trace more data dune#7778, @rleshchinskiy)Extensions used in
(dialect)
can contain periods (e.g.,cppo.ml
). (dialects: allow extensions containing periods dune#7782,fixes Support multiple extensions in (dialect) patterns dune#7777, @nojb)
Allow
(include_subdirs qualified)
to be used when libraries define a(modules ...)
field (test: demonstrateinclude_subdirs qualified
crash with modules OSL dune#7797, fixes Crash when combining(include_subdirs qualified)
and(modules :standard \ ...)
dune#7597, @anmonteiro)$ dune describe
is now a command group, so arguments to subcommands must bepassed after subcommand itself. (split describe into cmdliner subcommands dune#7919, @Alizter)
The
interface
andimplementation
fields of a(dialect)
are now optional(Make the
interface
andimplementation
fields of a dialect optional dune#7757, @gpetiot)Add commands
dune show targets
anddune show aliases
that display all theavailable targets and aliases in a given directory respectively. (feature: dune show targets and dune show aliases dune#7770,
grants Diagnose missing target errors dune#265, @Alizter)
Allow multiple globs in library's
(stdlib (internal_modules ..))
(@anmonteiro, feat: allow multiple globs in library's (stdlib (internal_modules ...)) dune#7878)
Attach melange rules to the default alias (melange - add
melange.emit
targets to@all
alias as well by default dune#7926, @haochenx)In opam constraints, reject
(and)
and(or)
with no arguments at parsetime (fix(opam): cleanly reject argumentless (and)/(or) dune#7730, @emillon)
Compute digests and manage sandboxes in background threads (feature: enable async sandboxing/digests dune#7947,
@rgrinberg)
Add
(build_if)
to the(test)
stanza. When it evaluates to false, theexecutable is not built. (add: build_if in test stanza dune#7899, fixes enabled_if doesn't work in (test) dune#6938, @emillon)
Add necessary parentheses in generated opam constraints (
opam_constraint t
result should respect precedence dune#7682, fixes Opam constraints operator precedence is not honored. dune#3431,@Lucccyo)