[openssl-users] rpmbuild openssl-1.0.1u

James Marcus marcus.james at gmail.com
Wed Oct 26 01:43:10 UTC 2016


Hi,
I'm trying to build a rpm for openssl-1.0.1u on CentOS 7 x86_64.  To get
the rpmbuild to run, I had to remove several comments in changelog, because
they weren't formatted correctly. The second problem I ran into is one
during the rpm staging:

The tail end of the output from rpmbuild -ba openssl.spec is:

+ cp -pr README
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/share/doc/openssl-1.0.1u
+ exit 0


RPM build errors:
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/bin/ssleay
    File not found by glob:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/lib/*.so*
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/dss1.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md2.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md4.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md5.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/mdc2.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/ripemd160.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha1.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha224.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha256.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha384.1ssl.gz
    Explicit %attr() mode not applicaple to symlink:
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha512.1ssl.gz

I'm assuming its related to this line in the openssl.spec file?

# Make backwards-compatibility symlink to ssleay

ln -sf /usr/bin/openssl $RPM_BUILD_ROOT/usr/bin/ssleay


Has anyone else ran into this problem?


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20161025/7a874af9/attachment.html>


More information about the openssl-users mailing list