Tuesday, January 03, 2023

Re: sysutils/findlib add missing build dependency

On 1/3/23 13:57, Stuart Henderson wrote:
> On 2022/12/30 11:22, Volker Schlecht wrote:
>> Findlib needs devel/ocamlbuild AFAICT
>
> It has built OK without it during a _lot_ of bulk builds by now..

Sure, but if I do make clean build without ocamlbuild, I get:

[...]
ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
USE_CYGPATH="0"; \
export USE_CYGPATH; \
cat topfind_rd1.p | \
../../tools/patch '@SITELIB@' '/usr/local/lib/ocaml' \
>topfind
ocamlc -I +compiler-libs -opaque -c fl_dynload.mli
ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml
ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
gmake[1]: Leaving directory
'/build/pobj/findlib-1.8.1/findlib-1.8.1/src/findlib'
gmake[1]: Entering directory
'/build/pobj/findlib-1.8.1/findlib-1.8.1/src/bytes'
ocamlbuild -classic-display -no-links bytes.cmi bytes.cma
gmake[1]: ocamlbuild: No such file or directory
gmake[1]: *** [Makefile:12: all] Error 127
gmake[1]: Leaving directory
'/build/pobj/findlib-1.8.1/findlib-1.8.1/src/bytes'
gmake: *** [Makefile:13: all] Error 2
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2964
'/build/pobj/findlib-1.8.1/.build_done': @cd
/build/pobj/findlib-1.8.1/findl...)
*** Error 2 in /usr/ports/sysutils/findlib
(/usr/ports/infrastructure/mk/bsd.port.mk:2604 'build':
@lock=findlib-1.8.1p5; export _LOCKS_HEL...)

No comments:

Post a Comment