Skip to content

Instantly share code, notes, and snippets.

@mmlac

mmlac/autoreconf Secret

Created June 3, 2017 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmlac/213eac9b526e7703ecf8b9ded45db179 to your computer and use it in GitHub Desktop.
Save mmlac/213eac9b526e7703ecf8b9ded45db179 to your computer and use it in GitHub Desktop.
Folly build fail
~/code/cpp/folly/folly ()$ autoreconf -ivf [2.3.1]
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:32: installing 'build-aux/compile'
configure.ac:27: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory `.'
~/code/cpp/folly/folly ()$ ./configure [2.3.1]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking if g++ supports C++1y features without additional flags... yes
checking if g++ supports C++1y features with -std=c++1y... yes
checking if g++ supports C++1y features with -std=gnu++1y... yes
checking whether -Wshadow-local and -Wshadow-compatible-local are supported... yes
checking for main in -lgflags... yes
checking for gflags viability... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gflags... yes
checking for main in -lglog... yes
checking for glog viability... yes
checking for libglog... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking for openssl... yes
checking for boostlib >= 1.51.0... yes
checking whether the Boost::Context library is available... yes
checking for exit in -lboost_context... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... yes
checking for python... /usr/bin/python
checking for python version... 3.6
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.6/site-packages
checking for ANSI C header files... (cached) yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking bits/functexcept.h usability... yes
checking bits/functexcept.h presence... yes
checking for bits/functexcept.h... yes
checking bits/c++config.h usability... yes
checking bits/c++config.h presence... yes
checking for bits/c++config.h... yes
checking double-conversion/double-conversion.h usability... yes
checking double-conversion/double-conversion.h presence... yes
checking for double-conversion/double-conversion.h... yes
checking for ceil in -ldouble-conversion... yes
checking for event_set in -levent... yes
checking for libevent... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking for __int128... yes
checking for __int128 type traits... yes
checking for pthread_spinlock_t... yes
checking for ifunc support... yes
checking for final and override support... yes
checking for libc++... no
checking for c++11 atomic support without GNU Atomic library... yes
checking for main in -ldl... yes
checking for liblinux-vdso support... yes
checking for usable std::is_trivially_copyable... yes
checking gflags namespace... gflags
checking for weak symbol support... yes
checking for wchar support... yes
checking for unaligned access support... yes
checking for vsnprintf reporting bad format strings... no
checking for library containing cplus_demangle_v3_callback... -liberty
checking for library containing clock_gettime... none required
checking for pthread_atfork support... yes
checking for XSI style strerror_r support... no
checking for ext/random and __gnu_cxx::sfmt19937... yes
checking for VLA (variable-length array) support... yes
checking for malloc_size... no
checking for malloc_usable_size... yes
checking for memrchr... yes
checking for pipe2... yes
checking for preadv... yes
checking for pwritev... yes
checking lz4.h usability... yes
checking lz4.h presence... yes
checking for lz4.h... yes
checking for LZ4_decompress_safe in -llz4... yes
checking snappy.h usability... yes
checking snappy.h presence... yes
checking for snappy.h... yes
checking for main in -lsnappy... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for main in -llzma... yes
checking zstd.h usability... no
checking zstd.h presence... no
checking for zstd.h... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for main in -lbz2... yes
checking linux/membarrier.h usability... yes
checking linux/membarrier.h presence... yes
checking for linux/membarrier.h... yes
checking libdwarf/dwarf.h usability... no
checking libdwarf/dwarf.h presence... no
checking for libdwarf/dwarf.h... no
checking dwarf.h usability... yes
checking dwarf.h presence... yes
checking for dwarf.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating io/test/Makefile
config.status: creating libfolly.pc
config.status: creating test/Makefile
config.status: creating test/function_benchmark/Makefile
config.status: creating experimental/Makefile
config.status: creating experimental/io/test/Makefile
config.status: creating experimental/symbolizer/Makefile
config.status: creating init/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing folly-config.h commands
config.status: creating folly-config.h - prefix FOLLY for config.h defines
config.status: folly-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
~/code/cpp/folly/folly ()$ make -j 8 [2.3.1]
make all-recursive
make[1]: Entering directory '/home/mmlac/code/cpp/folly/folly'
Making all in .
make[2]: Entering directory '/home/mmlac/code/cpp/folly/folly'
depbase=`echo futures/Barrier.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/Barrier.lo -MD -MP -MF $depbase.Tpo -c -o futures/Barrier.lo futures/Barrier.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo futures/Future.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/Future.lo -MD -MP -MF $depbase.Tpo -c -o futures/Future.lo futures/Future.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo futures/InlineExecutor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/InlineExecutor.lo -MD -MP -MF $depbase.Tpo -c -o futures/InlineExecutor.lo futures/InlineExecutor.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo futures/ManualExecutor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/ManualExecutor.lo -MD -MP -MF $depbase.Tpo -c -o futures/ManualExecutor.lo futures/ManualExecutor.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo futures/QueuedImmediateExecutor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/QueuedImmediateExecutor.lo -MD -MP -MF $depbase.Tpo -c -o futures/QueuedImmediateExecutor.lo futures/QueuedImmediateExecutor.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo futures/ThreadWheelTimekeeper.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/ThreadWheelTimekeeper.lo -MD -MP -MF $depbase.Tpo -c -o futures/ThreadWheelTimekeeper.lo futures/ThreadWheelTimekeeper.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo futures/test/TestExecutor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/test/TestExecutor.lo -MD -MP -MF $depbase.Tpo -c -o futures/test/TestExecutor.lo futures/test/TestExecutor.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo detail/Futex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/Futex.lo -MD -MP -MF $depbase.Tpo -c -o detail/Futex.lo detail/Futex.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/Future.lo -MD -MP -MF futures/.deps/Future.Tpo -c futures/Future.cpp -fPIC -DPIC -o futures/.libs/Future.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/ThreadWheelTimekeeper.lo -MD -MP -MF futures/.deps/ThreadWheelTimekeeper.Tpo -c futures/ThreadWheelTimekeeper.cpp -fPIC -DPIC -o futures/.libs/ThreadWheelTimekeeper.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/ManualExecutor.lo -MD -MP -MF futures/.deps/ManualExecutor.Tpo -c futures/ManualExecutor.cpp -fPIC -DPIC -o futures/.libs/ManualExecutor.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/Barrier.lo -MD -MP -MF futures/.deps/Barrier.Tpo -c futures/Barrier.cpp -fPIC -DPIC -o futures/.libs/Barrier.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/InlineExecutor.lo -MD -MP -MF futures/.deps/InlineExecutor.Tpo -c futures/InlineExecutor.cpp -fPIC -DPIC -o futures/.libs/InlineExecutor.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/QueuedImmediateExecutor.lo -MD -MP -MF futures/.deps/QueuedImmediateExecutor.Tpo -c futures/QueuedImmediateExecutor.cpp -fPIC -DPIC -o futures/.libs/QueuedImmediateExecutor.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/Futex.lo -MD -MP -MF detail/.deps/Futex.Tpo -c detail/Futex.cpp -fPIC -DPIC -o detail/.libs/Futex.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/InlineExecutor.lo -MD -MP -MF futures/.deps/InlineExecutor.Tpo -c futures/InlineExecutor.cpp -o futures/InlineExecutor.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/test/TestExecutor.lo -MD -MP -MF futures/test/.deps/TestExecutor.Tpo -c futures/test/TestExecutor.cpp -fPIC -DPIC -o futures/test/.libs/TestExecutor.o
depbase=`echo detail/StaticSingletonManager.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/StaticSingletonManager.lo -MD -MP -MF $depbase.Tpo -c -o detail/StaticSingletonManager.lo detail/StaticSingletonManager.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/StaticSingletonManager.lo -MD -MP -MF detail/.deps/StaticSingletonManager.Tpo -c detail/StaticSingletonManager.cpp -fPIC -DPIC -o detail/.libs/StaticSingletonManager.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/StaticSingletonManager.lo -MD -MP -MF detail/.deps/StaticSingletonManager.Tpo -c detail/StaticSingletonManager.cpp -o detail/StaticSingletonManager.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/test/TestExecutor.lo -MD -MP -MF futures/test/.deps/TestExecutor.Tpo -c futures/test/TestExecutor.cpp -o futures/test/TestExecutor.o >/dev/null 2>&1
In file included from ./../folly/futures/Future.h:499:0,
from futures/Future.cpp:16:
./../folly/futures/Future-inl.h:236:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Arg>(arg), (forward<Args>)(folly::Future::then::args)...)) folly::Future<T>::then(Executor*, Arg&&, Args&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::then(Executor* x, Arg&& arg, Args&&... args)
^~~~~~~~~
In file included from futures/Future.cpp:16:0:
./../folly/futures/Future.h:219:16: error: candidates are: folly::Future<folly::Unit> folly::Future<T>::then()
Future<Unit> then();
^~~~
./../folly/futures/Future.h:213:8: error: template<class T> template<class Executor, class Arg, class ... Args> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Arg>(arg), (forward<Args>)(folly::Future::then::args)...)) folly::Future<T>::then(Executor*, Arg&&, Args&& ...)
auto then(Executor* x, Arg&& arg, Args&&... args)
^~~~
./../folly/futures/Future.h:198:3: error: template<class T> template<class R, class Caller, class ... Args> folly::Future<typename folly::isFuture<F>::Inner> folly::Future<T>::then(R (Caller::*)(Args ...), Caller*)
then(R(Caller::*func)(Args...), Caller *instance);
^~~~
./../folly/futures/Future.h:181:22: error: template<class T> template<class F, class FF, class R> typename R::Return folly::Future<T>::then(F&&)
typename R::Return then(F&& func) {
^~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/Future.cpp:16:
./../folly/futures/Future-inl.h:1133:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMulti(Callback&& fn)
^~~~~~~~~
In file included from futures/Future.cpp:16:0:
./../folly/futures/Future.h:411:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)
auto thenMulti(Callback&& fn)
^~~~~~~~~
./../folly/futures/Future.h:405:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)
auto thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/Future.cpp:16:
./../folly/futures/Future-inl.h:1141:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from futures/Future.cpp:16:0:
./../folly/futures/Future.h:411:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)
auto thenMulti(Callback&& fn)
^~~~~~~~~
./../folly/futures/Future.h:405:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)
auto thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/Future.cpp:16:
./../folly/futures/Future-inl.h:1151:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMultiWithExecutor(Executor* x, Callback&& fn,
^~~~~~~~~
In file included from futures/Future.cpp:16:0:
./../folly/futures/Future.h:429:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)
auto thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~~~~~~~~~~~~~
./../folly/futures/Future.h:423:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)
auto thenMultiWithExecutor(Executor* x, Callback&& fn, Callbacks&&... fns)
^~~~~~~~~~~~~~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/Future.cpp:16:
./../folly/futures/Future-inl.h:1165:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~
In file included from futures/Future.cpp:16:0:
./../folly/futures/Future.h:429:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)
auto thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~~~~~~~~~~~~~
./../folly/futures/Future.h:423:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)
auto thenMultiWithExecutor(Executor* x, Callback&& fn, Callbacks&&... fns)
^~~~~~~~~~~~~~~~~~~~~
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/Futex.lo -MD -MP -MF detail/.deps/Futex.Tpo -c detail/Futex.cpp -o detail/Futex.o >/dev/null 2>&1
In file included from ./../folly/futures/Future.h:499:0,
from ./../folly/futures/Barrier.h:22,
from futures/Barrier.cpp:17:
./../folly/futures/Future-inl.h:236:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Arg>(arg), (forward<Args>)(folly::Future::then::args)...)) folly::Future<T>::then(Executor*, Arg&&, Args&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::then(Executor* x, Arg&& arg, Args&&... args)
^~~~~~~~~
In file included from ./../folly/futures/Barrier.h:22:0,
from futures/Barrier.cpp:17:
./../folly/futures/Future.h:219:16: error: candidates are: folly::Future<folly::Unit> folly::Future<T>::then()
Future<Unit> then();
^~~~
./../folly/futures/Future.h:213:8: error: template<class T> template<class Executor, class Arg, class ... Args> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Arg>(arg), (forward<Args>)(folly::Future::then::args)...)) folly::Future<T>::then(Executor*, Arg&&, Args&& ...)
auto then(Executor* x, Arg&& arg, Args&&... args)
^~~~
./../folly/futures/Future.h:198:3: error: template<class T> template<class R, class Caller, class ... Args> folly::Future<typename folly::isFuture<F>::Inner> folly::Future<T>::then(R (Caller::*)(Args ...), Caller*)
then(R(Caller::*func)(Args...), Caller *instance);
^~~~
./../folly/futures/Future.h:181:22: error: template<class T> template<class F, class FF, class R> typename R::Return folly::Future<T>::then(F&&)
typename R::Return then(F&& func) {
^~~~
In file included from ./../folly/futures/Future.h:499:0,
from ./../folly/futures/Barrier.h:22,
from futures/Barrier.cpp:17:
./../folly/futures/Future-inl.h:1133:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMulti(Callback&& fn)
^~~~~~~~~
In file included from ./../folly/futures/Barrier.h:22:0,
from futures/Barrier.cpp:17:
./../folly/futures/Future.h:411:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)
auto thenMulti(Callback&& fn)
^~~~~~~~~
./../folly/futures/Future.h:405:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)
auto thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from ./../folly/futures/Barrier.h:22,
from futures/Barrier.cpp:17:
./../folly/futures/Future-inl.h:1141:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Barrier.h:22:0,
from futures/Barrier.cpp:17:
./../folly/futures/Future.h:411:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)
auto thenMulti(Callback&& fn)
^~~~~~~~~
./../folly/futures/Future.h:405:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)
auto thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from ./../folly/futures/Barrier.h:22,
from futures/Barrier.cpp:17:
./../folly/futures/Future-inl.h:1151:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMultiWithExecutor(Executor* x, Callback&& fn,
^~~~~~~~~
In file included from ./../folly/futures/Barrier.h:22:0,
from futures/Barrier.cpp:17:
./../folly/futures/Future.h:429:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)
auto thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~~~~~~~~~~~~~
./../folly/futures/Future.h:423:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)
auto thenMultiWithExecutor(Executor* x, Callback&& fn, Callbacks&&... fns)
^~~~~~~~~~~~~~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from ./../folly/futures/Barrier.h:22,
from futures/Barrier.cpp:17:
./../folly/futures/Future-inl.h:1165:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~
In file included from ./../folly/futures/Barrier.h:22:0,
from futures/Barrier.cpp:17:
./../folly/futures/Future.h:429:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)
auto thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~~~~~~~~~~~~~
./../folly/futures/Future.h:423:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)
auto thenMultiWithExecutor(Executor* x, Callback&& fn, Callbacks&&... fns)
^~~~~~~~~~~~~~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/ThreadWheelTimekeeper.h:19,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future-inl.h:236:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Arg>(arg), (forward<Args>)(folly::Future::then::args)...)) folly::Future<T>::then(Executor*, Arg&&, Args&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::then(Executor* x, Arg&& arg, Args&&... args)
^~~~~~~~~
In file included from futures/ThreadWheelTimekeeper.h:19:0,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future.h:219:16: error: candidates are: folly::Future<folly::Unit> folly::Future<T>::then()
Future<Unit> then();
^~~~
./../folly/futures/Future.h:213:8: error: template<class T> template<class Executor, class Arg, class ... Args> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Arg>(arg), (forward<Args>)(folly::Future::then::args)...)) folly::Future<T>::then(Executor*, Arg&&, Args&& ...)
auto then(Executor* x, Arg&& arg, Args&&... args)
^~~~
./../folly/futures/Future.h:198:3: error: template<class T> template<class R, class Caller, class ... Args> folly::Future<typename folly::isFuture<F>::Inner> folly::Future<T>::then(R (Caller::*)(Args ...), Caller*)
then(R(Caller::*func)(Args...), Caller *instance);
^~~~
./../folly/futures/Future.h:181:22: error: template<class T> template<class F, class FF, class R> typename R::Return folly::Future<T>::then(F&&)
typename R::Return then(F&& func) {
^~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/ThreadWheelTimekeeper.h:19,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future-inl.h:1133:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMulti(Callback&& fn)
^~~~~~~~~
In file included from futures/ThreadWheelTimekeeper.h:19:0,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future.h:411:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)
auto thenMulti(Callback&& fn)
^~~~~~~~~
./../folly/futures/Future.h:405:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)
auto thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/ThreadWheelTimekeeper.h:19,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future-inl.h:1141:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from futures/ThreadWheelTimekeeper.h:19:0,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future.h:411:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMulti(Callback&&)
auto thenMulti(Callback&& fn)
^~~~~~~~~
./../folly/futures/Future.h:405:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMulti::fns)...)) folly::Future<T>::thenMulti(Callback&&, Callbacks&& ...)
auto thenMulti(Callback&& fn, Callbacks&&... fns)
^~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/ThreadWheelTimekeeper.h:19,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future-inl.h:1151:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMultiWithExecutor(Executor* x, Callback&& fn,
^~~~~~~~~
In file included from futures/ThreadWheelTimekeeper.h:19:0,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future.h:429:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)
auto thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~~~~~~~~~~~~~
./../folly/futures/Future.h:423:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)
auto thenMultiWithExecutor(Executor* x, Callback&& fn, Callbacks&&... fns)
^~~~~~~~~~~~~~~~~~~~~
In file included from ./../folly/futures/Future.h:499:0,
from futures/ThreadWheelTimekeeper.h:19,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future-inl.h:1165:6: error: prototype for ‘decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)’ does not match any in class ‘folly::Future<T>’
auto Future<T>::thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~
In file included from futures/ThreadWheelTimekeeper.h:19:0,
from futures/ThreadWheelTimekeeper.cpp:16:
./../folly/futures/Future.h:429:8: error: candidates are: template<class T> template<class Callback> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn))) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&)
auto thenMultiWithExecutor(Executor* x, Callback&& fn)
^~~~~~~~~~~~~~~~~~~~~
./../folly/futures/Future.h:423:8: error: template<class T> template<class Callback, class ... Callbacks> decltype (((folly::Future<T>*)this)->folly::Future<T>::then(forward<Callback>(fn)).thenMulti((forward<Callbacks>)(folly::Future::thenMultiWithExecutor::fns)...)) folly::Future<T>::thenMultiWithExecutor(folly::Executor*, Callback&&, Callbacks&& ...)
auto thenMultiWithExecutor(Executor* x, Callback&& fn, Callbacks&&... fns)
^~~~~~~~~~~~~~~~~~~~~
depbase=`echo detail/ThreadLocalDetail.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/ThreadLocalDetail.lo -MD -MP -MF $depbase.Tpo -c -o detail/ThreadLocalDetail.lo detail/ThreadLocalDetail.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
make[2]: *** [Makefile:1766: futures/Barrier.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/ThreadLocalDetail.lo -MD -MP -MF detail/.deps/ThreadLocalDetail.Tpo -c detail/ThreadLocalDetail.cpp -fPIC -DPIC -o detail/.libs/ThreadLocalDetail.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/ManualExecutor.lo -MD -MP -MF futures/.deps/ManualExecutor.Tpo -c futures/ManualExecutor.cpp -o futures/ManualExecutor.o >/dev/null 2>&1
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/QueuedImmediateExecutor.lo -MD -MP -MF futures/.deps/QueuedImmediateExecutor.Tpo -c futures/QueuedImmediateExecutor.cpp -o futures/QueuedImmediateExecutor.o >/dev/null 2>&1
make[2]: *** [Makefile:1766: futures/ThreadWheelTimekeeper.lo] Error 1
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT detail/ThreadLocalDetail.lo -MD -MP -MF detail/.deps/ThreadLocalDetail.Tpo -c detail/ThreadLocalDetail.cpp -o detail/ThreadLocalDetail.o >/dev/null 2>&1
make[2]: *** [Makefile:1766: futures/Future.lo] Error 1
make[2]: Leaving directory '/home/mmlac/code/cpp/folly/folly'
make[1]: *** [Makefile:1866: all-recursive] Error 1
make[1]: Leaving directory '/home/mmlac/code/cpp/folly/folly'
make: *** [Makefile:1126: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment