Bug 598863 - self-test fails
Summary: self-test fails
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libgcrypt
Version: 6.0
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-02 08:47 UTC by Ondrej Moriš
Modified: 2010-06-02 09:26 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2010-06-02 09:06:59 UTC


Attachments (Terms of Use)
Output of 'make check'. (5.66 KB, application/octet-stream)
2010-06-02 08:47 UTC, Ondrej Moriš
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.