I had a kernel panic after a kernel update so I decided to remove it from the kernel parameter. I tried using the collect binary again but it also resulted in a kernel panic. So I tried rebuilding the package but there are some build error
In file included from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:24,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh: In member function ‘void AuditListener::undoOneventParsed(void (T::*)(boost::shared_ptr<AuditEvent>), T*)’:
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:45:17: error: ‘_1’ was not declared in this scope
45 | #define BIND1ST _1
| ^~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:57:47: note: in definition of macro ‘VA_NUM_ARGS_IMPL’
57 | #define VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,N,...)N
| ^
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:56:43: note: in expansion of macro ‘BIND1ST’
56 | BIND1ST)
| ^~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:77:55: note: in expansion of macro ‘VA_NUM_ARGS’
77 | signame.disconnect(boost::bind(func, obj, VA_NUM_ARGS(args))); \
| ^~~~~~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:84:5: note: in expansion of macro ‘DECLARE_DISCONNECT_FUNCTION’
84 | DECLARE_DISCONNECT_FUNCTION(name,args) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:72:9: note: in expansion of macro ‘SIGNAL’
72 | SIGNAL(eventParsed, boost::shared_ptr<AuditEvent>);
| ^~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:45:17: note: suggested alternatives:
45 | #define BIND1ST _1
| ^~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:57:47: note: in definition of macro ‘VA_NUM_ARGS_IMPL’
57 | #define VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,N,...)N
| ^
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:56:43: note: in expansion of macro ‘BIND1ST’
56 | BIND1ST)
| ^~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:77:55: note: in expansion of macro ‘VA_NUM_ARGS’
77 | signame.disconnect(boost::bind(func, obj, VA_NUM_ARGS(args))); \
| ^~~~~~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:84:5: note: in expansion of macro ‘DECLARE_DISCONNECT_FUNCTION’
84 | DECLARE_DISCONNECT_FUNCTION(name,args) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:72:9: note: in expansion of macro ‘SIGNAL’
72 | SIGNAL(eventParsed, boost::shared_ptr<AuditEvent>);
| ^~~~~~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/filesystem/path.hpp:29,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/system/detail/error_category.hpp:17,
from /usr/include/boost/system/detail/error_code.hpp:13,
from /usr/include/boost/system/error_code.hpp:13,
from /usr/include/boost/filesystem/path_traits.hpp:22,
from /usr/include/boost/filesystem/path.hpp:26,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/c++/10.2.0/functional:221:34: note: ‘std::placeholders::_1’
221 | extern const _Placeholder<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/filesystem/path.hpp:29,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2335,
from /usr/include/boost/signals2/slot.hpp:15,
from /usr/include/boost/signals2/connection.hpp:25,
from /usr/include/boost/signals2/signal.hpp:22,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:42,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:24,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/bind/placeholders.hpp:58:38: note: ‘boost::placeholders::_1’
58 | BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/filesystem/path.hpp:29,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /tmp/e4rat-lite-git/src/e4rat-lite/src/eventcatcher.hh:25,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:26:
/tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc: In function ‘int main(int, char**)’:
/tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:444:92: error: ‘_1’ was not declared in this scope
444 | tParsed, boost::bind(&EventCatcher::handleAuditEvent, &project, _1));
| ^~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:90:62: note: in definition of macro ‘CONNECT’
90 | #define CONNECT(sender, signal, slot) (sender)->doOn##signal(slot)
| ^~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:444:92: note: suggested alternatives:
444 | tParsed, boost::bind(&EventCatcher::handleAuditEvent, &project, _1));
| ^~
/tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:90:62: note: in definition of macro ‘CONNECT’
90 | #define CONNECT(sender, signal, slot) (sender)->doOn##signal(slot)
| ^~~~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/filesystem/path.hpp:29,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/system/detail/error_category.hpp:17,
from /usr/include/boost/system/detail/error_code.hpp:13,
from /usr/include/boost/system/error_code.hpp:13,
from /usr/include/boost/filesystem/path_traits.hpp:22,
from /usr/include/boost/filesystem/path.hpp:26,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/c++/10.2.0/functional:221:34: note: ‘std::placeholders::_1’
221 | extern const _Placeholder<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/filesystem/path.hpp:29,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2335,
from /usr/include/boost/signals2/slot.hpp:15,
from /usr/include/boost/signals2/connection.hpp:25,
from /usr/include/boost/signals2/signal.hpp:22,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/signals.hh:42,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:24,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/bind/placeholders.hpp:58:38: note: ‘boost::placeholders::_1’
58 | BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
| ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/iterator_facade.hpp:13,
from /usr/include/boost/filesystem/path.hpp:29,
from /usr/include/boost/filesystem.hpp:16,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/common.hh:26,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/listener.hh:23,
from /tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:21:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
/tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc: In function ‘int system_u(const char*, const char*)’:
/tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:135:23: warning: ignoring return value of ‘int setuid(__uid_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
135 | setuid(pw->pw_uid);
| ~~~~~~^~~~~~~~~~~~
/tmp/e4rat-lite-git/src/e4rat-lite/src/e4rat-collect.cc:136:23: warning: ignoring return value of ‘int setgid(__gid_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
136 | setgid(pw->pw_gid);
| ~~~~~~^~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/e4rat-lite-collect.dir/build.make:82: src/CMakeFiles/e4rat-lite-collect.dir/e4rat-collect.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:270: src/CMakeFiles/e4rat-lite-collect.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Pinned Comments
cubethethird commented on 2016-09-13 01:51 (UTC)