NetBSD Problem Report #54285
From makoto@ki.nu Fri Jun 7 14:42:00 2019
Return-Path: <makoto@ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id CE54F7A184
for <gnats-bugs@gnats.NetBSD.org>; Fri, 7 Jun 2019 14:42:00 +0000 (UTC)
Message-Id: <201906071441.x57EfsKO026240@ki.nu>
Date: Fri, 7 Jun 2019 23:41:54 +0900 (JST)
From: makoto@if.t.u-tokyo.ac.jp
Reply-To: makoto@if.t.u-tokyo.ac.jp
To: gnats-bugs@NetBSD.org
Subject: ocaml-core_kernel needs bash (as USE_TOOLS)
X-Send-Pr-Version: 3.95
>Number: 54285
>Category: pkg
>Synopsis: ocaml-core_kernel needs bash (as USE_TOOLS)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jaapb
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 07 14:45:01 +0000 2019
>Closed-Date: Tue Jun 11 09:11:36 +0000 2019
>Last-Modified: Tue Jun 11 09:11:36 +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:/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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jaapb
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 07 Jun 2019 14:46:48 +0000
Responsible-Changed-Why:
Over to MAINTAINER
From: "Jaap Boender" <jaapb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54285 CVS commit: pkgsrc/devel/ocaml-core_kernel
Date: Tue, 11 Jun 2019 09:06:33 +0000
Module Name: pkgsrc
Committed By: jaapb
Date: Tue Jun 11 09:06:33 UTC 2019
Modified Files:
pkgsrc/devel/ocaml-core_kernel: Makefile buildlink3.mk distinfo
Log Message:
Updated devel/ocaml-core_kernel to version 0.12.2.
This adds support for OCaml 4.08.
I have also added bash to USE_TOOLS to fix PR pkg/54285.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ocaml-core_kernel/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ocaml-core_kernel/buildlink3.mk \
pkgsrc/devel/ocaml-core_kernel/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: jaapb@NetBSD.org
State-Changed-When: Tue, 11 Jun 2019 09:11:36 +0000
State-Changed-Why:
bash added to tools
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.