Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.4.3
-
None
Description
Traditionally the Cassandra plugin has not been built in Debian as the Thrift library is not available there. Our own buildbot builders have had a manually installed Thrift library.
Since recently however libthrift-dev has been introduced into Debian repositories:
https://packages.debian.org/buster/libthrift-dev
I tried to build latest 10.4 using it but the build fails with:
}}
|
boost::shared_ptr<org::apache::cassandra::CassandraIf>; _Alloc = std::allocator<boost::shared_ptr<org::apache::cassandra::CassandraIf> >]'
|
/tmp/building/package/storage/cassandra/gen-cpp/Cassandra.h:5065:92: required from here
|
/usr/include/c++/8/ext/new_allocator.h:130:29: error: invalid application of 'sizeof' to incomplete type 'boost::shared_ptr<org::apache::cassandra::CassandraIf>'
|
{ return size_t(-1) / sizeof(_Tp); }
|
^~~~~~~~~~~
|
make[4]: *** [storage/cassandra/CMakeFiles/cassandra.dir/build.make:76: storage/cassandra/CMakeFiles/cassandra.dir/cassandra_se.cc.o] Error 1
|
make[4]: Leaving directory '/tmp/building/package/builddir'
|
{{
|
Full log at https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/149622
Are these failures something that could be fixed so that we could start building the Cassandra plugin everywhere?
Attachments
Issue Links
- is duplicated by
-
MDEV-21368 Cassandra Storage Engine does not compile with incomplete type since 10.3.20
-
- Closed
-
- relates to
-
MDEV-23024 Remove Cassandra Storage Engine
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Traditionally the Cassandra plugin has not been built in Debian as the Thrift library is not available there. Our own buildbot builders have had a manually installed Thrift library.
Since recently however libthrift-dev has been introduced into Debian repositories: https://packages.debian.org/buster/libthrift-dev I tried to build latest 10.4 using it but the build fails with: {{noformat}} boost::shared_ptr<org::apache::cassandra::CassandraIf>; _Alloc = std::allocator<boost::shared_ptr<org::apache::cassandra::CassandraIf> >]' /tmp/building/package/storage/cassandra/gen-cpp/Cassandra.h:5065:92: required from here /usr/include/c++/8/ext/new_allocator.h:130:29: error: invalid application of 'sizeof' to incomplete type 'boost::shared_ptr<org::apache::cassandra::CassandraIf>' { return size_t(-1) / sizeof(_Tp); } ^~~~~~~~~~~ make[4]: *** [storage/cassandra/CMakeFiles/cassandra.dir/build.make:76: storage/cassandra/CMakeFiles/cassandra.dir/cassandra_se.cc.o] Error 1 make[4]: Leaving directory '/tmp/building/package/builddir' {{noformat}} Full log at https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/149622 Are these failures something that could be fixed so that we could start building the Cassandra plugin everywhere? |
Traditionally the Cassandra plugin has not been built in Debian as the Thrift library is not available there. Our own buildbot builders have had a manually installed Thrift library.
Since recently however libthrift-dev has been introduced into Debian repositories: https://packages.debian.org/buster/libthrift-dev I tried to build latest 10.4 using it but the build fails with: {{{noformat}}} boost::shared_ptr<org::apache::cassandra::CassandraIf>; _Alloc = std::allocator<boost::shared_ptr<org::apache::cassandra::CassandraIf> >]' /tmp/building/package/storage/cassandra/gen-cpp/Cassandra.h:5065:92: required from here /usr/include/c++/8/ext/new_allocator.h:130:29: error: invalid application of 'sizeof' to incomplete type 'boost::shared_ptr<org::apache::cassandra::CassandraIf>' { return size_t(-1) / sizeof(_Tp); } ^~~~~~~~~~~ make[4]: *** [storage/cassandra/CMakeFiles/cassandra.dir/build.make:76: storage/cassandra/CMakeFiles/cassandra.dir/cassandra_se.cc.o] Error 1 make[4]: Leaving directory '/tmp/building/package/builddir' {{{noformat}}} Full log at https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/149622 Are these failures something that could be fixed so that we could start building the Cassandra plugin everywhere? |
Fix Version/s | N/A [ 14700 ] |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Resolution | Won't Fix [ 2 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 94121 ] | MariaDB v4 [ 156012 ] |
Thrift in Debian overview: https://tracker.debian.org/pkg/thrift