Zygo / bees

Best-Effort Extent-Same, a btrfs dedupe agent
GNU General Public License v3.0
630 stars 57 forks source link

Build Failed #220

Open T1MOXA opened 2 years ago

T1MOXA commented 2 years ago

gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

~/git/bees# make
make PREFIX=/usr LIBEXEC_PREFIX=/usr/lib/bees ETC_PREFIX=/etc TAG="v0.7-53-ga520628" -C lib
make[1]: Entering directory '/root/git/bees/lib'
g++ -Wall -Wextra -Werror -O3 -I../include -D_FILE_OFFSET_BITS=64 -std=c++11 -Wold-style-cast -Wno-missing-field-initializers  -o fs.o -c fs.cc
fs.cc: In constructor ‘crucible::BtrfsIoctlSearchKey::BtrfsIoctlSearchKey(size_t)’:
fs.cc:749:3: sorry, unimplemented: non-trivial designated initializers not supported
   }),
   ^
fs.cc:749:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc:749:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc:749:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc:749:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc: In constructor ‘crucible::BtrfsIoctlFsInfoArgs::BtrfsIoctlFsInfoArgs()’:
fs.cc:1157:3: sorry, unimplemented: non-trivial designated initializers not supported
   })
   ^
Makefile:50: recipe for target 'fs.o' failed
make[1]: *** [fs.o] Error 1
make[1]: Leaving directory '/root/git/bees/lib'
Makefile:34: recipe for target 'lib' failed
make: *** [lib] Error 2
saimonn commented 1 year ago

same error on Debian Stretch 9.13, gcc 6.3.0-18+deb9u1, trying to compile bees d6732c58e29b6f969e8b53c16541d1572a31c485 on armv7l architecture

make PREFIX=/usr LIBEXEC_PREFIX=/usr/lib/bees ETC_PREFIX=/etc TAG="v0.9.3-13-gd6732c5" -C lib
make[1]: Entering directory '/root/dev/bees/lib'
g++ -Wall -Wextra -Werror -O3 -I../include -D_FILE_OFFSET_BITS=64 -std=c++11 -Wold-style-cast -Wno-missing-field-initializers  -o fs.o -c fs.cc
fs.cc: In member function ‘bool crucible::BtrfsIoctlLogicalInoArgs::do_ioctl_nothrow(int)’:
fs.cc:337:3: sorry, unimplemented: non-trivial designated initializers not supported
   };
   ^
fs.cc: In member function ‘void crucible::Fiemap::do_ioctl(int)’:
fs.cc:699:4: sorry, unimplemented: non-trivial designated initializers not supported
    };
    ^
fs.cc: In constructor ‘crucible::BtrfsIoctlSearchKey::BtrfsIoctlSearchKey(size_t)’:
fs.cc:735:3: sorry, unimplemented: non-trivial designated initializers not supported
   }),
   ^
fs.cc:735:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc:735:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc:735:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc:735:3: sorry, unimplemented: non-trivial designated initializers not supported
fs.cc: In constructor ‘crucible::BtrfsIoctlFsInfoArgs::BtrfsIoctlFsInfoArgs()’:
fs.cc:1122:3: sorry, unimplemented: non-trivial designated initializers not supported
   })
   ^
Makefile:39: recipe for target 'fs.o' failed
make[1]: *** [fs.o] Error 1