Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Formula/c/camlp5.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Camlp5 < Formula
desc "Preprocessor and pretty-printer for OCaml"
homepage "https://camlp5.github.io/"
url "https://github.com/camlp5/camlp5/archive/refs/tags/8.03.01.tar.gz"
sha256 "057b8e06590cf29a1bd22b6c83aa5daa816d5cbb2ba2548409d474d7dc10c5b8"
url "https://github.com/camlp5/camlp5/archive/refs/tags/8.03.03.tar.gz"
sha256 "baa0ab8d819e56b9016ad2ce02715f79fbdc461790260493609440009b1f9160"
license "BSD-3-Clause"
head "https://github.com/camlp5/camlp5.git", branch: "master"

Expand All @@ -22,8 +22,10 @@

depends_on "ocaml-findlib" => :build
depends_on "opam" => :build
depends_on "pkgconf" => :build
depends_on "camlp-streams"
depends_on "ocaml"
depends_on "pcre2"

uses_from_macos "m4" => :build

Expand All @@ -41,7 +43,7 @@
(lib/"ocaml/camlp5").install "etc/META"
end

test do

Check failure on line 46 in Formula/c/camlp5.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose camlp5` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/bin/bundle clean ==> Testing camlp5 ==> /home/linuxbrew/.linuxbrew/Cellar/camlp5/8.03.03/bin/camlp5 /home/linuxbrew/.linuxbrew/Cellar/camlp5/8.03.03/lib/ocaml/camlp5/pa_o.cmo /home/linuxbrew/.linuxbrew/Cellar/camlp5/8.03.03/lib/ocaml/camlp5/o_keywords.cmo /home/linuxbrew/.linuxbrew/Cellar/camlp5/8.03.03/lib/ocaml/camlp5/pr_o.cmo /home/linuxbrew/.linuxbrew/opt/ocaml/lib/ocaml/str/str.cma hi.ml Fatal error: cannot load shared library dllpcre2_stubs Reason: dllpcre2_stubs.so: cannot open shared object file: No such file or directory ::error::camlp5: failed An exception occurred within a child process: Minitest::Assertion: Expected: 0 Actual: nil /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.5/lib/minitest/assertions.rb:176:in `assert' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.5/lib/minitest/assertions.rb:216:in `assert_equal' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_assertions.rb:31:in `shell_output' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `bind_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `validate_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/c/camlp5.rb:49:in `block in <class:Camlp5>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2840:in `block (3 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:547:in `with_env' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2839:in `block (2 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1170:in `with_logging' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `bind_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `validate_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2838:in `block in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:90:in `block in run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:90:in `chdir' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:90:in `run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `bind_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `validate_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3179:in `mktemp' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `bind_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/methods/call_validation.rb:282:in `validate_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11948/lib/types/private/m
ocaml = Formula["ocaml"]
(testpath/"hi.ml").write "print_endline \"Hi!\";;"
assert_equal "let _ = print_endline \"Hi!\"",
Expand Down
Loading