Package Details: e4rat-lite-git 2.7.r90.ebf7d86-2

Git Clone URL: https://aur.archlinux.org/e4rat-lite-git.git (read-only, click to copy)
Package Base: e4rat-lite-git
Description: An improved version of e4rat, a toolset to accelerate the boot process and application startups.
Upstream URL: https://github.com/LendyZhang/e4rat-lite
Licenses: GPL3
Conflicts: e4rat-lite, e4rat-preload-lite, e4rat-preload-lite-git, ureadahead
Submitter: cubethethird
Maintainer: None
Last Packager: cubethethird
Votes: 6
Popularity: 0.000000
First Submitted: 2016-07-28 01:59 (UTC)
Last Updated: 2022-03-30 00:32 (UTC)

Pinned Comments

cubethethird commented on 2016-09-13 01:51 (UTC)

This package provides some improvements over the original e4rat package, and circumvents some usability issues. To use the tools included with the package, follow the instructions upstream: https://github.com/ShyPixie/e4rat-lite#how-to-use Note that in order to use the audit tools, a kernel build with auditing support enabled is required.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

HotDogEnemy commented on 2021-06-22 12:38 (UTC)

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...

normalname012 commented on 2021-06-14 13:51 (UTC) (edited on 2021-06-14 13:53 (UTC) by normalname012)

[ 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/sathya/.cache/yay/e4rat-lite-git/src/e4rat-lite/src/device.cc:20:
/home/sathya/.cache/yay/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/sathya/.cache/yay/e4rat-lite-git/src/e4rat-lite/src/common.hh:27,
                 from /home/sathya/.cache/yay/e4rat-lite-git/src/e4rat-lite/src/device.hh:23,
                 from /home/sathya/.cache/yay/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/sathya/.cache/yay/e4rat-lite-git/src/e4rat-lite/src/device.cc: In constructor ‘Device::Device(boost::filesystem::path)’:
/home/sathya/.cache/yay/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/sathya/.cache/yay/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;
      |         ^~~

I keep getting this error while building, not sure what to do

cubethethird commented on 2021-03-29 15:03 (UTC)

Your log shows /bin/sh: line 1: pod2man: command not found

Either your environment variables are messed up, or you don't have perl installed correctly (which provides that command).

Gotit commented on 2021-03-28 19:50 (UTC)

Gave it a shot, not much difference (I think)

$makepkg -s
==> Making package: e4rat-lite-git 2.7.r89.896e93a-1 (Sun 28 Mar 2021 03:44:51 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning e4rat-lite git repo...
Cloning into bare repository '/home/gotit/Downloads/e4rat/e4rat-lite-git/e4rat-lite'...
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 520 (delta 0), reused 1 (delta 0), pack-reused 515
Receiving objects: 100% (520/520), 201.02 KiB | 1.90 MiB/s, done.
Resolving deltas: 100% (286/286), done.
  -> Found e4rat-lite-git.install
  -> Found e4rat-lite-git-update.hook
==> Validating source files with md5sums...
    e4rat-lite ... Skipped
    e4rat-lite-git.install ... Passed
    e4rat-lite-git-update.hook ... Passed
==> Extracting sources...
  -> Creating working copy of e4rat-lite git repo...
Cloning into 'e4rat-lite'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found suitable version "1.75.0", minimum required is "1.41") found components: system filesystem regex CMake Deprecation Warning at src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.

-- Found ext2fs: /usr/lib/libext2fs.so -- Found audit: /usr/lib/libaudit.so -- Found auparse: /usr/lib/libauparse.so -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
CMake Deprecation Warning at doc/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at po/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.

-- Found Gettext: /usr/bin/msgmerge (found version "0.21") -- Configuring done -- Generating done -- Build files have been written to: /home/gotit/Downloads/e4rat/e4rat-lite-git/src/build /bin/sh: line 1: pod2man: command not found make[2]: [doc/CMakeFiles/ManPages.dir/build.make:70: ManPages] Error 127 make[1]: [CMakeFiles/Makefile2:271: doc/CMakeFiles/ManPages.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 5%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/logging.cc.o [ 11%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/common.cc.o [ 16%] Generating pt_BR.gmo [ 22%] Building C object src/CMakeFiles/e4rat-lite-core.dir/config.c.o [ 27%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/fiemap.cc.o [ 33%] Building CXX object src/CMakeFiles/e4rat-lite-core.dir/device.cc.o [ 33%] Built target pofiles [ 38%] Linking CXX shared library /home/gotit/Downloads/e4rat/e4rat-lite-git/src/e4rat-lite/libe4rat-lite-core.so [ 38%] Built target e4rat-lite-core make: [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

cubethethird commented on 2021-03-28 02:57 (UTC)

@Gotit, please try to build the package manually using makepkg

Gotit commented on 2021-02-21 15:05 (UTC)

@cubethethird I'm building via Pamac 10.0.4-1. Not sure how to check if I have a clean environment. However, all other packages install and build OK.

cubethethird commented on 2021-02-05 03:31 (UTC)

@Gotit, how are you building the package? I've just tested and do not have issue. Can you ensure you are using a clean environment?

Gotit commented on 2021-02-03 17:49 (UTC) (edited on 2021-02-03 17:51 (UTC) by Gotit)

Getting a Make error:

[ 38%] Built target e4rat-lite-core

make: *** [Makefile:149: all] Error 2

==> ERROR: A failure occurred in build(). Aborting...

cubethethird commented on 2021-01-17 22:12 (UTC)

Discovered that there was a fork of the upstream with patches to fix the build issues. The package has been updated and should now work normally.