Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794514 - sys-cluster/ceph-16.2.4 fails on app-arch/snappy-1.1.9
Summary: sys-cluster/ceph-16.2.4 fails on app-arch/snappy-1.1.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-06 05:21 UTC by strites
Modified: 2021-06-08 17:22 UTC (History)
3 users (show)

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


Attachments
emerge --info (file_794514.txt,8.70 KB, text/plain)
2021-06-06 05:22 UTC, strites
Details
build.log (build.log,164.87 KB, application/octet-stream)
2021-06-06 05:25 UTC, strites
Details

Note You need to log in before you can comment on or make changes to this bug.
Description strites 2021-06-06 05:21:03 UTC
[ 39%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o
[ 40%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_service.cc.o
[ 40%] Building CXX object src/journal/CMakeFiles/journal.dir/Future.cc.o
[ 40%] Linking CXX shared library ../../lib/libcls_cas.so
/usr/lib/distcc/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libcls_cas.so.1 -o ../../lib/libcls_cas.so.1.0.0 CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o  ../../lib/libcls_cas_internal.a
[ 41%] Building CXX object src/journal/CMakeFiles/journal.dir/FutureImpl.cc.o
In file included from /var/tmp/portage/sys-cluster/ceph-16.2.4/work/ceph-16.2.4/src/compressor/snappy/CompressionPluginSnappy.h:20,
                 from /var/tmp/portage/sys-cluster/ceph-16.2.4/work/ceph-16.2.4/src/compressor/snappy/CompressionPluginSnappy.cc:20:
/var/tmp/portage/sys-cluster/ceph-16.2.4/work/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h: In member function ‘virtual int SnappyCompressor::decompress(ceph::buffer::v15_2_0::list::const_iterator&, size_t, ceph::bufferlist&, boost::optional<int>)’:
/var/tmp/portage/sys-cluster/ceph-16.2.4/work/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h:100:13: error: ‘uint32’ is not a member of ‘snappy’
  100 |     snappy::uint32 res_len = 0;
      |             ^~~~~~
/var/tmp/portage/sys-cluster/ceph-16.2.4/work/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h:102:52: error: ‘res_len’ was not declared in this scope
  102 |     if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
      |                                                    ^~~~~~~
/var/tmp/portage/sys-cluster/ceph-16.2.4/work/ceph-16.2.4/src/compressor/snappy/SnappyCompressor.h:106:25: error: ‘res_len’ was not declared in this scope
  106 |     ceph::bufferptr ptr(res_len);
      |

Reproducible: Always

Steps to Reproduce:
1.emerge -vau ceph
2.emerge -vauDN ceph
3.emerge -vea ceph
Comment 1 strites 2021-06-06 05:22:00 UTC
Created attachment 713856 [details]
emerge --info
Comment 2 strites 2021-06-06 05:25:34 UTC
Created attachment 713859 [details]
build.log
Comment 3 strites 2021-06-08 12:44:45 UTC
downgraded snappy to 1.1.8 and it compiled
Comment 4 Larry the Git Cow gentoo-dev 2021-06-08 17:22:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b85ed598b5952726d4ec724b4478605d5aaa50

commit 13b85ed598b5952726d4ec724b4478605d5aaa50
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2021-06-08 17:22:22 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2021-06-08 17:22:45 +0000

    sys-cluster/ceph-16.2.4-r1: Revbump, force snappy < 1.1.9 (bug #794514)
    
    Closes: https://bugs.gentoo.org/794514
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/{ceph-16.2.4.ebuild => ceph-16.2.4-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)