Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722882 - sys-fs/e4rat-0.2.4_pre20141201-r1 fails src_compile : error: ‘_1’ was not declared in this scope
Summary: sys-fs/e4rat-0.2.4_pre20141201-r1 fails src_compile : error: ‘_1’ was not de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-05-13 20:25 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2021-09-17 13:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log and einfo (log.gz,8.71 KB, text/plain)
2020-05-13 20:25 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-05-13 20:25:27 UTC
Created attachment 638662 [details]
full build log and einfo

Boost upgrade related?



[ 61%] Building CXX object src/CMakeFiles/e4rat-collect.dir/e4rat-collect.cc.o
cd /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_FILESYSTEM_VERSION=3 -DDEBUG_ENABLED -DPROGRAM_NAME=\"e4rat\" -DVERSION=\"0.2.3\"   -DNDEBUG -O2 -pipe -mtune=native -march=native   -Wall -ggdb -o CMakeFiles/e4rat-collect.dir/e4rat-collect.cc.o -c /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc
cd /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_FILESYSTEM_VERSION=3 -DDEBUG_ENABLED -DPROGRAM_NAME=\"e4rat\" -DVERSION=\"0.2.3\"   -DNDEBUG -O2 -pipe -mtune=native -march=native   -Wall -ggdb -o CMakeFiles/e4rat-preload.dir/e4rat-preload.cc.o -c /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-preload.cc
In file included from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:24,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh: In member function ‘void AuditListener::undoOneventParsed(void (T::*)(boost::shared_ptr<AuditEvent>), T*)’:
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:45:17: error: ‘_1’ was not declared in this scope
   45 | #define BIND1ST _1
      |                 ^~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/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
      |                                               ^
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:56:43: note: in expansion of macro ‘BIND1ST’
   56 |                                           BIND1ST)
      |                                           ^~~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:77:55: note: in expansion of macro ‘VA_NUM_ARGS’
   77 |             signame.disconnect(boost::bind(func, obj, VA_NUM_ARGS(args)));  \
      |                                                       ^~~~~~~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:84:5: note: in expansion of macro ‘DECLARE_DISCONNECT_FUNCTIO ’
   84 |     DECLARE_DISCONNECT_FUNCTION(name,args)                                  \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:72:9: note: in expansion of macro ‘SIGNAL’
   72 |         SIGNAL(eventParsed, boost::shared_ptr<AuditEvent>);
      |         ^~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:45:17: note: suggested alternatives:
   45 | #define BIND1ST _1
      |                 ^~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/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
      |                                               ^
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:56:43: note: in expansion of macro ‘BIND1ST’
   56 |                                           BIND1ST)
      |                                           ^~~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:77:55: note: in expansion of macro ‘VA_NUM_ARGS’
   77 |             signame.disconnect(boost::bind(func, obj, VA_NUM_ARGS(args)));  \
      |                                                       ^~~~~~~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:84:5: note: in expansion of macro ‘DECLARE_DISCONNECT_FUNCTIO ’
   84 |     DECLARE_DISCONNECT_FUNCTION(name,args)                                  \
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/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/error_code.hpp:19,
                 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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/functional:211:34: note:   ‘std::placeholders::_1’
  211 |     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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/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:2356,
                 from /usr/include/boost/signals2/slot.hpp:15,
                 from /usr/include/boost/signals2/connection.hpp:24,
                 from /usr/include/boost/signals2/signal.hpp:22,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:42,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:24,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/usr/include/boost/bind/placeholders.hpp:46:38: note:   ‘boost::placeholders::_1’
   46 | 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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   ‘mpl_::_1’
   29 | typedef arg<1> _1;
      |                ^~
In file included from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/eventcatcher.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:23:
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc: In function ‘int main(int, char**)’:
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:426:92: error: ‘_1’ was not declared in this scope
  426 |     CONNECT(&listener, eventParsed, boost::bind(&EventCatcher::handleAuditEvent, &project, _1));
      |                                                                                            ^~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:90:62: note: in definition of macro ‘CONNECT’
   90 | #define CONNECT(sender, signal, slot) (sender)->doOn##signal(slot)
      |                                                              ^~~~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:426:92: note: suggested alternatives:
  426 |     CONNECT(&listener, eventParsed, boost::bind(&EventCatcher::handleAuditEvent, &project, _1));
      |                                                                                            ^~
