NetBSD Problem Report #44691

From dholland@macaran.localdomain  Sun Mar  6 22:46:17 2011
Return-Path: <dholland@macaran.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0EED663B92A
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  6 Mar 2011 22:46:17 +0000 (UTC)
Message-Id: <20110306224724.AE0E66E1BC@macaran.localdomain>
Date: Sun,  6 Mar 2011 17:47:24 -0500 (EST)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/erlang doesn't build with PKG_DEVELOPER and umask 077
X-Send-Pr-Version: 3.95

>Number:         44691
>Category:       pkg
>Synopsis:       lang/erlang doesn't build with PKG_DEVELOPER and umask 077
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 06 22:50:03 +0000 2011
>Originator:     David A. Holland
>Release:        NetBSD 5.99.29, pkgsrc 20110306
>Organization:
>Environment:
System: NetBSD valkyrie 5.99.29 NetBSD 5.99.29 (VALKYRIE) #1: Sat May 29 23:00:44 EDT 2010  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

With PKG_DEVELOPER set, building erlang croaks checking file permissions:

 => Checking file permissions in erlang-13.2.3nb4
 warning: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/observer-0.9.8.1/priv/bin/etop.bat: executable bit is set on non-executable file.
 warning: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/observer-0.9.8.1/priv/bin/getop.bat: executable bit is set on non-executable file.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/ebin: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/client: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/erlangCA: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/erlangCA/newcerts: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/erlangCA/private: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/otpCA: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/otpCA/newcerts: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/otpCA/private: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/server: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/rnd: inconsistent group permissions (r--) for directory.
 error: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/src: inconsistent group permissions (r--) for directory.
 warning: /usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/webtool-0.8.5/priv/bin/start_webtool.bat: executable bit is set on non-executable file.
 13 errors and 3 warnings.
 *** Error code 1

>How-To-Repeat:

as above

>Fix:

The directories are coming out mode 740, which with a umask of 077
requires explicit chmod, so all someone needs to do is figure out
where...

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.