Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

strip: unable to copy file; reason: Permission denied

777 views
Skip to first unread message

David E. Wheeler

unread,
Aug 7, 2014, 3:18:03 PM8/7/14
to Perl5 Porters
Porters,

I’m working on a 5.20 build on CentOS 6.5, and keep seeing these warnings:

/usr/bin/strip: unable to copy file '/home/dwheeler/iov-perl/BUILDROOT/perl520-5.20.0-1.el6.x86_64/usr/local/perl520/lib/5.20.0/x86_64-linux-thread-multi/auto/Sys/Syslog/Syslog.so'; reason: Permission denied

56 of them! The files in question are read-only, no +w on them, so it’s understandable it would fail. Might there be a build ordering issue here, or is it something funky with my system?

Here's how I'm doing the build:

sh Configure -des \
-Dprefix=%{_prefix} \
-Dsiteprefix=%{_prefix} \
-Dsiteman1dir=%_prefix/share/man/man1 \
-Dsiteman3dir=%_prefix/share/man/man3 \
-Dvendorprefix=%{_prefix} \
-Dvendorman3dir=%{_prefix}/man/man3 \
-Dvendorman1dir=%{_prefix}/man/man1 \
-Duseshrplib \
-Dusemultiplicity \
-Duseithreads \
make %{?_smp_mflags}

_smp_mflags is set to "-j16".

Thanks,

David

signature.asc

Abigail

unread,
Aug 8, 2014, 4:49:17 AM8/8/14
to David E. Wheeler, Perl5 Porters
An obvious question, but did you check your umask?



Abigail

David E. Wheeler

unread,
Aug 9, 2014, 6:22:04 PM8/9/14
to Abigail, Perl5 Porters
On Aug 8, 2014, at 1:49 AM, Abigail <abi...@abigail.be> wrote:

> An obvious question, but did you check your umask?

It’s 0022.

D

signature.asc

David E. Wheeler

unread,
Aug 20, 2014, 1:48:47 AM8/20/14
to Abigail, Perl5 Porters
On Aug 9, 2014, at 3:22 PM, David E. Wheeler <da...@justatheory.com> wrote:

>> An obvious question, but did you check your umask?
>
> It’s 0022.

Turns out this is an RPM thing.

https://bugzilla.redhat.com/show_bug.cgi?id=1131270

Best,

David
signature.asc
0 new messages