I cannot install liquidsoap using opam because of an error in compiling duppy 0.6.1.
The Xcode compiler reports an error in this command in duppy.ml: let wake_up s = ignore (Unix.write s.in_pipe "x" 0 1) Apparently the compiler expects an expression of type “bytes” instead of the string “x”. This command is unchanged in duppy 0.5.2, 0.6.0 and 0.6.1, so it may be a bug in the Xcode compiler. This is the latest version of Xcode (9.1) in MacOS 10.12.6 (Sierra). The output of the opam install is below my signature. Thanks, Bob Stern opam install -v liquidsoap The following actions will be performed: ∗ install duppy 0.6.1 [required by liquidsoap] ∗ install liquidsoap 1.3.3 ===== ∗ 2 ===== Do you want to continue ? [Y/n] y =-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫 [duppy] Archive in cache [liquidsoap] Archive in cache =-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫 [duppy: ./configure] Command started + ./configure "--prefix" "/Users/bob/.opam/system" (CWD=/Users/bob/.opam/system/build/duppy.0.6.1) - configuring ocaml-duppy 0.6.1 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... - none needed - checking build system type... x86_64-apple-darwin16.7.0 - checking host system type... x86_64-apple-darwin16.7.0 - checking for a BSD-compatible install... /usr/bin/install -c - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for ocamlc... ocamlc - OCaml version is 4.06.0 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /usr/local/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamldep.opt... ocamldep.opt - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamldoc.opt... ocamldoc.opt - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for ocaml standard library path... /usr/local/lib/ocaml - checking for caml/threads.h... yes - checking for gcc option to produce PIC... -fno-common - checking for ocaml pcre module... ok - checking for ocaml bytes module... ok - checking for ocaml ssl module... Not found. - checking for ocaml osx-secure-transport module... Not found. - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile - config.status: creating examples/Makefile.telnet - config.status: creating examples/Makefile.http [duppy: make] Command started + make (CWD=/Users/bob/.opam/system/build/duppy.0.6.1) - /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src all - making ._bcdi/duppy.di from duppy.mli - making ._d/duppy.d from duppy.ml - ocamlc.opt -thread -c -cc "gcc" -ccopt "-fPIC -I/Users/bob/.opam/system/include -Wall -DCAML_NAME_SPACE \ - -DPIC -fno-common -I/Users/bob/.opam/system/include \ - -I/Users/bob/.opam/system/lib/pcre -I/Users/bob/.opam/system/lib/bytes -o duppy_stubs.o " duppy_stubs.c - ar rcs libduppy_stubs.a duppy_stubs.o - ocamlc.opt -thread -c -dtypes -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /Users/bob/.opam/system/lib/pcre -I /Users/bob/.opam/system/lib/bytes duppy.mli - ocamlc.opt -thread -c -dtypes -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /Users/bob/.opam/system/lib/pcre -I /Users/bob/.opam/system/lib/bytes duppy.ml - File "duppy.ml", line 87, characters 45-48: - Error: This expression has type string but an expression was expected of type - bytes - make[2]: *** [duppy.cmo] Error 2 - make[1]: *** [byte-code-library] Error 2 - make: *** [all] Error 2 [ERROR] The compilation of duppy failed at "make". [duppy: ocamlfind remove] Command started + ocamlfind "remove" "duppy" (CWD=/Users/bob/.opam/system/build/duppy.0.6.1) - ocamlfind: [WARNING] No such file: /Users/bob/.opam/system/lib/duppy/META #=== ERROR while installing duppy.0.6.1 =======================================# # opam-version 1.2.2 # os darwin # command make # path /Users/bob/.opam/system/build/duppy.0.6.1 # compiler system (4.06.0) # exit-code 2 # env-file /Users/bob/.opam/system/build/duppy.0.6.1/duppy-4412-c61e7b.env # stdout-file /Users/bob/.opam/system/build/duppy.0.6.1/duppy-4412-c61e7b.out # stderr-file /Users/bob/.opam/system/build/duppy.0.6.1/duppy-4412-c61e7b.err ### stdout ### # /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src all # making ._bcdi/duppy.di from duppy.mli # making ._d/duppy.d from duppy.ml # ocamlc.opt -thread -c -cc "gcc" -ccopt "-fPIC -I/Users/bob/.opam/system/include -Wall -DCAML_NAME_SPACE \ # -DPIC -fno-common -I/Users/bob/.opam/system/include \ # -I/Users/bob/.opam/system/lib/pcre -I/Users/bob/.opam/system/lib/bytes -o duppy_stubs.o " duppy_stubs.c # ar rcs libduppy_stubs.a duppy_stubs.o # ocamlc.opt -thread -c -dtypes -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /Users/bob/.opam/system/lib/pcre -I /Users/bob/.opam/system/lib/bytes duppy.mli # ocamlc.opt -thread -c -dtypes -g -w +A-4@5-7@8-9@11@12@20-35-44-45-50 -I /Users/bob/.opam/system/lib/pcre -I /Users/bob/.opam/system/lib/bytes duppy.ml ### stderr ### # File "duppy.ml", line 87, characters 45-48: # Error: This expression has type string but an expression was expected of type # bytes # make[2]: *** [duppy.cmo] Error 2 # make[1]: *** [byte-code-library] Error 2 # make: *** [all] Error 2 =-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫 The following actions were aborted ∗ install liquidsoap 1.3.3 The following actions failed ∗ install duppy 0.6.1 No changes have been performed 'opam install -v liquidsoap' failed. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
