* Package: dev-cpp/pficommon-1.3.1.0 * Repository: gentoo * Maintainer: naota@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pficommon-1.3.1.0.tar.gz to /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work >>> Source unpacked in /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work >>> Preparing source in /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0 ... * Applying pficommon-1.3.1.0-libdir.patch ... [ ok ] * Applying pficommon-1.3.1.0-soname.patch ... [ ok ] * Applying pficommon-1.3.1.0-postgresql.patch ... [ ok ] * Applying pficommon-1.3.1.0-gcc-4.7.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0 ... CCFLAGS="-O2 -pipe -march=native -Wall" LINKFLAGS="-O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/waf" --prefix=/usr --libdir=/usr/lib64 --disable-fcgi --disable-magickpp --disable-mprpc --disable-database configure Setting top to : /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0 Setting out to : /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build Checking for 'g++' (c++ compiler) : x86_64-pc-linux-gnu-g++ Unpacking gtest : yes Checking for library pthread : yes Checking for library pthread : yes Checking for header stdint.h : yes Checking for header unordered_map : yes Checking for header tr1/unordered_map : yes Checking for header ext/hash_map : yes Checking for header unordered_set : yes Checking for header tr1/unordered_set : yes Checking for header ext/hash_set : yes pficommon has been configured as follows: [Modules] FCGI module: no Database module: no have MySQL lib: no have PostgreSQL lib: no MessagePack RPC module: no [Visualization] Magick++ impl: no [Build information] Package: pficommon-1.3.1 build (compile on): x86_64-linux host endian: little Compiler: g++ Compiler version: 6.3.0 CXXFLAGS: -Werror=terminate -O2 -pipe -march=native -Wall -g -D_REENTRANT -fno-omit-frame-pointer -D_FORTIFY_SOURCE=1 'configure' finished successfully (3.690s) >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0 ... "/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/waf" build --verbose --jobs=1 Waf: Entering directory `/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build' [ 1/65] subst_pc: pficommon.pc.in -> build/pficommon.pc [ 2/65] cxx: src/empty.cpp -> build/src/empty.cpp.1.o 03:42:27 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '../src/empty.cpp', '-c', '-o', 'src/empty.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [ 3/65] cxx: src/lang/empty.cpp -> build/src/lang/empty.cpp.1.o 03:42:27 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '../src/lang/empty.cpp', '-c', '-o', 'src/lang/empty.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [ 4/65] cxx: src/concurrent/rwmutex.cpp -> build/src/concurrent/rwmutex.cpp.1.o 03:42:27 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/concurrent', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/concurrent', '../src/concurrent/rwmutex.cpp', '-c', '-o', 'src/concurrent/rwmutex.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../src/concurrent/rwmutex.h:38:0, from ../src/concurrent/rwmutex.cpp:32: ../src/concurrent/lock.h:61:29: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] explicit scoped_lock(std::auto_ptr p) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.h:38:0, from ../src/concurrent/rwmutex.cpp:32: ../src/concurrent/lock.h:92:16: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr lp; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h:124:13: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] inline std::auto_ptr rlock(rw_mutex &m) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: In function ‘std::auto_ptr pfi::concurrent::rlock(pfi::concurrent::rw_mutex&)’: ../src/concurrent/rwmutex.h:126:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new rlocker(m)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: At global scope: ../src/concurrent/rwmutex.h:129:13: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] inline std::auto_ptr rlock(rw_mutex &m, double sec) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: In function ‘std::auto_ptr pfi::concurrent::rlock(pfi::concurrent::rw_mutex&, double)’: ../src/concurrent/rwmutex.h:131:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new rlocker(m,sec)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: At global scope: ../src/concurrent/rwmutex.h:134:13: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] inline std::auto_ptr wlock(rw_mutex &m) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: In function ‘std::auto_ptr pfi::concurrent::wlock(pfi::concurrent::rw_mutex&)’: ../src/concurrent/rwmutex.h:136:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new wlocker(m)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: At global scope: ../src/concurrent/rwmutex.h:139:13: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] inline std::auto_ptr wlock(rw_mutex &m, double sec) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/rwmutex.cpp:32:0: ../src/concurrent/rwmutex.h: In function ‘std::auto_ptr pfi::concurrent::wlock(pfi::concurrent::rw_mutex&, double)’: ../src/concurrent/rwmutex.h:141:15: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] return std::auto_ptr(new wlocker(m,sec)); ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/rwmutex.h:34, from ../src/concurrent/rwmutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ [ 5/65] cxx: src/concurrent/thread.cpp -> build/src/concurrent/thread.cpp.1.o 03:42:28 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/concurrent', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/concurrent', '../src/concurrent/thread.cpp', '-c', '-o', 'src/concurrent/thread.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [ 6/65] cxx: src/concurrent/condition.cpp -> build/src/concurrent/condition.cpp.1.o 03:42:28 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/concurrent', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/concurrent', '../src/concurrent/condition.cpp', '-c', '-o', 'src/concurrent/condition.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../src/concurrent/mutex.h:36:0, from ../src/concurrent/condition.h:35, from ../src/concurrent/condition.cpp:32: ../src/concurrent/lock.h:61:29: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] explicit scoped_lock(std::auto_ptr p) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/lock.h:34, from ../src/concurrent/mutex.h:36, from ../src/concurrent/condition.h:35, from ../src/concurrent/condition.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/mutex.h:36:0, from ../src/concurrent/condition.h:35, from ../src/concurrent/condition.cpp:32: ../src/concurrent/lock.h:92:16: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr lp; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/lock.h:34, from ../src/concurrent/mutex.h:36, from ../src/concurrent/condition.h:35, from ../src/concurrent/condition.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ [ 7/65] cxx: src/concurrent/internal.cpp -> build/src/concurrent/internal.cpp.1.o 03:42:29 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/concurrent', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/concurrent', '../src/concurrent/internal.cpp', '-c', '-o', 'src/concurrent/internal.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [ 8/65] cxx: src/concurrent/mutex.cpp -> build/src/concurrent/mutex.cpp.1.o 03:42:29 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/concurrent', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/concurrent', '../src/concurrent/mutex.cpp', '-c', '-o', 'src/concurrent/mutex.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../src/concurrent/mutex.h:36:0, from ../src/concurrent/mutex.cpp:32: ../src/concurrent/lock.h:61:29: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] explicit scoped_lock(std::auto_ptr p) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/lock.h:34, from ../src/concurrent/mutex.h:36, from ../src/concurrent/mutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/concurrent/mutex.h:36:0, from ../src/concurrent/mutex.cpp:32: ../src/concurrent/lock.h:92:16: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr lp; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/concurrent/lock.h:34, from ../src/concurrent/mutex.h:36, from ../src/concurrent/mutex.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ [ 9/65] cxx: src/system/time_util.cpp -> build/src/system/time_util.cpp.1.o 03:42:30 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/system', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/system', '../src/system/time_util.cpp', '-c', '-o', 'src/system/time_util.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [10/65] cxx: src/system/sysstat.cpp -> build/src/system/sysstat.cpp.1.o 03:42:30 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/system', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/system', '../src/system/sysstat.cpp', '-c', '-o', 'src/system/sysstat.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [11/65] cxx: src/system/mmapper.cpp -> build/src/system/mmapper.cpp.1.o 03:42:31 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/system', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/system', '../src/system/mmapper.cpp', '-c', '-o', 'src/system/mmapper.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [12/65] cxx: src/system/syscall.cpp -> build/src/system/syscall.cpp.1.o 03:42:31 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/system', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/system', '../src/system/syscall.cpp', '-c', '-o', 'src/system/syscall.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [13/65] cxx: src/system/endian_util.cpp -> build/src/system/endian_util.cpp.1.o 03:42:32 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/system', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/system', '../src/system/endian_util.cpp', '-c', '-o', 'src/system/endian_util.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [14/65] cxx: src/system/file.cpp -> build/src/system/file.cpp.1.o 03:42:32 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/system', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/system', '../src/system/file.cpp', '-c', '-o', 'src/system/file.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [15/65] cxx: src/visualization/empty.cpp -> build/src/visualization/empty.cpp.1.o 03:42:32 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '../src/visualization/empty.cpp', '-c', '-o', 'src/visualization/empty.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition [16/65] cxx: src/network/rpc/base.cpp -> build/src/network/rpc/base.cpp.1.o 03:42:32 runner ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/network/rpc', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/network/rpc', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/network', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/network', '../src/network/rpc/base.cpp', '-c', '-o', 'src/network/rpc/base.cpp.1.o'] :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ../src/network/rpc/../../concurrent/mutex.h:36:0, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: ../src/network/rpc/../../concurrent/lock.h:61:29: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] explicit scoped_lock(std::auto_ptr p) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/network/rpc/../../concurrent/lock.h:34, from ../src/network/rpc/../../concurrent/mutex.h:36, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../src/network/rpc/../../concurrent/mutex.h:36:0, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: ../src/network/rpc/../../concurrent/lock.h:92:16: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] mutable std::auto_ptr lp; ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:81:0, from ../src/network/rpc/../../concurrent/lock.h:34, from ../src/network/rpc/../../concurrent/mutex.h:36, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ../src/network/rpc/base.cpp:62:42: error: reference to ‘shared_ptr’ is ambiguous void rpc_server::add(const string &name, shared_ptr invoker) ^~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:82, from ../src/network/rpc/../../concurrent/lock.h:34, from ../src/network/rpc/../../concurrent/mutex.h:36, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr_base.h:343:11: note: candidates are: template class std::shared_ptr class shared_ptr; ^~~~~~~~~~ In file included from ../src/network/rpc/../../lang/function.h:34:0, from ../src/network/rpc/base.h:39, from ../src/network/rpc/base.cpp:32: ../src/network/rpc/../../lang/shared_ptr.h:84:7: note: template class pfi::lang::shared_ptr class shared_ptr : public safe_bool > { ^~~~~~~~~~ ../src/network/rpc/base.cpp:62:42: error: ‘shared_ptr’ has not been declared void rpc_server::add(const string &name, shared_ptr invoker) ^~~~~~~~~~ ../src/network/rpc/base.cpp:62:52: error: expected ‘,’ or ‘...’ before ‘<’ token void rpc_server::add(const string &name, shared_ptr invoker) ^ ../src/network/rpc/base.cpp:62:6: error: prototype for ‘void pfi::network::rpc::rpc_server::add(const string&, int)’ does not match any in class ‘pfi::network::rpc::rpc_server’ void rpc_server::add(const string &name, shared_ptr invoker) ^~~~~~~~~~ In file included from ../src/network/rpc/base.cpp:32:0: ../src/network/rpc/base.h:70:8: error: candidates are: void pfi::network::rpc::rpc_server::add(const string&, pfi::lang::shared_ptr) void add(const std::string &name, ^~~ ../src/network/rpc/base.h:63:8: error: template void pfi::network::rpc::rpc_server::add(const string&, const pfi::lang::function&) void add(const std::string &name, const pfi::lang::function &f){ ^~~ ../src/network/rpc/base.cpp: In member function ‘bool pfi::network::rpc::rpc_server::serv(uint16_t, int)’: ../src/network/rpc/base.cpp:69:3: error: reference to ‘shared_ptr’ is ambiguous shared_ptr ssock(new server_socket()); ^~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:82, from ../src/network/rpc/../../concurrent/lock.h:34, from ../src/network/rpc/../../concurrent/mutex.h:36, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr_base.h:343:11: note: candidates are: template class std::shared_ptr class shared_ptr; ^~~~~~~~~~ In file included from ../src/network/rpc/../../lang/function.h:34:0, from ../src/network/rpc/base.h:39, from ../src/network/rpc/base.cpp:32: ../src/network/rpc/../../lang/shared_ptr.h:84:7: note: template class pfi::lang::shared_ptr class shared_ptr : public safe_bool > { ^~~~~~~~~~ ../src/network/rpc/base.cpp:69:27: error: expected primary-expression before ‘,’ token shared_ptr ssock(new server_socket()); ^ ../src/network/rpc/base.cpp:69:58: error: expected primary-expression before ‘>’ token shared_ptr ssock(new server_socket()); ^ ../src/network/rpc/base.cpp:69:85: error: ‘ssock’ was not declared in this scope d_ptr ssock(new server_socket()); ^ ../src/network/rpc/base.cpp:73:29: error: template argument 1 is invalid vector > ths(nthreads); ^ ../src/network/rpc/base.cpp:73:29: error: template argument 2 is invalid ../src/network/rpc/base.cpp:75:10: error: invalid types ‘int[int]’ for array subscript ths[i]=shared_ptr(new thread(bind(&rpc_server::process, this, ssock))); ^ ../src/network/rpc/base.cpp:75:12: error: reference to ‘shared_ptr’ is ambiguous ths[i]=shared_ptr(new thread(bind(&rpc_server::process, this, ssock))); ^~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:82, from ../src/network/rpc/../../concurrent/lock.h:34, from ../src/network/rpc/../../concurrent/mutex.h:36, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr_base.h:343:11: note: candidates are: template class std::shared_ptr class shared_ptr; ^~~~~~~~~~ In file included from ../src/network/rpc/../../lang/function.h:34:0, from ../src/network/rpc/base.h:39, from ../src/network/rpc/base.cpp:32: ../src/network/rpc/../../lang/shared_ptr.h:84:7: note: template class pfi::lang::shared_ptr class shared_ptr : public safe_bool > { ^~~~~~~~~~ ../src/network/rpc/base.cpp:75:29: error: expected primary-expression before ‘>’ token ths[i]=shared_ptr(new thread(bind(&rpc_server::process, this, ssock))); ^ ../src/network/rpc/base.cpp:76:15: error: invalid types ‘int[int]’ for array subscript if (!ths[i]->start()) return false; ^ ../src/network/rpc/base.cpp:79:10: error: invalid types ‘int[int]’ for array subscript ths[i]->join(); ^ ../src/network/rpc/base.cpp: At global scope: ../src/network/rpc/base.cpp:83:26: error: variable or field ‘process’ declared void void rpc_server::process(shared_ptr ssock) ^~~~~~~~~~ ../src/network/rpc/base.cpp:83:26: error: reference to ‘shared_ptr’ is ambiguous In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/memory:82, from ../src/network/rpc/../../concurrent/lock.h:34, from ../src/network/rpc/../../concurrent/mutex.h:36, from ../src/network/rpc/../../concurrent/threading_model.h:34, from ../src/network/rpc/base.h:42, from ../src/network/rpc/base.cpp:32: /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/bits/shared_ptr_base.h:343:11: note: candidates are: template class std::shared_ptr class shared_ptr; ^~~~~~~~~~ In file included from ../src/network/rpc/../../lang/function.h:34:0, from ../src/network/rpc/base.h:39, from ../src/network/rpc/base.cpp:32: ../src/network/rpc/../../lang/shared_ptr.h:84:7: note: template class pfi::lang::shared_ptr class shared_ptr : public safe_bool > { ^~~~~~~~~~ ../src/network/rpc/base.cpp:83:50: error: expected primary-expression before ‘,’ token void rpc_server::process(shared_ptr ssock) ^ ../src/network/rpc/base.cpp:83:81: error: expected primary-expression before ‘>’ token server::process(shared_ptr ssock) ^ ../src/network/rpc/base.cpp:83:83: error: ‘ssock’ was not declared in this scope server::process(shared_ptr ssock) ^~~~~ ../src/network/rpc/base.cpp:195:1: error: expected ‘}’ at end of input } // pfi ^ ../src/network/rpc/base.cpp:195:1: error: expected ‘}’ at end of input ../src/network/rpc/base.cpp:195:1: error: expected ‘}’ at end of input ../src/network/rpc/base.cpp:49:20: warning: ‘pfi::network::rpc::PONG_MSG’ defined but not used [-Wunused-variable] static const char *PONG_MSG = "<<>>"; ^~~~~~~~ ../src/network/rpc/base.cpp:48:20: warning: ‘pfi::network::rpc::PING_MSG’ defined but not used [-Wunused-variable] static const char *PING_MSG = "<<>>"; ^~~~~~~~ Waf: Leaving directory `/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build' Build failed -> task failed (exit status 1): {task 3741329640208: cxx base.cpp -> base.cpp.1.o} ['x86_64-pc-linux-gnu-g++', '-Werror=terminate', '-O2', '-pipe', '-march=native', '-Wall', '-g', '-D_REENTRANT', '-fno-omit-frame-pointer', '-D_FORTIFY_SOURCE=1', '-fPIC', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/network/rpc', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/network/rpc', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/build/src/network', '-I/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0/src/network', '../src/network/rpc/base.cpp', '-c', '-o', 'src/network/rpc/base.cpp.1.o'] * ERROR: dev-cpp/pficommon-1.3.1.0::gentoo failed (compile phase): * build failed * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 3079: Called waf-utils_src_compile * environment, line 3733: Called die * The specific snippet of code: * "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed" * * If you need support, post the output of `emerge --info '=dev-cpp/pficommon-1.3.1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-cpp/pficommon-1.3.1.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-cpp:pficommon-1.3.1.0:20170331-014219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0' * S: '/var/tmp/portage/dev-cpp/pficommon-1.3.1.0/work/pficommon-1.3.1.0'