NetBSD Problem Report #51049

From  Wed Apr  6 02:29:12 2016
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 4AEDF7A21A
	for <>; Wed,  6 Apr 2016 02:29:12 +0000 (UTC)
Message-Id: <>
Date: Wed,  6 Apr 2016 02:29:11 +0000 (UTC)
Subject: www/seamonkey creates extra dir during build
X-Send-Pr-Version: 3.95

>Number:         51049
>Category:       pkg
>Synopsis:       www/seamonkey creates extra dir during build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 06 02:30:00 +0000 2016
>Last-Modified:  Wed Apr 06 08:30:17 +0000 2016
>Originator:     David A. Holland
>Release:        NetBSD 7.99.1 (old but irrelevant), pkgsrc 20160403
System: NetBSD valkyrie 7.99.1 NetBSD 7.99.1 (VALKYRIE) #18: Fri Feb  5 15:35:14 EST 2016  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64

Building in www/seamonkey results in the creation of
www/seamonkey/build as well as www/seamonkey/work. Lack of write
permission in www/seamonkey (or I think actually work/../build if one
puts workdirs elsewhere) causes the build to fail.

A directory work/build is also created, and this is used for building.
I think the upper-level one is accidental. I think the problem is
these lines from

# Build outside ${WRKSRC}
# Try to avoid conflict with config/makefiles/xpidl/
OBJDIR=	       		../build

which is confusing pkgsrc (or maybe just bmake, since OBJDIR is very
magic in bad ways) into doing some of the wrong things.




not sure.



Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-When: Wed, 06 Apr 2016 08:30:17 +0000
Over to maintainer


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.