[Bug 2120235] [NEW] ceph ftbfs with boost 1.88

Matthias Klose 2120235 at bugs.launchpad.net
Sat Aug 9 16:54:26 UTC 2025


Public bug reported:

seen in the ubuntu-toolchain-r/boost1.88 PPA:

cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem /<<PKGBUILDDIR>>/src/xxHash -isystem /<<PKGBUILDDIR>>/src/fmt/include -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/ceph-19.2.1-0ubuntu5 -Wdate-time -D_FORTIFY_SOURCE=3 -O2 -g -DNDEBUG -std=c++20 -fPIC   -U_FORTIFY_SOURCE -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fstack-protector-strong -fdiagnostics-color=auto -MD -MT src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o -MF CMakeFiles/common_buffer_obj.dir/buffer.cc.o.d -o CMakeFiles/common_buffer_obj.dir/buffer.cc.o -c /<<PKGBUILDDIR>>/src/common/buffer.cc
<command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
In file included from /<<PKGBUILDDIR>>/src/include/types.h:21,
                 from /<<PKGBUILDDIR>>/src/common/buffer.cc:23:
/<<PKGBUILDDIR>>/src/include/uuid.h: In member function ‘const char* uuid_d::bytes() const’:
/<<PKGBUILDDIR>>/src/include/uuid.h:63:12: error: invalid cast from type ‘const boost::uuids::uuid::data_type’ to type ‘const char*’
   63 |     return (const char*)uuid.data;
      |            ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [src/common/CMakeFiles/common_buffer_obj.dir/build.make:82: src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

** Affects: ceph (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: ftbfs rls-qq-incoming update-excuse

** Changed in: ceph (Ubuntu)
       Status: New => Confirmed

** Changed in: ceph (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs rls-qq-incoming update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2120235

Title:
  ceph ftbfs with boost 1.88

Status in ceph package in Ubuntu:
  Confirmed

Bug description:
  seen in the ubuntu-toolchain-r/boost1.88 PPA:

  cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/common && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include -I/<<PKGBUILDDIR>>/src -isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem /<<PKGBUILDDIR>>/src/xxHash -isystem /<<PKGBUILDDIR>>/src/fmt/include -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/ceph-19.2.1-0ubuntu5 -Wdate-time -D_FORTIFY_SOURCE=3 -O2 -g -DNDEBUG -std=c++20 -fPIC   -U_FORTIFY_SOURCE -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fstack-protector-strong -fdiagnostics-color=auto -MD -MT src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o -MF CMakeFiles/common_buffer_obj.dir/buffer.cc.o.d -o CMakeFiles/common_buffer_obj.dir/buffer.cc.o -c /<<PKGBUILDDIR>>/src/common/buffer.cc
  <command-line>: warning: ‘_FORTIFY_SOURCE’ redefined
  <command-line>: note: this is the location of the previous definition
  In file included from /<<PKGBUILDDIR>>/src/include/types.h:21,
                   from /<<PKGBUILDDIR>>/src/common/buffer.cc:23:
  /<<PKGBUILDDIR>>/src/include/uuid.h: In member function ‘const char* uuid_d::bytes() const’:
  /<<PKGBUILDDIR>>/src/include/uuid.h:63:12: error: invalid cast from type ‘const boost::uuids::uuid::data_type’ to type ‘const char*’
     63 |     return (const char*)uuid.data;
        |            ^~~~~~~~~~~~~~~~~~~~~~
  make[3]: *** [src/common/CMakeFiles/common_buffer_obj.dir/build.make:82: src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o] Error 1
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2120235/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list