NetBSD Problem Report #51545

From simonb@athlon.thistledown.com.au  Sun Oct  9 11:22:48 2016
Return-Path: <simonb@athlon.thistledown.com.au>
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 D1B197A2CB
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  9 Oct 2016 11:22:48 +0000 (UTC)
Message-Id: <20161009111952.9CABC201A7@athlon.thistledown.com.au>
Date: Sun,  9 Oct 2016 22:19:52 +1100 (AEDT)
From: simonb@NetBSD.org
Reply-To: simonb@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: geneweb package doesn't build binary package with permissions error
X-Send-Pr-Version: 3.95

>Number:         51545
>Category:       pkg
>Synopsis:       geneweb package doesn't build binary package with permissions error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gdt
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 09 11:25:00 +0000 2016
>Closed-Date:    Sat Oct 15 18:45:30 +0000 2016
>Last-Modified:  Sat Oct 15 18:45:30 +0000 2016
>Originator:     Simon Burge
>Release:        NetBSD 7.0 and pkgsrc-2016Q3
>Organization:
Not really
>Environment:
	System: NetBSD athlon.thistledown.com.au 7.0 NetBSD 7.0 (THOREAU) #9: Sat Jul 2 22:47:34 EST 2016 simonb@thoreau.thistledown.com.au:/NetBSD/src7/sys/arch/amd64/compile/THOREAU amd64
	Architecture: x86_64
	Machine: amd64
>Description:
	Building the geneweb package fails to create a binary package because it
	can't read a file:

	=> Checking for work-directory references in geneweb-5.01nb9
	=> Dropping ``root'' privileges.
	=> Creating binary package /home/simonb/netbsd/obj/pkg/databases/geneweb/work.athlon/.packages/geneweb-5.01nb9.tgz
	pkg_create: cannot open data file share/geneweb/gwtp_tmp/lang/main.txt: Permission denied
	mv: rename /home/simonb/netbsd/obj/pkg/databases/geneweb/work.athlon/.packages/geneweb-5.01nb9.tmp.tgz to /home/simonb/netbsd/obj/pkg/databases/geneweb/work.athlon/.packages/geneweb-5.01nb9.tgz: No such file or directory
	*** Error code 1

	Stop.
	make[1]: stopped in /home/simonb/netbsd/pkgsrc/databases/geneweb
	*** Error code 1

	Stop.
	make: stopped in /home/simonb/netbsd/pkgsrc/databases/geneweb
	4.653u 4.555s 0:07.25 126.8%    0+0k 0+70io 0pf+0w
	Exit 1
	Building the geneweb package fails to create a binary package because it
	athlon 2163> ls -l work.athlon/.destdir/usr/pkg/share/geneweb/gwtp_tmp/lang/main.txt
	-rw-------  1 root  wheel  1017 Oct  9 22:09 work.athlon/.destdir/usr/pkg/share/geneweb/gwtp_tmp/lang/main.txt
	athlon 2164> 

>How-To-Repeat:
	On a amd64 NetBSD 7.0 system with pkgsrc-2016Q3:
	cd .../pkgsrc/databases/geneweb
	make install
>Fix:
	None supplied.


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->gdt
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Sun, 09 Oct 2016 11:42:39 +0000
Responsible-Changed-Why:
Greg, can you please give a look to it?
(over to MAINTAINER)


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51545 CVS commit: pkgsrc/databases/geneweb
Date: Sun, 9 Oct 2016 21:25:11 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sun Oct  9 21:25:11 UTC 2016

 Modified Files:
 	pkgsrc/databases/geneweb: Makefile

 Log Message:
 Fix install rule. Switch to user-destdir. Should retire PR 51545.
 PKGREVISION -> 10 because prior packages might have unintended mode 600
 data files.


 To generate a diff of this commit:
 cvs rdiff -u -r1.43 -r1.44 pkgsrc/databases/geneweb/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 09 Oct 2016 21:36:20 +0000
State-Changed-Why:
should be fixed, please test


From: Simon Burge <simonb@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: gdt@NetBSD.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
    dholland@NetBSD.org, simonb@NetBSD.org
Subject: Re: pkg/51545 (geneweb package doesn't build binary package with permissions error)
Date: Mon, 10 Oct 2016 08:56:04 +1100

 dholland@NetBSD.org wrote:

 > Synopsis: geneweb package doesn't build binary package with permissions error
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Sun, 09 Oct 2016 21:36:20 +0000
 > State-Changed-Why:
 > should be fixed, please test

 That works!  Can you please submit a pullup for this one too?

 Cheers,
 Simon.

State-Changed-From-To: feedback->pending-pullups
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 10 Oct 2016 01:45:58 +0000
State-Changed-Why:
pullup-pkgsrc #5131


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51545 CVS commit: [pkgsrc-2016Q3] pkgsrc/databases/geneweb
Date: Sat, 15 Oct 2016 18:06:08 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Oct 15 18:06:08 UTC 2016

 Modified Files:
 	pkgsrc/databases/geneweb [pkgsrc-2016Q3]: Makefile

 Log Message:
 Pullup ticket #5131 - requested by dholland
 databases/geneweb: build fix

 Revisions pulled up:
 - databases/geneweb/Makefile                                    1.44

 ---
    Module Name:	pkgsrc
    Committed By:	dholland
    Date:		Sun Oct  9 21:25:11 UTC 2016

    Modified Files:
    	pkgsrc/databases/geneweb: Makefile

    Log Message:
    Fix install rule. Switch to user-destdir. Should retire PR 51545.
    PKGREVISION -> 10 because prior packages might have unintended mode 600
    data files.


 To generate a diff of this commit:
 cvs rdiff -u -r1.43 -r1.43.4.1 pkgsrc/databases/geneweb/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 15 Oct 2016 18:45:30 +0000
State-Changed-Why:
pullup done


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.