Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905097 - dev-ml/cinaps-0.15.1 fails tests: "ppx.exe: unknown option '-allow-toplevel-expression'"
Summary: dev-ml/cinaps-0.15.1 fails tests: "ppx.exe: unknown option '-allow-toplevel-e...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 03:26 UTC by Jonathan Lovelace
Modified: 2023-04-30 02:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ml:cinaps-0.15.1:20230426-031154.log (dev-ml:cinaps-0.15.1:20230426-031154.log,46.91 KB, text/x-log)
2023-04-26 03:26 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.11 KB, text/plain)
2023-04-26 03:27 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-04-26 03:26:21 UTC
Created attachment 860774 [details]
dev-ml:cinaps-0.15.1:20230426-031154.log

=dev-ml/cinaps-0.15.1 fails its tests for me, with output from "dune runtest --display=short --profile release -j 1" that begins as follows:

>>> Test phase: dev-ml/cinaps-0.15.1
 * dune runtest --display=short --profile release -j 1
      ocamlc .ppx/57ef275c515ec1fe105f6ff0979f5a61/dune__exe___ppx.{cmi,cmo}
        bash test/test_staged_gen.ml
    ocamlopt .ppx/57ef275c515ec1fe105f6ff0979f5a61/dune__exe___ppx.{cmx,o}
    ocamlopt .ppx/57ef275c515ec1fe105f6ff0979f5a61/ppx.exe
File "test/dune", line 6, characters 13-54:
6 |  (preprocess (pps ppx_jane -allow-toplevel-expression)))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         ppx test/test_staged_gen.pp.ml (exit 2)
.ppx/57ef275c515ec1fe105f6ff0979f5a61/ppx.exe: unknown option '-allow-toplevel-expression'.
ppx.exe [extra_args] [<files>]
  -as-ppx                          Run as a -ppx rewriter (must be the first argument)
  --as-ppx                         Same as -as-ppx
  -as-pp                           Shorthand for: -dump-ast -embed-errors
  --as-pp                          Same as -as-pp
  -o <filename>                    Output file (use '-' for stdout)
  -                                Read input from stdin
  -dump-ast                        Dump the marshaled ast to the output file instead of pretty-printing it
Comment 1 Jonathan Lovelace 2023-04-26 03:27:38 UTC
Created attachment 860775 [details]
emerge-info.txt