pkgsrc-Bugs archive

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

pkg/54285: ocaml-core_kernel needs bash (as USE_TOOLS)



>Number:         54285
>Category:       pkg
>Synopsis:       ocaml-core_kernel needs bash (as USE_TOOLS)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 14:45:01 +0000 2019
>Originator:     Makoto Fujiwara
>Release:        NetBSD 8.99.42
>Organization:
KINU Corporation
>Environment:
	
	
System: NetBSD pkgsrc 8.99.42 NetBSD 8.99.42 (GENERIC) #0: Fri May 31 16:38:27 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	(1) with bulkbuild log, the message says

        | 19 |  (action (bash "%{deps} jane_street_headers")))
        | Warning: File explicit_dependencies.mli is both generated by a rule and present in the source tree.
        | As a result, the rule is currently ignored, however this will become an error in the future.
        | To keep the current behavior and get rid of this warning, add a field (fallback) to the rule.
        | I need bash to interpret (bash ...) actions but I couldn't find it :(
        | *** Error code 1
	
>How-To-Repeat:
	sudo pkg_delete -f bash
	cd /usr/pkgsrc/devel/ocaml-core_kerne;
	make clean && make package
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ocaml-core_kernel/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	25 Mar 2019 09:38:57 -0000	1.3
+++ Makefile	7 Jun 2019 14:37:58 -0000
@@ -12,6 +12,7 @@
 COMMENT=	OCaml standard library overlay (kernel)
 LICENSE=	mit
 
+USE_TOOLS+=	bash
 USE_LANGUAGES=	# none
 OCAML_USE_DUNE=	yes
 

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index