pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54248: (devel/ocaml-rresult) needs ocamlbuild as BUILD_DEPENDS



>Number:         54248
>Category:       pkg
>Synopsis:       (devel/ocaml-rresult) needs ocamlbuild as BUILD_DEPENDS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 29 03:40:00 +0000 2019
>Originator:     Makoto Fujiwara
>Release:        NetBSD 8.99.41
>Organization:
KINU Corporation
Makoto Fujiwara
makoto%ki.nu@localhost
>Environment:
	
	
System: NetBSD pkgsrc 8.99.41 NetBSD 8.99.41 (GENERIC-no-SYNAPTICS) #0: Sat May 18 21:33:05 JST 2019 root@CF-SX3:/tmp/O/sys/arch/amd64/compile/GENERIC-no-SYNAPTICS amd64
Architecture: x86_64
Machine: amd64
>Description:
    (devel/ocaml-rresult) needs ocamlbuild as BUILD_DEPENDS 
    | => Bootstrap dependency digest>=20010302: found digest-20190127
    | ===> Skipping vulnerability checks.
    | WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
    | WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
    | ===> Building for ocaml-rresult-0.6.0
    | ocamlfind: [WARNING] Cannot read directory /usr/pkg/lib/ocaml/site-lib/stublibs which is mentioned in ld.conf
    | sh: ocamlbuild: not found
    | pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
    |      '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md'
    |      'README.md' 'src/rresult.a' 'src/rresult.cmxs' 'src/rresult.cmxa'
    |      'src/rresult.cma' 'src/rresult.cmx' 'src/rresult.cmi' 'src/rresult.mli'
    |      'src/rresult_top.a' 'src/rresult_top.cmxs' 'src/rresult_top.cmxa'
    |      'src/rresult_top.cma' 'src/rresult_top.cmx' 'src/rresult_top_init.ml']: exited with 127
    | *** Error code 1

>How-To-Repeat:
	pkg_delete ocamlbuild;
	cd /usr/pkgsrc/devel/ocaml-rresult;
	make package
>Fix:
Index: devel/ocaml-rresult/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ocaml-rresult/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- devel/ocaml-rresult/Makefile	12 Mar 2019 17:49:59 -0000	1.1
+++ devel/ocaml-rresult/Makefile	29 May 2019 03:33:30 -0000
@@ -12,6 +12,7 @@
 LICENSE=	isc
 
 USE_LANGUAGES=	# none
+BUILD_DEPENDS+=	ocamlbuild-[0-9]*:../../devel/ocamlbuild
 
 OCAML_USE_TOPKG=	yes
 OCAML_USE_OPAM=	yes

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index