Summary: | sys-cluster/ceph-14.2.1: error: ‘void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(size_t)’ cannot be overloaded with ‘void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(unsigned int)’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cluster, dlan, zmedico |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 684860 | ||
Attachments: | build.log |
Description
Thomas Deutschmann (RETIRED)
2019-06-04 13:20:41 UTC
Any hope for this to be fixed? I am happy to accept patches to fix this, I am not familiar enough with C++ to fix it myself same test failure in 14.2.2? Yes, same error:
> [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/file_indexer.cc.o
> /usr/bin/i686-pc-linux-gnu-g++ -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -DSNAPPY -DZLIB -I/var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/rocksdb -I/var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/rocksdb/include -isystem /var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/rocksdb/third-party/gtest-1.7.0/fused-src -O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-strict-aliasing -std=c++11 -fno-omit-frame-pointer -momit-leaf-frame-pointer -fno-builtin-memcmp -fPIC -o CMakeFiles/rocksdb.dir/db/file_indexer.cc.o -c /var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/rocksdb/db/file_indexer.cc
> In file included from /var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/include/rados/rados_types.hpp:10,
> from /var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/librados/snap_set_diff.h:8,
> from /var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/librados/snap_set_diff.cc:6: /var/tmp/portage/sys-cluster/ceph-14.2.2/work/ceph-14.2.2/src/include/rados/buffer.h:740:12: error: ‘void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(size_t)’ cannot be overloaded with ‘void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(unsigned int)’
> void advance(size_t o) { advance(static_cast<unsigned>(o)); }
> ^~~~~~~
>
This error means that size_t and unsigned int are the same type on x86. Maybe drop the x86 keyword. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b2b02c6ba86ca2e4d36ee847fa4cca88dc46c2 commit c7b2b02c6ba86ca2e4d36ee847fa4cca88dc46c2 Author: Patrick McLean <patrick.mclean@sony.com> AuthorDate: 2019-09-17 22:55:07 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2019-09-17 22:55:52 +0000 sys-cluster/ceph: Version bump to 14.2.4, drop x86 (bug 687344) Dropped x86 keyword since it doesn't build (bug #687344) Upstream fix for bug #694140 included in release Closes: https://bugs.gentoo.org/687344 Closes: https://bugs.gentoo.org/694140 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> sys-cluster/ceph/Manifest | 1 + sys-cluster/ceph/ceph-14.2.4.ebuild | 356 +++++++++++++++++++++ .../files/ceph-14.2.3-dpdk-compile-fix-1.patch | 111 +++++++ 3 files changed, 468 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2693235c669496270026d868d9dc856a2b1a84d7 commit 2693235c669496270026d868d9dc856a2b1a84d7 Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2020-02-05 22:45:04 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-02-05 22:47:32 +0000 profiles: x86: mask USE flags that pull in sys-cluster/ceph Bug: https://bugs.gentoo.org/708294 Bug: https://bugs.gentoo.org/687344 Signed-off-by: Patrick McLean <patrick.mclean@sony.com> Signed-off-by: Patrick McLean <chutzpah@gentoo.org> profiles/arch/x86/package.use.mask | 15 +++++++++++++++ 1 file changed, 15 insertions(+) |