Re: Ceph Pacific FTBFS in Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/25/21 1:26 PM, Thomas Goirand wrote:
> Hi,
> 
> After adding the patches from Kov Chai (thanks for it!), I now get this:
> 
> In file included from /<<PKGBUILDDIR>>/src/seastar/src/core/file.cc:28:
> /usr/include/boost/container/detail/copy_move_algo.hpp: In function
> ‘typename
> boost::move_detail::enable_if_c<(boost::container::dtl::is_memtransfer_copy_assignable<F,
> G>::value && true), void>::type
> boost::container::deep_swap_alloc_n(Allocator&, F, typename
> boost::container::allocator_traits<Allocator>::size_type, G, typename
> boost::container::allocator_traits<Allocator>::size_type)’:
> /usr/include/boost/container/detail/copy_move_algo.hpp:1083:10: error:
> ‘__fallthrough__’ was not declared in this scope; did you mean
> ‘fallthrough’?
>  1083 |          BOOST_FALLTHROUGH;
>       |          ^~~~~~~~~~~~~~~~~
> make[3]: *** [src/seastar/CMakeFiles/seastar.dir/build.make:121:
> src/seastar/CMakeFiles/seastar.dir/src/core/file.cc.o] Error 1
> 
> This is non-related to the said patches, I tried building without the
> patches, and the result is the same. This is a new error, probably due
> to some updates in Debian (maybe a new version of GCC?). Of course, I'm
> building in Debian Unstable (as this is the only place a DD can upload).
> 
> What's going on, and how to fix?
> 
> Cheers,
> 
> Thomas Goirand (zigo)
> 
> P.S: The Debian package source code is stored at:
> https://salsa.debian.org/ceph-team/ceph

Finally, this problem was more serious than previously thought, and
completely unrelated to Ceph itself. Xfsporgs exposes its headers
through /usr/include/xfs/linux.h, which defines the word "fallthrough"
globally:

#define fallthrough __attribute__((__fallthrough__))

As a result, the preprocessor defines it twice, with something like this:

__attribute__((____attribute__((__fallthrough__))__))

This clearly is a bug in XFS, and more largely, the Linux kernel where
that file is exported to userland.

More details here:

https://bugs.debian.org/1000974

At this point, I'll have to wait for the Debian bug to be resolved
before I can continue working on the Ceph Pacific packaging in Debian.

Cheers,

Thomas Goirand (zigo)
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux