NetBSD Problem Report #51049

From dholland@netbsd.org  Wed Apr  6 02:29:12 2016
Return-Path: <dholland@netbsd.org>
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4AEDF7A21A
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  6 Apr 2016 02:29:12 +0000 (UTC)
Message-Id: <20160406022911.C598185E27@mail.netbsd.org>
Date: Wed,  6 Apr 2016 02:29:11 +0000 (UTC)
From: dholland@netbsd.org
Reply-To: dholland@netbsd.org
To: gnats-bugs@NetBSD.org
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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 06 02:30:00 +0000 2016
>Closed-Date:    Mon Jul 01 08:03:03 +0000 2019
>Last-Modified:  Mon Jul 01 08:03:03 +0000 2019
>Originator:     David A. Holland
>Release:        NetBSD 7.99.1 (old but irrelevant), pkgsrc 20160403
>Organization:
>Environment:
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
>Description:

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 mozilla-common.mk:

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

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

>How-To-Repeat:

make

>Fix:

not sure.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 06 Apr 2016 08:30:17 +0000
Responsible-Changed-Why:
Over to maintainer


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 01 Jul 2019 08:03:03 +0000
State-Changed-Why:
have not seen this lately


>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.