Bug 1217232 - bees does not build on Leap 15.6
Summary: bees does not build on Leap 15.6
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: David Sterba
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-16 13:27 UTC by Lubos Kocman
Modified: 2024-05-09 10:53 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kocman 2023-11-16 13:27:36 UTC
Hello

bees does not build on Leap 15.6 this should be fixed before Beta (Feb 2023)
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6
https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/bees/standard/x86_64

[   23s] /usr/include/linux/btrfs.h:667:43: error: flexible array member 'btrfs_ioctl_same_args::info' not at end of 'struct crucible::BtrfsExtentSame'
[   23s]   struct btrfs_ioctl_same_extent_info info[];
[   23s]                                            ^
[   23s] In file included from extentwalker.cc:5:0:
[   23s] ../include/crucible/fs.h:40:7: note: next member 'int crucible::BtrfsExtentSame::m_fd' declared here
[   23s]    int m_fd;
[   23s]        ^~~~
[   23s] ../include/crucible/fs.h:34:9: note: in the definition of 'struct crucible::BtrfsExtentSame'
[   23s]   struct BtrfsExtentSame : public btrfs_ioctl_same_args {
[   23s]          ^~~~~~~~~~~~~~~
[   23s] In file included from ../include/crucible/btrfs.h:17:0,
[   23s]                  from ../include/crucible/fs.h:11,
[   23s]                  from extentwalker.cc:5:
[   23s] /usr/include/linux/btrfs.h:687:12: error: flexible array member 'btrfs_data_container::val' not at end of 'struct crucible::BtrfsDataContainer'
[   23s]   __u64 val[];  /* out */
[   23s]             ^
[   23s] In file included from extentwalker.cc:5:0:
[   23s] ../include/crucible/fs.h:66:19: note: next member 'std::vector<unsigned char> crucible::BtrfsDataContainer::m_data' declared here
[   23s]    vector<uint8_t> m_data;
[   23s]                    ^~~~~~
[   23s] ../include/crucible/fs.h:56:9: note: in the definition of 'struct crucible::BtrfsDataContainer'
[   23s]   struct BtrfsDataContainer : public btrfs_data_container {
[   23s]          ^~~~~~~~~~~~~~~~~~
[   23s] In file included from ../include/crucible/fs.h:14:0,
[   23s]                  from extentwalker.cc:5:
[   23s] /usr/include/linux/fiemap.h:37:34: error: flexible array member 'fiemap::fm_extents' not at end of 'struct crucible::Fiemap'
[   23s]   struct fiemap_extent fm_extents[]; /* array of mapped extents (out) */
[   23s]                                   ^
[   23s] In file included from extentwalker.cc:5:0:
[   23s] ../include/crucible/fs.h:155:24: note: next member 'std::vector<crucible::FiemapExtent> crucible::Fiemap::m_extents' declared here
[   23s]    vector<FiemapExtent> m_extents;
[   23s]                         ^~~~~~~~~
[   23s] ../include/crucible/fs.h:144:9: note: in the definition of 'struct crucible::Fiemap'
[   23s]   struct Fiemap : public fiemap {
[   23s]          ^~~~~~
[   23s] make[1]: *** [Makefile:48: extentwalker.o] Error 1
[   23s] make[1]: *** Waiting for unfinished jobs....
[   23s] In file included from ../include/crucible/btrfs.h:17:0,
[   23s]                  from ../include/crucible/fs.h:11,
[   23s]                  from fs.cc:1:
[   23s] /usr/include/linux/btrfs.h:667:43: error: flexible array member 'btrfs_ioctl_same_args::info' not at end of 'struct crucible::BtrfsExtentSame'
[   23s]   struct btrfs_ioctl_same_extent_info info[];
[   23s]                                            ^
[   23s] In file included from fs.cc:1:0:
[   23s] ../include/crucible/fs.h:40:7: note: next member 'int crucible::BtrfsExtentSame::m_fd' declared here
[   23s]    int m_fd;
[   23s]        ^~~~
[   23s] ../include/crucible/fs.h:34:9: note: in the definition of 'struct crucible::BtrfsExtentSame'
[   23s]   struct BtrfsExtentSame : public btrfs_ioctl_same_args {
[   23s]          ^~~~~~~~~~~~~~~
[   23s] In file included from ../include/crucible/btrfs.h:17:0,
[   23s]                  from ../include/crucible/fs.h:11,
[   23s]                  from fs.cc:1:
[   23s] /usr/include/linux/btrfs.h:687:12: error: flexible array member 'btrfs_data_container::val' not at end of 'struct crucible::BtrfsDataContainer'
[   23s]   __u64 val[];  /* out */
[   23s]             ^
[   23s] In file included from fs.cc:1:0:
[   23s] ../include/crucible/fs.h:66:19: note: next member 'std::vector<unsigned char> crucible::BtrfsDataContainer::m_data' declared here
[   23s]    vector<uint8_t> m_data;
[   23s]                    ^~~~~~
[   23s] ../include/crucible/fs.h:56:9: note: in the definition of 'struct crucible::BtrfsDataContainer'
[   23s]   struct BtrfsDataContainer : public btrfs_data_container {
[   23s]          ^~~~~~~~~~~~~~~~~~
[   23s] In file included from ../include/crucible/fs.h:14:0,
[   23s]                  from fs.cc:1:
[   23s] /usr/include/linux/fiemap.h:37:34: error: flexible array member 'fiemap::fm_extents' not at end of 'struct crucible::Fiemap'
[   23s]   struct fiemap_extent fm_extents[]; /* array of mapped extents (out) */
[   23s]                                   ^
[   23s] In file included from fs.cc:1:0:
[   23s] ../include/crucible/fs.h:155:24: note: next member 'std::vector<crucible::FiemapExtent> crucible::Fiemap::m_extents' declared here
[   23s]    vector<FiemapExtent> m_extents;
[   23s]                         ^~~~~~~~~
[   23s] ../include/crucible/fs.h:144:9: note: in the definition of 'struct crucible::Fiemap'
[   23s]   struct Fiemap : public fiemap {
[   23s]          ^~~~~~
[   23s] make[1]: *** [Makefile:48: fs.o] Error 1
[   24s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/bees-0.7/lib'
[   24s] make: *** [Makefile:34: lib] Error 2
[   24s] error: Bad exit status from /var/tmp/rpm-tmp.rcToPR (%build)
Comment 1 David Sterba 2024-05-09 10:53:50 UTC
Bees builds fine on 15.6 since SR 1156387.