[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    [openssl-users] rpmbuild openssl-1.0.1u
From:       James Marcus <marcus.james () gmail ! com>
Date:       2016-10-26 1:43:10
Message-ID: CAM54t=ZzFTH478b7d21VjCNcFX+LVVbvNZ=niOBAc6dm4zGVHA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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!

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div>I&#39;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&#39;t formatted correctly. The second problem I ran into is one \
during the rpm staging:</div><div><br></div><div>The tail end of the output from \
rpmbuild -ba openssl.spec is:</div><div><br></div><div><div>+ cp -pr README \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/share/doc/openssl-1.0.1u</div><div>+ \
exit 0</div><div><br></div><div><br></div><div>RPM build errors:</div><div>      \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/bin/ssleay</div><div>      File \
not found by glob: /root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/lib/*.so*</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/dss1.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md2.1ssl.gz</div><div>  \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md4.1ssl.gz</div><div>  \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/md5.1ssl.gz</div><div>  \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/mdc2.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/ripemd160.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha.1ssl.gz</div><div>  \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha1.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha224.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha256.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha384.1ssl.gz</div><div> \
Explicit %attr() mode not applicaple to symlink: \
/root/rpmbuild/BUILDROOT/openssl-1.0.1u-1.x86_64/usr/man/man1/sha512.1ssl.gz</div></div><div><br></div><div>I&#39;m \
assuming its related to this line in the openssl.spec file?</div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1"># Make backwards-compatibility symlink to \
ssleay</span></p> <p class="gmail-p1"><span class="gmail-s1">ln -sf /usr/bin/openssl \
$RPM_BUILD_ROOT/usr/bin/ssleay</span></p><p class="gmail-p1"><span \
class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">Has anyone \
else ran into this problem?</span></p><p class="gmail-p1"><span \
class="gmail-s1"><br></span></p><p class="gmail-p1"><span \
class="gmail-s1">Thanks!</span></p></div><div><br></div></div>



-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic