Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 598863 - self-test fails
Summary: self-test fails
Keywords:
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:
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

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-02 09:06:59 UTC
Target Upstream Version:


Attachments (Terms of Use)
Output of 'make check'. (deleted)
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.