pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44241: textproc/texi2html seems to require root priv



The following reply was made to PR pkg/44241; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
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@localhost 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
 


Home | Main Index | Thread Index | Old Index