NetBSD Problem Report #52091

From dholland@macaran.eecs.harvard.edu  Sun Mar 19 20:25:21 2017
Return-Path: <dholland@macaran.eecs.harvard.edu>
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 F407C7A265
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Mar 2017 20:25:20 +0000 (UTC)
Message-Id: <20170319202425.71D866E27C@macaran.eecs.harvard.edu>
Date: Sun, 19 Mar 2017 16:24:17 -0400 (EDT)
From: dholland@eecs.harvard.edu
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: www/seamonkey installs broken with umask 077
X-Send-Pr-Version: 3.95

>Number:         52091
>Category:       pkg
>Synopsis:       www/seamonkey installs broken with umask 077
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 19 20:30:01 +0000 2017
>Originator:     dholland@NetBSD.org
>Release:        NetBSD 7.99.irrelevant, pkgsrc 20170319
>Organization:
>Environment:
System: NetBSD macaran 7.99.65 NetBSD 7.99.65 (MACARAN) #41: Thu Mar 9 19:33:59 EST 2017 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:

If you build seamonkey with umask 077, the build succeeds but it
installs broken:

   % seamonkey 
   Could not find the Mozilla runtime.

which is because of this:

-rwx------  1 root  wheel  78291112 Mar 19 06:59 /usr/pkg/lib/seamonkey/libxul.so

pkgsrc builds should be more robust than this.

>How-To-Repeat:

>Fix:

set the umask explicitly in the pkgsrc makefile
(why doesn't pkgsrc do this by default?)

NetBSD Home
NetBSD PR Database Search

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