Tried installing the package both manually and by using yay, it gives me a build() error:
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shivodit/e4rat-lite-git/src/build
[ 5%] Building C object src/CMakeFiles/e4rat-lite-core.dir/config.c.o
[ 11%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/logging.cc.o
[ 16%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/common.cc.o
[ 22%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/fiemap.cc.o
[ 27%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/device.cc.o
In file included from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:20:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.hh:74:30: error: invalid use of incomplete type ‘class boost::shared_ptr<DevicePrivate>’
74 | class Device: private boost::shared_ptr<DevicePrivate>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/throw_exception.hpp:23,
from /usr/include/boost/regex/v5/regex_workaround.hpp:29,
from /usr/include/boost/regex/v5/regex.hpp:29,
from /usr/include/boost/regex.hpp:34,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/common.hh:27,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.hh:23,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:20:
/usr/include/boost/exception/exception.hpp:15:44: note: declaration of ‘class boost::shared_ptr<DevicePrivate>’
15 | namespace boost { template <class T> class shared_ptr; }
| ^~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In constructor ‘Device::Device(boost::filesystem::path)’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:97:14: error: type ‘boost::shared_ptr<DevicePrivate>’ is not a direct base of ‘Device’
97 | : boost::shared_ptr<DevicePrivate>(new DevicePrivate)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:107:9: error: ‘get’ was not declared in this scope
107 | get()->devno = st.st_rdev;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:107:9: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:109:9: error: ‘get’ was not declared in this scope
109 | get()->devno = st.st_dev;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:109:9: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In constructor ‘Device::Device(dev_t)’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:113:14: error: type ‘boost::shared_ptr<DevicePrivate>’ is not a direct base of ‘Device’
113 | : boost::shared_ptr<DevicePrivate>(new DevicePrivate)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:115:5: error: ‘get’ was not declared in this scope
115 | get()->devno = dev;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:115:5: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘void Device::parseMtabFile(const char*)’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:134:25: error: ‘get’ was not declared in this scope
134 | if(st.st_dev == get()->devno)
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:134:25: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘void Device::parseMtab()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:150:13: error: ‘get’ was not declared in this scope
150 | if( get()->fs_name == "ext2")
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:150:13: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘boost::filesystem::path Device::getMountPoint()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:162:8: error: ‘get’ was not declared in this scope
162 | if(get()->mount_point.empty())
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:162:8: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:165:12: error: ‘get’ was not declared in this scope
165 | return get()->mount_point;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:165:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘bool Device::open()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:176:45: error: ‘get’ was not declared in this scope
176 | 0, 0, unix_io_manager, &get()->fs))
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:176:45: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘std::string Device::getFileSystem()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:183:8: error: ‘get’ was not declared in this scope
183 | if(get()->fs_name.empty())
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:183:8: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:185:12: error: ‘get’ was not declared in this scope
185 | return get()->fs_name;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:185:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘int Device::getDevNameFromDevfs()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:205:26: error: ‘get’ was not declared in this scope
205 | if(st.st_rdev == get()->devno && S_ISBLK(st.st_mode))
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:205:26: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
In file included from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:35:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘int Device::getDevNameFromMajorMinor()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:221:23: error: ‘get’ was not declared in this scope
221 | int major = major(get()->devno);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:221:23: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘std::string Device::getDeviceName()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:284:12: error: ‘get’ was not declared in this scope
284 | return get()->deviceName;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:284:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘std::string Device::getDevicePath()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:293:8: error: ‘get’ was not declared in this scope
293 | if(get()->devicePath.empty())
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:293:8: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:295:12: error: ‘get’ was not declared in this scope
295 | return get()->devicePath;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:295:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
In file included from /usr/include/ext2fs/ext2fs.h:72,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.hh:26,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:20:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘bool Device::hasExtentFeature()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:339:38: error: ‘get’ was not declared in this scope
339 | return EXT2_HAS_INCOMPAT_FEATURE(get()->fs->super, EXT3_FEATURE_INCOMPAT_EXTENTS);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:339:38: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘__u32 Device::getBlockSize()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:434:12: error: ‘get’ was not declared in this scope
434 | return get()->fs->blocksize;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:434:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘__u32 Device::getGroupCount()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:439:12: error: ‘get’ was not declared in this scope
439 | return get()->fs->group_desc_count;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:439:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘__u64 Device::freeBlocksPerFlex()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:444:33: error: ‘get’ was not declared in this scope
444 | return FREE_BLOCKS_PER_FLEX(get()->fs);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:37:36: note: in definition of macro ‘BLOCKS_PER_GROUP’
37 | #define BLOCKS_PER_GROUP(fs) (fs->super->s_blocks_per_group)
| ^~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:44:36: note: in expansion of macro ‘FREE_BLOCKS_PER_GROUP’
44 | #define FREE_BLOCKS_PER_FLEX(fs) (FREE_BLOCKS_PER_GROUP(fs) << fs->super->s_log_groups_per_flex)
| ^~~~~~~~~~~~~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:444:12: note: in expansion of macro ‘FREE_BLOCKS_PER_FLEX’
444 | return FREE_BLOCKS_PER_FLEX(get()->fs);
| ^~~~~~~~~~~~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:444:33: note: suggested alternatives:
444 | return FREE_BLOCKS_PER_FLEX(get()->fs);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:37:36: note: in definition of macro ‘BLOCKS_PER_GROUP’
37 | #define BLOCKS_PER_GROUP(fs) (fs->super->s_blocks_per_group)
| ^~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:44:36: note: in expansion of macro ‘FREE_BLOCKS_PER_GROUP’
44 | #define FREE_BLOCKS_PER_FLEX(fs) (FREE_BLOCKS_PER_GROUP(fs) << fs->super->s_log_groups_per_flex)
| ^~~~~~~~~~~~~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:444:12: note: in expansion of macro ‘FREE_BLOCKS_PER_FLEX’
444 | return FREE_BLOCKS_PER_FLEX(get()->fs);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘__u64 Device::freeBlocksPerGroup()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:449:34: error: ‘get’ was not declared in this scope
449 | return FREE_BLOCKS_PER_GROUP(get()->fs);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:37:36: note: in definition of macro ‘BLOCKS_PER_GROUP’
37 | #define BLOCKS_PER_GROUP(fs) (fs->super->s_blocks_per_group)
| ^~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:449:12: note: in expansion of macro ‘FREE_BLOCKS_PER_GROUP’
449 | return FREE_BLOCKS_PER_GROUP(get()->fs);
| ^~~~~~~~~~~~~~~~~~~~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:449:34: note: suggested alternatives:
449 | return FREE_BLOCKS_PER_GROUP(get()->fs);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:37:36: note: in definition of macro ‘BLOCKS_PER_GROUP’
37 | #define BLOCKS_PER_GROUP(fs) (fs->super->s_blocks_per_group)
| ^~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:449:12: note: in expansion of macro ‘FREE_BLOCKS_PER_GROUP’
449 | return FREE_BLOCKS_PER_GROUP(get()->fs);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘__u32 Device::getBlocksPerGroup()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:454:29: error: ‘get’ was not declared in this scope
454 | return BLOCKS_PER_GROUP(get()->fs);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:37:36: note: in definition of macro ‘BLOCKS_PER_GROUP’
37 | #define BLOCKS_PER_GROUP(fs) (fs->super->s_blocks_per_group)
| ^~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:454:29: note: suggested alternatives:
454 | return BLOCKS_PER_GROUP(get()->fs);
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:37:36: note: in definition of macro ‘BLOCKS_PER_GROUP’
37 | #define BLOCKS_PER_GROUP(fs) (fs->super->s_blocks_per_group)
| ^~
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘__u32 Device::getLogGroupsPerFlex()’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:459:12: error: ‘get’ was not declared in this scope
459 | return get()->fs->super->s_log_groups_per_flex;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:459:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc: In member function ‘bool Device::operator<(const Device&) const’:
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:464:12: error: ‘get’ was not declared in this scope
464 | return get()->devno < other.get()->devno;
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:464:12: note: suggested alternatives:
In file included from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44,
from /usr/include/boost/lexical_cast.hpp:32,
from /home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:33:
/usr/include/boost/array.hpp:445:13: note: ‘std::get’
445 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/usr/include/boost/array.hpp:428:13: note: ‘boost::get’
428 | const T &get(const boost::array<T,N> &arr) BOOST_NOEXCEPT {
| ^~~
/home/shivodit/e4rat-lite-git/src/e4rat-lite/src/device.cc:464:33: error: ‘const class Device’ has no member named ‘get’
464 | return get()->devno < other.get()->devno;
| ^~~
make[2]: *** [src/CMakeFiles/e4rat-lite-core.dir/build.make:132: src/CMakeFiles/e4rat-lite-core.dir/device.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: src/CMakeFiles/e4rat-lite-core.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
cubethethird commented on 2016-09-13 01:51 (UTC)