[CentOS] Can we trust RedHAt encryption tools?

Mon Jan 6 21:51:40 UTC 2014
m.roth at 5-cent.us <m.roth at 5-cent.us>

James B. Byrne wrote:
> I am doing a bit of investigative work to see just how hard it is to build
> openssl for myself.  The source from openssl.org is readily available and
> the
> spec file provided seems fairly usable. However, I am seeing lots of
> errors
> similar to this when I try to build it using mock:
>
> + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip
> /usr/bin/objdump
> /usr/bin/strip: unable to copy file
> '/builddir/build/BUILDROOT/openssl-1.0.1f-1.x86_64/usr/lib64/libcrypto.so.1.0.0';
> reason: Permission denied
>
> What am I tripping over?

Looks like it's rtrying to install it, not just build it. In the first
example, you're trying to replace the existing /usr/bin/strip, which only
root can do. Are you doing make, or make install?

      mark