ceph/src/compressor
Andriy Tkachuk 3b3da64d74 compressor: fix rpmbuild on RHEL-8
When building rpms on latest RHEL-8.6:

    [  0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o
    In file included from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/config_values.h:59,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/config.h:27,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/config_proxy.h:6,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/ceph_context.h:41,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/compressor/Compressor.cc:23:
    /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/options/legacy_config_opts.h:1:10: fatal error: global_legacy_options.h: No such file or directory
        1 | #include "global_legacy_options.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [src/compressor/CMakeFiles/compressor_objs.dir/build.make:76: src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:7964: src/compressor/CMakeFiles/compressor_objs.dir/all] Error 2
    make: *** [Makefile:146: all] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.1CBUsC (%build)

    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.1CBUsC (%build)

Solution: add legacy-option-headers dependency to compressor_objs.

Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
2022-09-28 20:34:22 +01:00
..
brotli cmake: set GIT_SHALLOW and UPDATE_DISCONNECTED 2020-11-06 01:20:25 +08:00
lz4 compressor: s/boost::optional/std::optional/ 2022-03-23 00:27:40 +08:00
snappy compressor: s/boost::optional/std::optional/ 2022-03-23 00:27:40 +08:00
zlib Merge pull request #44762 from Zhiwei-Dai/wip-zlib-compressor-isal-for-aarch64 2022-07-28 07:34:04 +08:00
zstd compressor: s/boost::optional/std::optional/ 2022-03-23 00:27:40 +08:00
CMakeLists.txt compressor: fix rpmbuild on RHEL-8 2022-09-28 20:34:22 +01:00
CompressionPlugin.h compressor: put Compressor into TOPNSPC namespace 2020-12-06 12:13:42 +08:00
Compressor.cc compressor: s/boost::optional/std::optional/ 2022-03-23 00:27:40 +08:00
Compressor.h compressor: s/boost::optional/std::optional/ 2022-03-23 00:27:40 +08:00
QatAccel.cc Merge pull request #45806 from hualongfeng/qat_error_fix1 2022-06-09 10:50:24 -04:00
QatAccel.h compressor: s/boost::optional/std::optional/ 2022-03-23 00:27:40 +08:00