On 1 September 2014 17:31, Kenneth Westerback <kwesterb...@gmail.com> wrote: > On 1 September 2014 17:21, Anil Madhavapeddy <a...@recoil.org> wrote: >> On 1 Sep 2014, at 14:35, Christopher Zimmermann <chr...@openbsd.org> wrote: >> >>> On Mon, 1 Sep 2014 14:21:56 +0200 Anil Madhavapeddy <a...@recoil.org> >>> wrote: >>> >>>> This is a huge update, thanks Christopher! Do you also want to take >>>> joint MAINTAINER on OCaml? Main reason this should go in is that >>>> 4.02 fixed all the sprintf/strcpy uses, so there are no more linker >>>> warnings on every ocamlopt compilation. >>>> >>>> Bulk of the update is ok me; a few questions: >>>> >>>> - got a separate port for labltk now that it's pulled out? >>> >>> No. The only user I found is findlib's make_wizard, but I have no idea >>> what it does. >> >> no idea -- can add the tk interface as a port later on if any users show up. >> >>> >>>> - is there an upstream Mantis bug for the stack overflow detection? if so, >>>> putting it in the port patch comment would make it easier to keep track of >>>> what we need to upstream. >>> >>> I mailed it to c...@inria.fr. I can file a Mantis bug, too. >> >> A Mantis bug is definitely the way to make sure it gets fixed. >> >>> According to packages-specs(7), the package / ports system works well >>> with rc versions. They are always below normal versions. So if a fast >>> camlp4 release is not possible, we can use the rc, too. >> >> Final camlp4 version released from that tag now; >> https://github.com/ocaml/camlp4/archive/4.02.0.tar.gz >> >> -anil >> >> > > Hmm. My dpb job got an error in databases/sqlports just after visiting > the patched ocaml-net. > > Looking at the log for sqlports I see > > Fatal: Unknown flavor(s) pcre (in devel/ocaml-net) > (No flavors for this port). (in devel/ocaml-net) > *** Error 1 in devel/ocaml-net (/usr/ports/infrastructure/mk/bsd.port.mk:3552 > '. > BEGIN': @exit 1) > devel/ocaml-net,pcre/bin/sh: exit 1: not found > : exiting with an error > > Not sure which end is broken, but if it's not obvious to a ports-guru, > I'll try to figure it out after dinner. > > I have the ocaml 4.02 diff applied, but not the ocamlp4 diff. > > .... Ken
Soooo close ... Got OCaml and OCaml-camlp4 built and installed. Some confusion about 'pkg_add -u' not working for OCaml or opam so I deleted the packages and re-installed. Also installed OCaml-graphics since it was there so I assumed it was necessary even if I hadn't asked for it specifically. Did 'opam install <list of stuff>'. *Only* two did not work -- ocp-indent and async_graphics. Both complain that conduit is not available: $ opam install async_graphics The dependency ssl of package conduit.0.5.1 is not available for your compiler or your OS. 'opam install async_graphics' failed. $ cd - /usr/ports/packages/amd64/all $ opam install ocp-indent The dependency ssl of package conduit.0.5.1 is not available for your compiler or your OS. 'opam install ocp-indent' failed. Shouldn't affect anything I'm doing at the moment, but thought you'd be interested. List of things that did work: $ opam list Installed packages for system: async 111.25.00 Monadic concurrency library async_extra 111.28.00 Monadic concurrency library async_kernel 111.28.00 Monadic concurrency library async_unix 111.28.00 Monadic concurrency library atd 1.1.2 Parser for the ATD data format description languag atdgen 1.3.1 Generates efficient JSON serializers, deserializer base-bigarray base Bigarray library distributed with the OCaml compil base-bytes base Bytes library distributed with the OCaml compiler base-threads base Threads library distributed with the OCaml compile base-unix base Unix library distributed with the OCaml compiler bin_prot 111.03.00 A binary protocol generator biniou 1.0.9 Binary data format designed for speed, safety, eas camlp4 4.02.0+system Camlp4 is a system for writing extensible parsers camomile 0.8.5 A comprehensive Unicode library cmdliner 0.9.5 Declarative definition of command line interfaces cohttp 0.11.2 HTTP library for Lwt, Async and Mirage comparelib 109.60.00 Part of Jane Streetâs Core library conduit 0.5.1 Network connection library for TCP and SSL core 111.28.00 Industrial strength alternative to OCaml's standar core_bench 109.58.01 Benchmarking library core_kernel 111.28.00 Industrial strength alternative to OCaml's standar cppo 0.9.4 Equivalent of the C preprocessor for OCaml program cryptokit 1.9 Cryptographic primitives library. ctypes 0.3.3 Combinators for binding to C libraries without wri custom_printf 111.25.00 Extension for printf format strings easy-format 1.0.2 High-level and functional interface to the Format enumerate 111.08.00 Quotation expanders for enumerating finite types. fieldslib 109.20.03 Syntax extension to define first class values repr herelib 109.35.02 Part of Jane Streetâs Core library lambda-term 1.6 Terminal manipulation library for OCaml lwt 2.4.5 A cooperative threads library for OCaml menhir 20130912 LR(1) parser generator merlin 2.0.0 Editor helper, provides completion, typing and sou ocamlfind 1.5.2 A library manager for OCaml ounit 2.0.0 Unit testing framework loosely based on HUnit. It pa_bench 111.28.00 Syntax extension for inline benchmarks pa_ounit 111.28.00 Syntax extension for oUnit pa_test 111.08.00 Quotation expander for assertions. pipebang 110.01.00 Part of Jane Streetâs Core library re 1.2.2 RE is a regular expression library for OCaml re2 111.08.00 OCaml bindings for RE2, Google's regular expressio react 1.2.0 Declarative events and signals for OCaml sexplib 111.25.00 Library for serializing OCaml values to and from S stringext 1.0.0 Extra string functions for OCaml textutils 111.28.00 Text output utilities textwrap 0.1 Text wrapping and filling library type_conv 111.13.00 Library for building type-driven syntax extensions typerep 111.17.00 typerep is a library for runtime types. uri 1.7.2 RFC3986 URI/URL parsing library utop 1.15 Universal toplevel for OCaml variantslib 109.15.03 Part of Jane Streetâs Core library yojson 1.1.8 Yojson is an optimized parsing and printing librar zed 1.3 Abstract engine for text edition in OCaml $ .... Ken