Skip to content
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

4.08 bytecode failure #214

Open
olafhering opened this issue Jan 22, 2021 · 0 comments
Open

4.08 bytecode failure #214

olafhering opened this issue Jan 22, 2021 · 0 comments

Comments

@olafhering
Copy link

The test suite fails with a bytecode-only configuration in OCaml 4.08:

[  133s] + dune runtest --verbose --for-release-of-packages=ppxlib
....
[  150s] Running[57]: (cd _build/.sandbox/f1fc2b0e9649147d1f46f06a97ca3342/default && /usr/bin/diff -u test/driver/run_as_ppx_rewriter/test.t/run.t test/driver/run_as_ppx_rewriter/test.t/run.t.corrected)
[  150s] Command [57] exited with code 1:
[  150s] $ (cd _build/.sandbox/f1fc2b0e9649147d1f46f06a97ca3342/default && /usr/bin/diff -u test/driver/run_as_ppx_rewriter/test.t/run.t test/driver/run_as_ppx_rewriter/test.t/run.t.corrected)
[  150s] --- test/driver/run_as_ppx_rewriter/test.t/run.t	2021-01-21 18:26:29.864000000 +0000
[  150s] +++ test/driver/run_as_ppx_rewriter/test.t/run.t.corrected	2021-01-21 18:26:45.384000000 +0000
[  150s] @@ -41,7 +41,7 @@
[  150s]  The only possible usage is [extra_args] <infile> <outfile>...
[  150s]  
[  150s]    $ print_greetings some_input
[  150s] -  Usage: print_greetings.exe [extra_args] <infile> <outfile>
[  150s] +  Usage: print_greetings [extra_args] <infile> <outfile>
[  150s]    [2]
[  150s]  
[  150s]  ...in particular the order between the flags and the input/output matters.
[  150s] @@ -49,7 +49,7 @@
[  150s]    $ touch some_output
[  150s]    $ print_greetings some_input some_output -check
[  150s]    print_greetings: anonymous arguments not accepted.
[  150s] -  print_greetings.exe [extra_args] <infile> <outfile>
[  150s] +  print_greetings [extra_args] <infile> <outfile>
[  150s]      -loc-filename <string>      File name to use in locations
[  150s]      -reserve-namespace <string> Mark the given namespace as reserved
[  150s]      -no-check                   Disable checks (unsafe)
[  150s] @@ -70,7 +70,7 @@
[  150s]  The only exception is consulting help
[  150s]  
[  150s]    $ print_greetings -help
[  150s] -  print_greetings.exe [extra_args] <infile> <outfile>
[  150s] +  print_greetings [extra_args] <infile> <outfile>
[  150s]      -loc-filename <string>      File name to use in locations
[  150s]      -reserve-namespace <string> Mark the given namespace as reserved
[  150s]      -no-check                   Disable checks (unsafe)
[  150s] + echo 'dune runtest failed'
[  150s] dune runtest failed
[  150s] + test -n ''
[  150s] + echo aborting
[  150s] aborting
[  150s] + exit 1
[  150s] error: Bad exit status from /var/tmp/rpm-tmp.HlCpCX (%check)

...

[   46s] + dune installed-libraries
[   46s] base                         (version: 0.14.1)
[   46s] base.base_internalhash_types (version: 0.14.1)
[   46s] base.caml                    (version: 0.14.1)
[   46s] base.md5                     (version: 0.14.1)
[   46s] base.shadow_stdlib           (version: 0.14.1)
[   46s] bigarray                     (version: 4.08.1)
[   46s] bytes                        (version: 4.08.1)
[   46s] cinaps.runtime               (version: 0.15.0)
[   46s] compiler-libs                (version: 4.08.1)
[   46s] compiler-libs.bytecomp       (version: 4.08.1)
[   46s] compiler-libs.common         (version: 4.08.1)
[   46s] compiler-libs.toplevel       (version: 4.08.1)
[   46s] dynlink                      (version: 4.08.1)
[   46s] findlib                      (version: 1.8.1)
[   46s] findlib.dynload              (version: 1.8.1)
[   46s] findlib.internal             (version: 1.8.1)
[   46s] findlib.top                  (version: 1.8.1)
[   46s] graphics                     (version: 4.08.1)
[   46s] ocaml-compiler-libs.bytecomp (version: 0.12.3)
[   46s] ocaml-compiler-libs.common   (version: 0.12.3)
[   46s] ocaml-compiler-libs.shadow   (version: 0.12.3)
[   46s] ocaml-compiler-libs.toplevel (version: 0.12.3)
[   46s] ocaml-migrate-parsetree      (version: 2.1.0)
[   46s] ppx_derivers                 (version: 1.2.1)
[   46s] raw_spacetime                (version: 4.08.1)
[   46s] re                           (version: 1.9.0)
[   46s] re.emacs                     (version: 1.9.0)
[   46s] re.glob                      (version: 1.9.0)
[   46s] re.pcre                      (version: 1.9.0)
[   46s] re.perl                      (version: 1.9.0)
[   46s] re.posix                     (version: 1.9.0)
[   46s] re.str                       (version: 1.9.0)
[   46s] result                       (version: [distributed with Ocaml])
[   46s] seq                          (version: 4.08.1)
[   46s] sexplib0                     (version: 0.14.0)
[   46s] stdio                        (version: 0.14.0)
[   46s] stdlib                       (version: 4.08.1)
[   46s] stdlib-shims                 (version: 0.3.0)
[   46s] str                          (version: 4.08.1)
[   46s] threads                      (version: 4.08.1)
[   46s] threads.none                 (version: 4.08.1)
[   46s] threads.posix                (version: 4.08.1)
[   46s] threads.vm                   (version: 4.08.1)
[   46s] uchar                        (version: 4.08.1)
[   46s] unix                         (version: 4.08.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant