Subject: ranlib: permission denied
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 07/05/2004 20:55:01
Hi,

after installing binutils-2.15.0.0 many packages don't install anymore. 
The reason is:

 > /usr/bin/install -c -o roland -g users -m 555 .libs/libz.lai 
/home/roland/pkg/lib/libz.la
 > /usr/bin/install -c -o roland -g users -m 555 .libs/libz.a 
/home/roland/pkg/lib/libz.a
 > ranlib /home/roland/pkg/lib/libz.a
 > ranlib: unable to copy file '/home/roland/pkg/lib/libz.a' reason: 
Permission denied

So I wrote a sandwich wrapper script that does a "chmod u+w" before and 
a chmod "u-w" after, and now they built. Can we integrate this behaviour 
into pkgsrc, maybe as another buildlink3 wrapper script?

Roland