/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/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/error_code.hpp:19,
                 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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/functional:211:34: note:   ‘std::placeholders::_1’
  211 |     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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/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:2356,
                 from /usr/include/boost/signals2/slot.hpp:15,
                 from /usr/include/boost/signals2/connection.hpp:24,
                 from /usr/include/boost/signals2/signal.hpp:22,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/signals.hh:42,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:24,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/usr/include/boost/bind/placeholders.hpp:46:38: note:   ‘boost::placeholders::_1’
   46 | 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 /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/common.hh:25,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/listener.hh:23,
                 from /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/e4rat-collect.cc:20:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   ‘mpl_::_1’
   29 | typedef arg<1> _1;
      |                ^~
[ 66%] Building CXX object src/CMakeFiles/e4rat-realloc.dir/defrag.cc.o
cd /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_FILESYSTEM_VERSION=3 -DDEBUG_ENABLED -DPROGRAM_NAME=\"e4rat\" -DVERSION=\"0.2.3\"   -DNDEBUG -O2 -pipe -mtune=native -march=native   -Wall -ggdb -o CMakeFiles/e4rat-realloc.dir/defrag.cc.o -c /var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201/src/defrag.cc
make[2]: *** [src/CMakeFiles/e4rat-collect.dir/build.make:83: src/CMakeFiles/e4rat-collect.dir/e4rat-collect.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-fs/e4rat-0.2.4_pre20141201-r1/work/e4rat-0.2.4_pre20141201_build'
make[1]: *** [CMakeFiles/Makefile2:250: src/CMakeFiles/e4rat-collect.dir/all] Error 2
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-05-13 20:27:07 UTC
dev-libs/boost-1.73.0::gentoo was built with the following:
USE="bzip2 lzma nls numpy python threads zlib zstd -context -debug -doc -icu -mpi -static-libs -tools" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_7 python3_8 -python2_7 -python3_6"
CXXFLAGS="-O2 -pipe -mtune=native -march=native -std=c++14"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-17 02:55:17 UTC
Not specific to Boost 1.77 specifically but it was introduced by a Boost upgrade, so let's add the blocker.
Comment 3 Larry the Git Cow gentoo-dev 2021-08-17 15:16:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14a48f817e9ea14669729244f295320ed376419

commit f14a48f817e9ea14669729244f295320ed376419
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-17 15:16:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-17 15:16:17 +0000

    profiles: last-rite sys-fs/e4rat
    
    Bug: https://bugs.gentoo.org/722882
    Bug: https://bugs.gentoo.org/742290
    Bug: https://bugs.gentoo.org/808673
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-09-17 13:40:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8095b415ffb83d2795a96c2e7ab03527a505736f

commit 8095b415ffb83d2795a96c2e7ab03527a505736f
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-09-16 12:15:50 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-09-17 13:40:02 +0000

    sys-fs/e4rat: Remove last-rited package
    
    Closes: https://bugs.gentoo.org/722882
    Closes: https://bugs.gentoo.org/808673
    Closes: https://bugs.gentoo.org/742290
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                             |  6 --
 sys-fs/e4rat/Manifest                             |  1 -
 sys-fs/e4rat/e4rat-0.2.4_pre20141201-r1.ebuild    | 63 -------------------
 sys-fs/e4rat/files/e4rat-0.2.2-libdir.patch       | 14 -----
 sys-fs/e4rat/files/e4rat-0.2.2-shared-build.patch | 74 -----------------------
 sys-fs/e4rat/files/e4rat-0.2.4-gcc6.patch         | 11 ----
 sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch       | 41 -------------
 sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch    | 13 ----
 sys-fs/e4rat/metadata.xml                         | 11 ----
 9 files changed, 234 deletions(-)