Hi Chris

I applied your patch like so (just after updating my ports tree)

cd /usr/ports
patch < $HOME/downloads/ocaml.diff
cd /usr/ports/lang/ocaml
make install

but it fails with

===>  Building package for ocaml-graphics-4.06.1
Create /usr/ports/packages/amd64/all/ocaml-graphics-4.06.1.tgz
Creating package ocaml-graphics-4.06.1
checking dependencies|lang/ocaml,-main
Error: Can't obtain dependency ocaml-=4.06.1 from ports tree
checksumming...
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1655.
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1935 
'/usr/ports/packages/amd64/all/ocaml-graphics-4.06.1.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2403 
'_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2382 'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1948 
'/var/db/pkg/ocaml-4.06.1/+CONTENTS')
*** Error 1 in /usr/ports/lang/ocaml 
(/usr/ports/infrastructure/mk/bsd.port.mk:2382 'install')

​​Cheers
Adam

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On June 21, 2018 7:27 PM, Adam Steen <a...@adamsteen.com.au> wrote:

> ​​
> 
> On June 21, 2018 5:17 PM, Christopher Zimmermann chr...@openbsd.org wrote:
> 
> > Hi,
> > 
> > the last few days I prepared an update of ocaml to 4.06 and opam to
> > 
> > 2.00rc2 and along with it updates or REVISION bumps of the dependent
> > 
> > ports.
> > 
> > I tested dpb builds on amd64 with and without native code support
> > 
> > enabled. I could not test on other archs.
> > 
> > The ports affected are:
> > 
> > devel/cil
> > 
> > devel/coccinelle
> > 
> > devel/cudf
> > 
> > devel/frama-c
> > 
> > devel/ocaml-cmdliner
> > 
> > devel/ocaml-cppo
> > 
> > devel/ocaml-dose
> > 
> > devel/ocaml-extlib
> > 
> > devel/ocaml-graph
> > 
> > devel/ocaml-jsonm
> > 
> > devel/ocaml-menhir
> > 
> > devel/ocaml-ocamlbuild
> > 
> > devel/ocaml-parmap
> > 
> > devel/ocaml-pcre
> > 
> > devel/ocaml-re
> > 
> > devel/ocaml-uutf
> > 
> > devel/omake
> > 
> > devel/ounit
> > 
> > graphics/pdfsandwich
> > 
> > lang/obc
> > 
> > lang/ocaml
> > 
> > lang/ocaml-camlp4
> > 
> > lang/ocaml-camlp5
> > 
> > math/coq
> > 
> > net/mldonkey
> > 
> > net/unison/2.4x
> > 
> > net/unison/2.5x
> > 
> > sysutils/findlib
> > 
> > sysutils/opam
> > 
> > textproc/bibtex2html
> > 
> > textproc/hevea
> > 
> > x11/lablgtk2
> > 
> > two ports have been added since num has been removed from the OCaml
> > 
> > distribution.
> > 
> > math/ocaml-num
> > 
> > math/Zarith
> > 
> > I'd like to collect some OKs from developers familiar with OCaml ports.
> > 
> > If someone owning a powerpc or sparc machine feels like it he could try
> > 
> > to enable OCaml native-code
> > 
> > in /usr/ports/infrastructure/mk/arch-defines.mk for his arch and test
> > 
> > whether it is working again.
> > 
> > The diff is attached as ocaml.diff.gz.
> > 
> > Christopher
> 
> Thank you, I will be testing this tomorrow


Reply via email to