Open adsouza opened 1 year ago
Pushed hardcoded opam install instructions under make deps
- should take care of the Library "_" not found.
errors. Not clear on why the last error popped up - would you mind pulling and testing make build
again on your AWS?
$ make build dune build File "server/bin/dune", line 5, characters 47-69: 5 | (libraries async core tic_tac_toe_2023_native core_unix.command_unix)) ^^^^^^^^^^^^^^^^^^^^^^ Error: Library "core_unix.command_unix" not found. -> required by _build/default/server/bin/main.exe -> required by alias server/bin/all -> required by alias default File "server/bin/dune", line 4, characters 7-15: 4 | (pps ppx_jane)) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/server/bin/main.pp.ml -> required by alias server/bin/all -> required by alias default File "bin/dune", line 6, characters 17-39: 6 | (libraries core core_unix.command_unix real_estate_appraisal_sim)) ^^^^^^^^^^^^^^^^^^^^^^ Error: Library "core_unix.command_unix" not found. -> required by _build/default/bin/main.exe -> required by _build/install/default/bin/real_estate_appraisal_sim -> required by _build/default/real_estate_appraisal_sim.install -> required by alias all -> required by alias default File "bin/dune", line 5, characters 7-15: 5 | (pps ppx_jane)) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/bin/main.pp.ml -> required by alias bin/all -> required by alias default File "client/bin/dune", line 11, characters 2-23: 11 | bonsai.web_ui_url_var) ^^^^^^^^^^^^^^^^^^^^^ Error: Library "bonsai.web_ui_url_var" not found. -> required by _build/default/client/bin/main.bc-for-jsoo -> required by alias client/bin/all -> required by alias default Error: Program js_of_ocaml not found in the tree or in PATH (context: default) -> required by _build/default/client/bin/main.bc.js -> required by alias client/bin/all -> required by alias default Hint: opam install js_of_ocaml-compiler File "client/bin/dune", line 14, characters 7-15: 14 | (pps ppx_jane ppx_pattern_bind))) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/client/bin/main.pp.ml -> required by alias client/bin/all -> required by alias default File "common/dune", line 4, characters 7-15: 4 | (pps ppx_jane)) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/common/protocol.pp.ml -> required by alias common/all -> required by alias default File "lib/dune", line 15, characters 7-15: 15 | (pps ppx_jane ppx_jsonaf_conv))) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/lib/commandline.pp.ml -> required by alias lib/all -> required by alias default File "client/src/dune", line 17, characters 7-14: 17 | (pps ppx_css ppx_jane ppx_typed_fields bonsai.ppx_bonsai))) ^^^^^^^ Error: Library "ppx_css" not found. -> required by _build/default/client/src/app.pp.ml -> required by alias client/src/all -> required by alias default File "server/src/dune", line 4, characters 7-15: 4 | (pps ppx_jane)) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/server/src/easy.pp.ml -> required by alias server/src/all -> required by alias default File "client/test/dune", line 12, characters 7-15: 12 | (pps ppx_jane))) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/client/test/app_test.pp.ml -> required by alias client/test/all -> required by alias default File "server/test/dune", line 5, characters 7-15: 5 | (pps ppx_jane)) ^^^^^^^^ Error: Library "ppx_jane" not found. -> required by _build/default/server/test/jsip_tic_tac_toe_test.pp.ml -> required by alias server/test/all -> required by alias default File "common/dune", line 5, characters 42-46: 5 | (libraries async_kernel async_rpc_kernel core)) ^^^^ Error: Library "core" not found. -> required by library "tic_tac_toe_2023_common" in _build/default/common -> required by _build/default/common/.tic_tac_toe_2023_common.objs/byte/tic_tac_toe_2023_common.cmo -> required by _build/default/common/tic_tac_toe_2023_common.cma -> required by alias common/all -> required by alias default File "client/src/dune", line 14, characters 2-9: 14 | ppx_css ^^^^^^^ Error: Library "ppx_css" not found. -> required by library "tic_tac_toe_2023_lib" in _build/default/client/src -> required by _build/default/client/src/.tic_tac_toe_2023_lib.objs/byte/tic_tac_toe_2023_lib.cmo -> required by _build/default/client/src/tic_tac_toe_2023_lib.cma -> required by alias client/src/all -> required by alias default File "server/src/dune", line 9, characters 2-25: 9 | core_unix.filename_unix)) ^^^^^^^^^^^^^^^^^^^^^^^ Error: Library "core_unix.filename_unix" not found. -> required by library "tic_tac_toe_2023_native" in _build/default/server/src -> required by _build/default/server/src/.tic_tac_toe_2023_native.objs/byte/tic_tac_toe_2023_native.cmo -> required by _build/default/server/src/tic_tac_toe_2023_native.cma -> required by alias server/src/all -> required by alias default File "lib/dune", line 12, characters 2-16: 12 | postgres_async) ^^^^^^^^^^^^^^ Error: Library "postgres_async" not found. -> required by library "real_estate_appraisal_sim" in _build/default/lib -> required by _build/default/lib/.real_estate_appraisal_sim.objs/byte/real_estate_appraisal_simCommandline.cmo -> required by _build/default/lib/real_estate_appraisal_sim.cma -> required by alias lib/all -> required by alias default File "client/test/dune", line 10, characters 2-8: 10 | bonsai) ^^^^^^ Error: Library "bonsai" not found. -> required by library "tic_tac_toe_2023_test" in _build/default/client/test -> required by _build/default/client/test/.tic_tac_toe_2023_test.objs/byte/tic_tac_toe_2023_testApp_test.cmo -> required by _build/default/client/test/tic_tac_toe_2023_test.cma -> required by alias client/test/all -> required by alias default File "server/test/dune", line 6, characters 12-16: 6 | (libraries core tic_tac_toe_2023_native tic_tac_toe_2023_common)) ^^^^ Error: Library "core" not found. -> required by library "jsip_tic_tac_toe_test" in _build/default/server/test -> required by _build/default/server/test/.jsip_tic_tac_toe_test.objs/byte/jsip_tic_tac_toe_test.cmo -> required by _build/default/server/test/jsip_tic_tac_toe_test.cma -> required by alias server/test/all -> required by alias default File "client/src/dune", line 23, characters 9-27: 23 | (bash "%{bin:css_inliner} %{deps} \"((rewrite ()))\""))) ^^^^^^^^^^^^^^^^^^ Error: Program css_inliner not found in the tree or in PATH (context: default) make: *** [build] Error 1
New push seems to work - checked with Jose should run
$ git clone https://github.com/AAWorks/real_estate_appraisal_sim.git Cloning into 'real_estate_appraisal_sim'... remote: Enumerating objects: 344, done. remote: Counting objects: 100% (43/43), done. remote: Compressing objects: 100% (34/34), done. remote: Total 344 (delta 17), reused 21 (delta 9), pack-reused 301 Receiving objects: 100% (344/344), 410.03 KiB | 20.50 MiB/s, done. Resolving deltas: 100% (138/138), done. $ cd real_estate_appraisal_sim/ $ git checkout prod branch 'prod' set up to track 'origin/prod'. Switched to a new branch 'prod' $ make deps opam install . --deps-only --locked [WARNING] Failed checks on real_estate_appraisal_sim package definition from source at git+file:///tmp/real_estate_appraisal_sim#prod: warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/: "LICENSE" [NOTE] It seems you have not updated your repositories for a while. Consider updating them with: opam update
Nothing to do. $ make build dune build File "lib/dune", line 12, characters 2-16: 12 | postgres_async) ^^^^^^^^^^^^^^ Error: Library "postgres_async" not found. -> required by library "real_estate_appraisal_sim" in _build/default/lib -> required by _build/default/lib/.real_estate_appraisal_sim.objs/byte/real_estate_appraisal_sim__Commandline.cmo -> required by _build/default/lib/real_estate_appraisal_sim.cma -> required by alias lib/all -> required by alias default File "lib/dune", line 15, characters 16-31:
15 | (pps ppx_jane ppx_jsonaf_conv))) ^^^^^^^^^^^^^^^ Error: Library "ppx_jsonaf_conv" not found. -> required by _build/default/lib/commandline.pp.ml -> required by alias lib/all -> required by alias default File "client/bin/main.ml", line 10, characters 23-30: 10 | ~encoding_behavior:Correct ^^^^^^^ Error: The function applied to this argument has type ?on_fallback_raises:'a -> 'a Bonsai_web_ui_url_var.t This argument cannot be applied with label ~encoding_behavior make: *** [makefile:4: build] Error 1