[openssl-users] openssl.spec build errors on CentOS 6?

Tomasz Chmielewski mangoo at wpkg.org
Wed Apr 6 12:16:37 UTC 2016


I'm trying to build openssl-1.0.2g on CentOS 6.7 64 bit, using the 
supplied openssl.spec. Unfortunately it fails as below. Is it possible 
to build openssl 1.0.2x with bundled openssl.spec on CentOS 6?

# rpmbuild -ba openssl.spec
(...)
symlinked /usr/lib/debug/usr/bin/openssl.debug to 
/usr/lib/debug/usr/bin/ssleay.debug
symlinked /usr/lib/debug/usr/lib64/libssl.so.1.0.0.debug to 
/usr/lib/debug/usr/lib64/libssl.so.debug
symlinked /usr/lib/debug/usr/lib64/libcrypto.so.1.0.0.debug to 
/usr/lib/debug/usr/lib64/libcrypto.so.debug
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip 
/usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: openssl-1.0.2g-1.x86_64
error: File not found by glob: 
/root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/lib/*.so*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PvUXni
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd openssl-1.0.2g
+ 
DOCDIR=/root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/share/doc/openssl-1.0.2g
+ export DOCDIR
+ rm -rf 
/root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/share/doc/openssl-1.0.2g
+ /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/share/doc/openssl-1.0.2g
+ cp -pr CHANGES CHANGES.SSLeay LICENSE NEWS README 
/root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/share/doc/openssl-1.0.2g
+ exit 0


RPM build errors:
     File not found by glob: 
/root/rpmbuild/BUILDROOT/openssl-1.0.2g-1.x86_64/usr/lib/*.so*




Tomasz Chmielewski
http://wpkg.org



More information about the openssl-users mailing list