NetBSD Problem Report #54284

From makoto@ki.nu  Fri Jun  7 13:23:09 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 913957A184
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  7 Jun 2019 13:23:09 +0000 (UTC)
Message-Id: <201906071323.x57DN2nO018914@ki.nu>
Date: Fri, 7 Jun 2019 22:23:02 +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: www/py-werkzeug-docs needs Werkzeug (py-werkzeug) as DEPENDENCY
X-Send-Pr-Version: 3.95

>Number:         54284
>Category:       pkg
>Synopsis:       www/py-werkzeug-docs needs Werkzeug (py-werkzeug) as DEPENDENCY
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kleink
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 13:25:00 +0000 2019
>Closed-Date:    Wed Oct 23 00:22:27 +0000 2019
>Last-Modified:  Wed Oct 23 00:22:27 +0000 2019
>Originator:     makoto@if.t.u-tokyo.ac.jp
>Release:        NetBSD 8.99.42
>Organization:
KINU Corporation
Makoto Fujiwara
makoto@ki.nu
>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:
 bulkbuld log shows following problem
 |  Running Sphinx v1.8.5
 |  
 |  Configuration error:
 |  There is a programmable error in your configuration file:
 |  
 |  Traceback (most recent call last):
 |    File "/usr/pkg/lib/python2.7/site-packages/sphinx/config.py", line 368, in eval_config_file
 |      execfile_(filename, namespace)
 |      ......
 |    File "/usr/pkg/lib/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
 |      raise DistributionNotFound(req, requirers)
 |  DistributionNotFound: The 'Werkzeug' distribution was not found and is required by the application

>How-To-Repeat:
	cd /usr/pkgsrc/www/py-werkzeug-docs;
	make package
>Fix:
(I did not checked if BUILD_DEPENDS is enough or not, sorry)

Index: www/py-werkzeug-docs/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/py-werkzeug-docs/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- www/py-werkzeug-docs/Makefile	23 May 2019 12:00:48 -0000	1.11
+++ www/py-werkzeug-docs/Makefile	7 Jun 2019 13:13:26 -0000
@@ -6,8 +6,9 @@
 BUILD_DEPENDS+=	${PYPKGPREFIX}-pallets-sphinx-themes-[0-9]*:../../textproc/py-pallets-sphinx-themes
 BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx>=1.2.3nb1:../../textproc/py-sphinx
 BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-issues-[0-9]*:../../textproc/py-sphinx-issues
+DEPENDS+=	${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug

-USE_TOOLS+=	gmake
+USE_TOOLS+=	gmake pax
 NO_CONFIGURE=	yes
 BUILD_TARGET=	html
 BUILD_DIRS=	docs

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->kleink
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 07 Jun 2019 14:46:35 +0000
Responsible-Changed-Why:
Over to MAINTAINER


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 23 Oct 2019 00:22:27 +0000
State-Changed-Why:
I believe this is fixed from:
revision 1.12
date: 2019-09-14 20:09:11 +0300;  author: gutteridge;  state: Exp;  lines: +5 -4;  commitid: ZGMzW4UDg0gub0DB;
py-werkzeug-docs: note py-werkzeug dependency

Fix bulk builds by noting this depends on py-werkzeug. (While here,
convert other BUILD_DEPENDS to TOOL_DEPENDS.)



>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.