Re: Update: lang/ocaml 4.08.1

2019-09-21 Thread Laurence Tratt
On Sat, Sep 21, 2019 at 09:06:16AM +0200, Christopher Zimmermann wrote:

Hello Christopher,

>> Since other people might be affected by this, it looks like OCaml has
>> changed the marshalling format or similar (again...), so Unison from
>> -current is now incompatible with -stable. I doubt there's anything we can
>> do about this except, perhaps, a) add a warning to the upgrade page b)
>> maybe expand pkg/README to spell out the commands needed to install Unison
>> via OPAM.
> That's what I would recommend in pkg/README:
> 
> $ OPAMROOT=~/opam_unison
> $ opam init --compiler 4.02.3
> $ opam install unison
> $ ${OPAMROOT}/4.02.3/bin/unison
> 
> Would you mind testing it ?

That works for me, with one small caveat -- since it builds the GUI flavour
(I must admit, I'd forgotten that Unison has a GUI!), it does require the
system to have gtk+2 installed. So it might be worth mentioning that.
Otherwise, I think those steps are very helpful -- thanks!


Laurie



Re: Update: lang/ocaml 4.08.1

2019-09-21 Thread Christopher Zimmermann
On Fri, 20 Sep 2019 13:29:31 +0100
Laurence Tratt  wrote:

> On Mon, Sep 16, 2019 at 10:43:29PM +0200, Christopher Zimmermann
> wrote:
> 
> Hello Christopher,
> 
> > finally here's the update of OCaml to 4.08.1.  
> [...]
> > * net/unison needed some help to avoid deprecated library
> > functions.  
> 
> Since other people might be affected by this, it looks like OCaml has
> changed the marshalling format or similar (again...), so Unison from
> -current is now incompatible with -stable. I doubt there's anything
> we can do about this except, perhaps, a) add a warning to the upgrade
> page b) maybe expand pkg/README to spell out the commands needed to
> install Unison via OPAM.

That's what I would recommend in pkg/README:

$ OPAMROOT=~/opam_unison
$ opam init --compiler 4.02.3
$ opam install unison
$ ${OPAMROOT}/4.02.3/bin/unison

Would you mind testing it ?

Christopher

-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1


pgptv2LVmmS32.pgp
Description: OpenPGP digital signature


Re: Update: lang/ocaml 4.08.1

2019-09-20 Thread Laurence Tratt
On Mon, Sep 16, 2019 at 10:43:29PM +0200, Christopher Zimmermann wrote:

Hello Christopher,

> finally here's the update of OCaml to 4.08.1.
[...]
> * net/unison needed some help to avoid deprecated library functions.

Since other people might be affected by this, it looks like OCaml has changed
the marshalling format or similar (again...), so Unison from -current is now
incompatible with -stable. I doubt there's anything we can do about this
except, perhaps, a) add a warning to the upgrade page b) maybe expand
pkg/README to spell out the commands needed to install Unison via OPAM.


Laurie



Re: Update: lang/ocaml 4.08.1

2019-09-19 Thread kwesterback
ok krw@

 Ken

> On Sep 18, 2019, at 3:45 AM, Christopher Zimmermann  
> wrote:
> 
> On Mon, 16 Sep 2019 23:14:47 -0400
> Daniel Dickman  wrote:
> 
>>> On Sep 16, 2019, at 4:43 PM, Christopher Zimmermann
>>>  wrote:
>>> 
>>> Hi,
>>> 
>>> finally here's the update of OCaml to 4.08.1. Now that all dependent
>>> ports are prepared it is pretty straight-forward:
>>> 
>>> * Most of the diff is revision bumps of dependent packages
>>> * adapt the new configure script for our libbfd link requirements
>>> * pass LDFLAGS and CFLAGS to the new configure script
>>> * net/unison needed some help to avoid deprecated library functions.
>>> * remove devel/ocaml-configurator, since this is now bundled with
>>> dune.
>>> 
>>> OKs?  
>> 
>> Nice work.
>> 
>> Was the refman-html file rerolled upstream? The distinfo doesn’t seem
>> to match on my end.
>> 
>> After fixing the distinfo, the new ocaml unfortunately still fails to
>> build for me on i386.
>> 
>> Here’s the log:
>> http://dickman.org/openbsd/ports/ocaml.i386.log
> 
> This is fixed in the attached diff. Successfully tested again by Daniel
> on i386. More OKs?
> 
> Christopher
> 
> 
> 
> -- 
> http://gmerlin.de
> OpenPGP: http://gmerlin.de/christopher.pub
> CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1
> 



