Subject: graphics/netpbm make install fails when done as non-root
To: None <pkgsrc-users@netbsd.org>
From: =?ISO-8859-1?Q?Lasse_Hiller=F8e_Petersen?= <lhp@toft-hp.dk>
List: pkgsrc-users
Date: 11/29/2006 23:23:12
I am trying to install graphics/netpbm from pkgsrc-current on
NetBSD-current as of 20061124
I get the following error:
...
gmake[1]: Entering directory
`/usr/pkgsrc/graphics/netpbm/work/netpbm-10.34/buildtools'
gmake[1]: Nothing to be done for `install.man'.
gmake[1]: Leaving directory
`/usr/pkgsrc/graphics/netpbm/work/netpbm-10.34/buildtools'
cd /usr/pkgsrc/graphics/netpbm/work/staging
&& /bin/mv link/* lib
&& /bin/rm -rf link man/web
&& /bin/mkdir -p share/doc/netpbm
&& /bin/cp
/usr/pkgsrc/graphics/netpbm/work/netpbm-10.34/doc/* share/doc/netpbm
&& mkdir man/man1 &&
/bin/mv share/doc/netpbm/*.1 man/man1 && /bin/mv misc
share/netpbm && /usr/sbin/chown -R root:wheel
. && /usr/bin/find * \! -type d -print |
/usr/bin/sort >/usr/pkgsrc/graphics/netpbm/work/PLIST_STAGE &&
/usr/bin/find * -type d -print | while
read DIR; do test -d
"/usr/pkg/${DIR}" || echo "@dirrm ${DIR}"; done
>>/usr/pkgsrc/graphics/netpbm/work/PLIST_STAGE
&& /bin/pax -rwpppm . /usr/pkg
mkdir: man/man1: File exists
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/netpbm
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/netpbm
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/netpbm
If I perform the make install with sudo, it succeeds.
-Lasse