Subject: lang/clisp fails to build
To: None <pkgsrc-users@NetBSD.org>
From: Rhialto <rhialto@falu.nl>
List: pkgsrc-users
Date: 10/08/2006 01:15:10
lang/clisp fails to build, apparently since it wants to install
something during the build, doing a chown, and that is not allowed (as a
non-root user, anyway).

The build ends like this:

cc -shared  .libs/localcharset.o .libs/relocatable.o  -L/home/tmp/lang/clisp/work.x86_64/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libcharset.so.1 -o .libs/libcharset.so.1.0.0
(cd .libs && rm -f libcharset.so.1 && ln -s libcharset.so.1.0.0 libcharset.so.1)
(cd .libs && rm -f libcharset.so && ln -s libcharset.so.1.0.0 libcharset.so)
ar cru .libs/libcharset.a  localcharset.o relocatable.o
ranlib .libs/libcharset.a
creating libcharset.la
(cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)
/bin/sh ../../../libcharset/lib/config.charset 'x86_64--netbsd' > t-charset.alias
mv t-charset.alias charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ../../../libcharset/lib/ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@//g' ../../../libcharset/lib/ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
cd lib && make all
cd lib && make install-lib libdir='/home/tmp/lang/clisp/work.x86_64/clisp-2.39/src' includedir='/home/tmp/lang/clisp/work.x86_64/clisp-2.39/src'
/bin/sh ../../../libcharset/build-aux/mkinstalldirs /home/tmp/lang/clisp/work.x86_64/clisp-2.39/src
/bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel -m 444 libcharset.la /home/tmp/lang/clisp/work.x86_64/clisp-2.39/src/libcharset.la
/usr/bin/install -c -o root -g wheel -m 444 .libs/libcharset.so.1.0.0 /home/tmp/lang/clisp/work.x86_64/clisp-2.39/src/libcharset.so.1.0.0
install: /home/tmp/lang/clisp/work.x86_64/clisp-2.39/src/libcharset.so.1.0.0: chown/chgrp: Operation not permitted
*** Error code 1

Stop.
make: stopped in /home/tmp/lang/clisp/work.x86_64/clisp-2.39/src/libcharset/lib
*** Error code 1

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.