Closed chenrui333 closed 4 years ago
The last 150 lines of log are not useful, as they only consist of the end of ocaml usage message. Is the full log available somewhere?
yeah, I feel the same way, I actually grabbed it from the server log though.
Looks like the issue here is that OCaml 4.10 forbids unsafe strings by default, but unison still requires unsafe strings:
ocamlopt: OCaml has been configured with -force-safe-string: -unsafe-string is not available.
Looks like this is a duplicate of #316.
There is a pull request that fixes this: https://github.com/bcpierce00/unison/pull/351
There is a pull request that fixes this: #351
I've just merged it, could you confirm that unison compiles with OCaml 4.10?
@glondu I've checked and project compiles without errors on OCaml 4.10, os Fedora 32 x86_64.
During the ocaml 4.10 regression build, it looks like the unison does not build with OCaml 4.10, I have attached the build failure log below.
build failure log
``` Last 150 lines from /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/unison/01.make: -implEnable or disable warnings according to
: + enable warnings in
- disable warnings in
@ enable warnings in and treat them as errors
can be:
a single warning number
.. a range of consecutive warning numbers
a predefined set
default setting is "+a-4-6-7-9-27-29-30-32..42-44-45-48-50-60-66-67"
-warn-error
Enable or disable error status for warnings according to
. See option -w for the syntax of
. Default setting is "-a+31" -warn-help Show description of warning numbers -where Print location of standard library and exit - Treat as a file name (even if it starts with `-')
-match-context-rows (advanced, see manual section 9.2.)
-dno-unique-ids (undocumented)
-dunique-ids (undocumented)
-dsource (undocumented)
-dparsetree (undocumented)
-dtypedtree (undocumented)
-drawlambda (undocumented)
-dlambda (undocumented)
-drawclambda (undocumented)
-dclambda (undocumented)
-dflambda Print Flambda terms
-drawflambda Print Flambda terms after closure conversion
-dflambda-invariants Check Flambda invariants around each pass
-dflambda-no-invariants Do not Check Flambda invariants around each pass
-dflambda-let Print when the given Flambda [Let] is created
-dflambda-verbose Print Flambda terms including around each pass
-dcmm (undocumented)
-dsel (undocumented)
-dcombine (undocumented)
-dcse (undocumented)
-dlive (undocumented)
-davail Print register availability info when printing liveness
-drunavail Run register availability pass (for testing only; needs -g)
-dspill (undocumented)
-dsplit (undocumented)
-dinterf (undocumented)
-dprefer (undocumented)
-dalloc (undocumented)
-dreload (undocumented)
-dscheduling (undocumented)
-dlinear (undocumented)
-dinterval (undocumented)
-dstartup (undocumented)
-dtimings Print timings information for each pass
-dprofile Print performance information for each pass
The columns are: time alloc top-heap absolute-top-heap.
-dump-into-file dump output like -dlambda into .dump
-dump-pass Record transformations performed by these passes:
unbox-closures unbox-specialised-args unbox-free-vars-of-closures
remove-free-vars-equal-to-args remove-unused-arguments unused-arguments
-args Read additional newline-terminated command line arguments
from
-args0 Read additional null character terminated command line arguments
from
-depend Compute dependencies (use 'ocamlopt -depend -help' for details)
-help Display this list of options
--help Display this list of options
make[1]: *** [ubase/rx.cmi] Error 2
make: *** [text] Error 2
[31mREAD THIS:[0m [4mhttps://docs.brew.sh/Troubleshooting[24m
```
relates to https://github.com/Homebrew/homebrew-core/pull/57386