Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701618 - sys-cluster/ceph: Test 'unittest_compression' fails if compiled with cpu_flags_x86_sse4_1
Summary: sys-cluster/ceph: Test 'unittest_compression' fails if compiled with cpu_flag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL: https://tracker.ceph.com/issues/43067
Whiteboard:
Keywords: PATCH, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-12-01 01:31 UTC by Dyweni
Modified: 2021-02-26 00:44 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dyweni 2019-12-01 01:31:54 UTC
This affects all versions of Ceph (I've tested with Ceph 12.2.12-r2 and checked Upstreams Git Master).

When cpu_flags_x86_sse4_1 is not set, then the ZlibCompressor is built with the isal_compress function still enabled but without the required ISA-L GZIP Library linked in.  This causes the test 'unittest_compression' to fail.

I just submitted a patch to upstream.


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2021-02-26 00:44:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c77e40c2758524359e5017bc695bf34991bda3

commit 30c77e40c2758524359e5017bc695bf34991bda3
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2021-02-26 00:42:53 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2021-02-26 00:44:08 +0000

    sys-cluster/ceph-14.2.16-r2: Revbump, drop libressl, fix objdump call
    
    Closes: https://bugs.gentoo.org/701618
    Closes: https://bugs.gentoo.org/733814
    Closes: https://bugs.gentoo.org/724522
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/ceph-14.2.16-r2.ebuild | 394 ++++++++++++++++++++++++++++++++
 1 file changed, 394 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113ee30b5fbc92ced3160824d5d7c0dd2881e40a

commit 113ee30b5fbc92ced3160824d5d7c0dd2881e40a
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2021-02-26 00:35:22 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2021-02-26 00:44:08 +0000

    sys-cluster/ceph-15.2.9: Version bump
    
    - Add patch to avoid SSE 4.1 functions when SSE 4.1 is disabled (bug
      #701618)
    - Don't call objdump directly (bug #733814)
    - Drop libressl support (closes bug #724522)
    - Add a dep on the new pmdk package (bug #52177)
    
    Closes: https://bugs.gentoo.org/701618
    Bug: https://bugs.gentoo.org/733814
    Closes: https://bugs.gentoo.org/724522
    Closes: https://bugs.gentoo.org/752177
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/Manifest                          |   1 +
 sys-cluster/ceph/ceph-15.2.9.ebuild                | 405 +++++++++++++++++++++
 ...ompile-isal_compress-if-don-t-have-SSE4_1.patch |  22 ++
 sys-cluster/ceph/files/rbdmap.initd-r1             | 122 +++++++
 4 files changed, 550 insertions(+)