Bug 598863

Summary: self-test fails
Product: Red Hat Enterprise Linux 6 Reporter: Ondrej Moriš <omoris>
Component: libgcryptAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-02 09:06:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Output of 'make check'. none

Description Ondrej Moriš 2010-06-02 08:47:57 UTC
Created attachment 418958 [details]
Output of 'make check'.

Description of problem:

Self-test provided with libgcrypt package fails due to failing test 'basic'. See attached output for further details. 

Version-Release number of selected component (if applicable):

libgcrypt-1.4.5-3.el6

How reproducible:

always

Steps to Reproduce:

1. build source (rpmbuild -bc ~/rpmbuild/SPEC/libgcrypt.spec)
2. execute self-test (make -C ~/rpmbuild/BUILD/libgcrypt-1.4.5/ check)
  
Actual results:

...
libgcrypt selftest: binary  (0): No such file or directory (/root/rpmbuild/BUILD/libgcrypt-1.4.5/src/.libs/.libgcrypt.so.11.hmac)
running self-test failed
FAIL: basic
...

Expected results:

...
PASS: basic
...

Additional info:

Upstream self-test works fine (all tests pass). High severity has been set since failing self-test may indicate corrupted component and there are a lot of packages depending on this one.

Comment 1 Tomas Mraz 2010-06-02 09:06:59 UTC
Nope, this is not a bug.
Just run 'fipshmac src/.libs/libgcrypt.so.??'
before the make check.
See what %check section of libgcrypt.spec does.

Comment 2 Ondrej Moriš 2010-06-02 09:26:18 UTC
Great, thanks for your prompt answer. Sorry for opening this bug.