NetBSD Problem Report #44241

From yamt@NetBSD.org  Thu Dec 16 04:32:03 2010
Return-Path: <yamt@NetBSD.org>
Received: by www.NetBSD.org (Postfix, from userid 1270)
	id 858A863BBA9; Thu, 16 Dec 2010 04:32:03 +0000 (UTC)
Message-Id: <20101216043203.858A863BBA9@www.NetBSD.org>
Date: Thu, 16 Dec 2010 04:32:03 +0000 (UTC)
From: yamt@NetBSD.org
Reply-To: yamt@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: textproc/texi2html seems to require root priv
X-Send-Pr-Version: 3.95

>Number:         44241
>Category:       pkg
>Synopsis:       textproc/texi2html seems to require root priv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 16 04:35:00 +0000 2010
>Closed-Date:    Mon Dec 27 19:06:02 +0000 2010
>Last-Modified:  Mon Dec 27 19:06:02 +0000 2010
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD
>Organization:

>Environment:
Architecture: i386
Machine: i386
>Description:
	"make install" in the textproc/texi2html produces the following
	error for me.  on the other hand, "sudo make install" works.
	i have "SU_CMD=sudo sh -c" in /etc/mk.conf.

gmake[1]: Entering directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/Tests'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/Tests'
Making all in test
gmake[1]: Entering directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
Making all in .
gmake[2]: Entering directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
for dir in htmlxref htmlxref-only_mono htmlxref-only_split; do \
        .././install-sh -c -d $dir/.texinfo/ ; \
        /usr/bin/install -c -o root -g wheel -m 444 ./$dir/htmlxref.cnf $dir/.texinfo/ ; \
done
install: htmlxref/.texinfo//htmlxref.cnf: chown/chgrp: Operation not permitted
install: htmlxref-only_mono/.texinfo//htmlxref.cnf: chown/chgrp: Operation not permitted
install: htmlxref-only_split/.texinfo//htmlxref.cnf: chown/chgrp: Operation not permitted
gmake[2]: *** [all-local] Error 1
gmake[2]: Leaving directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /siro/pkgsrc/textproc/texi2html
*** Error code 1

Stop.
make: stopped in /siro/pkgsrc/textproc/texi2html
kuma% 
>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/44241: textproc/texi2html seems to require root priv
Date: Thu, 16 Dec 2010 11:25:36 +0100

 On Thu, Dec 16, 2010 at 04:35:00AM +0000, yamt@NetBSD.org wrote:
 > >Description:
 > 	"make install" in the textproc/texi2html produces the following
 > 	error for me.  on the other hand, "sudo make install" works.
 > 	i have "SU_CMD=sudo sh -c" in /etc/mk.conf.

 I can't reproduce this -- I've just tried a destdir install as
 unprivileged user and it worked.
 Here's how it looks for me:

 > gmake[1]: Entering directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/Tests'
 > gmake[1]: Nothing to be done for `all'.
 > gmake[1]: Leaving directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/Tests'
 > Making all in test
 > gmake[1]: Entering directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
 > Making all in .
 > gmake[2]: Entering directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
 > for dir in htmlxref htmlxref-only_mono htmlxref-only_split; do \
 >         .././install-sh -c -d $dir/.texinfo/ ; \
 >         /usr/bin/install -c -o root -g wheel -m 444 ./$dir/htmlxref.cnf $dir/.texinfo/ ; \
 > done
 > install: htmlxref/.texinfo//htmlxref.cnf: chown/chgrp: Operation not permitted
 > install: htmlxref-only_mono/.texinfo//htmlxref.cnf: chown/chgrp: Operation not permitted
 > install: htmlxref-only_split/.texinfo//htmlxref.cnf: chown/chgrp: Operation not permitted
 > gmake[2]: *** [all-local] Error 1
 > gmake[2]: Leaving directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
 > gmake[1]: *** [all-recursive] Error 1
 > gmake[1]: Leaving directory `/home/takashi/pdir/wrkobjdir.kuma/textproc/texi2html/work/texi2html-5.0/test'
 > gmake: *** [all-recursive] Error 1
 > *** Error code 2

 Making install in Tests
 gmake[1]: Entering directory `/scratch/textproc/texi2html/work/texi2html-5.0/Tests'
 gmake[2]: Entering directory `/scratch/textproc/texi2html/work/texi2html-5.0/Tests'
 gmake[2]: Nothing to be done for `install-exec-am'.
 gmake[2]: Nothing to be done for `install-data-am'.
 gmake[2]: Leaving directory `/scratch/textproc/texi2html/work/texi2html-5.0/Tests'
 gmake[1]: Leaving directory `/scratch/textproc/texi2html/work/texi2html-5.0/Tests'
 Making install in test
 gmake[1]: Entering directory `/scratch/textproc/texi2html/work/texi2html-5.0/test'
 Making install in .
 gmake[2]: Entering directory `/scratch/textproc/texi2html/work/texi2html-5.0/test'
 for dir in htmlxref htmlxref-only_mono htmlxref-only_split; do \
         .././install-sh -c -d $dir/.texinfo/ ; \
         /usr/bin/install -c -o pbulk -g builder -m 644 ./$dir/htmlxref.cnf $dir/.texinfo/ ; \
 done
 gmake[3]: Entering directory `/scratch/textproc/texi2html/work/texi2html-5.0/test'

 Can you please try setting USE_DESTDIR=yes in /etc/mk.conf and see if that fixes the problem?
  Thomas

From: "Adam Ciarcinski" <adam@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44241 CVS commit: pkgsrc/textproc/texi2html
Date: Mon, 27 Dec 2010 19:04:50 +0000

 Module Name:	pkgsrc
 Committed By:	adam
 Date:		Mon Dec 27 19:04:50 UTC 2010

 Modified Files:
 	pkgsrc/textproc/texi2html: Makefile distinfo
 Added Files:
 	pkgsrc/textproc/texi2html/patches: patch-ad

 Log Message:
 Allow unprivileged build (PR#44241); switched to .tar.bz2 to save 7MB; updated homepage.


 To generate a diff of this commit:
 cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/texi2html/Makefile
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/texi2html/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/texi2html/patches/patch-ad

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

State-Changed-From-To: open->closed
State-Changed-By: adam@NetBSD.org
State-Changed-When: Mon, 27 Dec 2010 19:06:02 +0000
State-Changed-Why:
Replaced INSTALL_DATA with cp.


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