Re: Update: lang/ocaml 4.08.1

2019-09-19 Thread Christopher Zimmermann
On Mon, 16 Sep 2019 23:14:47 -0400
Daniel Dickman  wrote:

> > On Sep 16, 2019, at 4:43 PM, Christopher Zimmermann
> >  wrote:
> > 
> > Hi,
> > 
> > finally here's the update of OCaml to 4.08.1. Now that all dependent
> > ports are prepared it is pretty straight-forward:
> > 
> > * Most of the diff is revision bumps of dependent packages
> > * adapt the new configure script for our libbfd link requirements
> > * pass LDFLAGS and CFLAGS to the new configure script
> > * net/unison needed some help to avoid deprecated library functions.
> > * remove devel/ocaml-configurator, since this is now bundled with
> > dune.
> > 
> > OKs?  
> 
> Nice work.
> 
> Was the refman-html file rerolled upstream? The distinfo doesn’t seem
> to match on my end.
> 
> After fixing the distinfo, the new ocaml unfortunately still fails to
> build for me on i386.
> 
> Here’s the log:
> http://dickman.org/openbsd/ports/ocaml.i386.log

This is fixed in the attached diff. Successfully tested again by Daniel
on i386. More OKs?

Christopher



-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1


ocaml48.diff.gz
Description: application/gzip


pgpVJFVknKGnl.pgp
Description: OpenPGP digital signature


Re: Update: lang/ocaml 4.08.1

2019-09-16 Thread Daniel Dickman



> On Sep 16, 2019, at 4:43 PM, Christopher Zimmermann  
> wrote:
> 
> Hi,
> 
> finally here's the update of OCaml to 4.08.1. Now that all dependent
> ports are prepared it is pretty straight-forward:
> 
> * Most of the diff is revision bumps of dependent packages
> * adapt the new configure script for our libbfd link requirements
> * pass LDFLAGS and CFLAGS to the new configure script
> * net/unison needed some help to avoid deprecated library functions.
> * remove devel/ocaml-configurator, since this is now bundled with dune.
> 
> OKs?

Nice work.

Was the refman-html file rerolled upstream? The distinfo doesn’t seem to match 
on my end.

After fixing the distinfo, the new ocaml unfortunately still fails to build for 
me on i386.

Here’s the log:
http://dickman.org/openbsd/ports/ocaml.i386.log




Re: Update: lang/ocaml 4.08.1

2019-09-16 Thread kwesterback
ok krw@

 Ken

> On Sep 16, 2019, at 4:43 PM, Christopher Zimmermann  
> wrote:
> 
> Hi,
> 
> finally here's the update of OCaml to 4.08.1. Now that all dependent
> ports are prepared it is pretty straight-forward:
> 
> * Most of the diff is revision bumps of dependent packages
> * adapt the new configure script for our libbfd link requirements
> * pass LDFLAGS and CFLAGS to the new configure script
> * net/unison needed some help to avoid deprecated library functions.
> * remove devel/ocaml-configurator, since this is now bundled with dune.
> 
> OKs?
> 
> Christopher
> 
> 
> -- 
> http://gmerlin.de
> OpenPGP: http://gmerlin.de/christopher.pub
> CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1
>