+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/unrar-7.0.4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/unrar-7.0.4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for unrar-7.0.4 c++ -pipe -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c rar.cpp c++ -pipe -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c strlist.cpp In file included from rar.hpp:18:0, from rar.cpp:1: secpassword.hpp:11:65: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] std::vector Password = std::vector(MAXPASSWORD); ^ In file included from rar.hpp:23:0, from rar.cpp:1: blake2s.hpp:26:10: error: 'constexpr' does not name a type static constexpr size_t BLAKE_ALIGNMENT = 64; ^ blake2s.hpp:26:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 blake2s.hpp:31:10: error: 'constexpr' does not name a type static constexpr size_t BLAKE_DATA_SIZE = 48 + 2 * BLAKE2S_BLOCKBYTES; ^ blake2s.hpp:31:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 blake2s.hpp:33:13: error: 'BLAKE_DATA_SIZE' was not declared in this scope byte ubuf[BLAKE_DATA_SIZE + BLAKE_ALIGNMENT]; ^ blake2s.hpp:33:31: error: 'BLAKE_ALIGNMENT' was not declared in this scope byte ubuf[BLAKE_DATA_SIZE + BLAKE_ALIGNMENT]; ^ In file included from rar.hpp:13:0, from rar.cpp:1: blake2s.hpp: In member function 'void blake2s_state::set_pointers()': blake2s.hpp:58:32: error: 'ubuf' was not declared in this scope buf = (byte *) ALIGN_VALUE(ubuf, BLAKE_ALIGNMENT); ^ rardefs.hpp:48:34: note: in definition of macro 'ALIGN_VALUE' #define ALIGN_VALUE(v,a) (size_t(v) + ( (~size_t(v) + 1) & (a - 1) ) ) ^ blake2s.hpp:58:38: error: 'BLAKE_ALIGNMENT' was not declared in this scope buf = (byte *) ALIGN_VALUE(ubuf, BLAKE_ALIGNMENT); ^ rardefs.hpp:48:61: note: in definition of macro 'ALIGN_VALUE' #define ALIGN_VALUE(v,a) (size_t(v) + ( (~size_t(v) + 1) & (a - 1) ) ) ^ In file included from rar.hpp:23:0, from rar.cpp:1: blake2s.hpp: In member function 'void blake2s_state::init()': blake2s.hpp:66:13: error: 'ubuf' was not declared in this scope memset( ubuf, 0, sizeof( ubuf ) ); ^ blake2s.hpp: In member function 'blake2s_state& blake2s_state::operator=(blake2s_state&)': blake2s.hpp:76:27: error: 'BLAKE_DATA_SIZE' was not declared in this scope memcpy(buf, st.buf, BLAKE_DATA_SIZE); ^ In file included from rar.hpp:18:0, from strlist.cpp:1: secpassword.hpp:11:65: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] std::vector Password = std::vector(MAXPASSWORD); ^ In file included from rar.hpp:23:0, from strlist.cpp:1: blake2s.hpp:26:10: error: 'constexpr' does not name a type static constexpr size_t BLAKE_ALIGNMENT = 64; ^ blake2s.hpp:26:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 blake2s.hpp:31:10: error: 'constexpr' does not name a type static constexpr size_t BLAKE_DATA_SIZE = 48 + 2 * BLAKE2S_BLOCKBYTES; ^ blake2s.hpp:31:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 blake2s.hpp:33:13: error: 'BLAKE_DATA_SIZE' was not declared in this scope byte ubuf[BLAKE_DATA_SIZE + BLAKE_ALIGNMENT]; ^ blake2s.hpp:33:31: error: 'BLAKE_ALIGNMENT' was not declared in this scope byte ubuf[BLAKE_DATA_SIZE + BLAKE_ALIGNMENT]; ^ In file included from rar.hpp:40:0, from rar.cpp:1: scantree.hpp: At global scope: scantree.hpp:19:12: error: 'constexpr' does not name a type static constexpr size_t MAXSCANDEPTH = MAXPATHSIZE/2; ^ scantree.hpp:19:12: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 In file included from rar.hpp:13:0, from strlist.cpp:1: blake2s.hpp: In member function 'void blake2s_state::set_pointers()': blake2s.hpp:58:32: error: 'ubuf' was not declared in this scope buf = (byte *) ALIGN_VALUE(ubuf, BLAKE_ALIGNMENT); ^ rardefs.hpp:48:34: note: in definition of macro 'ALIGN_VALUE' #define ALIGN_VALUE(v,a) (size_t(v) + ( (~size_t(v) + 1) & (a - 1) ) ) ^ blake2s.hpp:58:38: error: 'BLAKE_ALIGNMENT' was not declared in this scope buf = (byte *) ALIGN_VALUE(ubuf, BLAKE_ALIGNMENT); ^ rardefs.hpp:48:61: note: in definition of macro 'ALIGN_VALUE' #define ALIGN_VALUE(v,a) (size_t(v) + ( (~size_t(v) + 1) & (a - 1) ) ) ^ In file included from rar.hpp:23:0, from strlist.cpp:1: blake2s.hpp: In member function 'void blake2s_state::init()': blake2s.hpp:66:13: error: 'ubuf' was not declared in this scope memset( ubuf, 0, sizeof( ubuf ) ); ^ blake2s.hpp: In member function 'blake2s_state& blake2s_state::operator=(blake2s_state&)': blake2s.hpp:76:27: error: 'BLAKE_DATA_SIZE' was not declared in this scope memcpy(buf, st.buf, BLAKE_DATA_SIZE); ^ In file included from rar.hpp:46:0, from rar.cpp:1: archive.hpp:92:58: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] bool Open(const std::wstring &Name,uint Mode=FMF_READ) override; ^ archive.hpp:93:36: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] int Read(void *Data,size_t Size) override; ^ archive.hpp:94:38: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] void Seek(int64 Offset,int Method) override; ^ archive.hpp:95:16: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] int64 Tell() override; ^ In file included from rar.hpp:49:0, from rar.cpp:1: ui.hpp:165:24: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default] template void uiMsgBase(uiMsgStore &Store,T1&& a1,TN&&... aN) ^ ui.hpp:165:67: error: expected ',' or '...' before '&&' token template void uiMsgBase(uiMsgStore &Store,T1&& a1,TN&&... aN) ^ ui.hpp: In function 'void uiMsgBase(uiMsgStore&, T1)': ui.hpp:168:10: error: 'a1' was not declared in this scope Store< void uiMsg(UIMESSAGE_CODE Code,TN&&... aN) ^ ui.hpp:181:56: error: expected ',' or '...' before '&&' token template void uiMsg(UIMESSAGE_CODE Code,TN&&... aN) ^ ui.hpp:181:64: error: parameter packs not expanded with '...': template void uiMsg(UIMESSAGE_CODE Code,TN&&... aN) ^ ui.hpp:181:64: note: 'TN' ui.hpp: In function 'void uiMsg(UIMESSAGE_CODE, )': ui.hpp:184:19: error: 'aN' was not declared in this scope uiMsgBase(Store,aN...); ^ In file included from rar.hpp:40:0, from strlist.cpp:1: scantree.hpp: At global scope: scantree.hpp:19:12: error: 'constexpr' does not name a type static constexpr size_t MAXSCANDEPTH = MAXPATHSIZE/2; ^ scantree.hpp:19:12: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 In file included from rar.hpp:46:0, from strlist.cpp:1: archive.hpp:92:58: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] bool Open(const std::wstring &Name,uint Mode=FMF_READ) override; ^ archive.hpp:93:36: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] int Read(void *Data,size_t Size) override; ^ archive.hpp:94:38: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] void Seek(int64 Offset,int Method) override; ^ archive.hpp:95:16: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 [enabled by default] int64 Tell() override; ^ In file included from rar.hpp:49:0, from strlist.cpp:1: ui.hpp:165:24: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default] template void uiMsgBase(uiMsgStore &Store,T1&& a1,TN&&... aN) ^ ui.hpp:165:67: error: expected ',' or '...' before '&&' token template void uiMsgBase(uiMsgStore &Store,T1&& a1,TN&&... aN) ^ ui.hpp: In function 'void uiMsgBase(uiMsgStore&, T1)': ui.hpp:168:10: error: 'a1' was not declared in this scope Store< void uiMsg(UIMESSAGE_CODE Code,TN&&... aN) ^ ui.hpp:181:56: error: expected ',' or '...' before '&&' token template void uiMsg(UIMESSAGE_CODE Code,TN&&... aN) ^ ui.hpp:181:64: error: parameter packs not expanded with '...': template void uiMsg(UIMESSAGE_CODE Code,TN&&... aN) ^ ui.hpp:181:64: note: 'TN' ui.hpp: In function 'void uiMsg(UIMESSAGE_CODE, )': ui.hpp:184:19: error: 'aN' was not declared in this scope uiMsgBase(Store,aN...); ^ rar.cpp: In function 'int main(int, char**)': rar.cpp:39:5: error: 'unique_ptr' is not a member of 'std' std::unique_ptr Cmd(new CommandData); ^ rar.cpp:39:32: error: expected primary-expression before '>' token std::unique_ptr Cmd(new CommandData); ^ rar.cpp:39:53: error: 'Cmd' was not declared in this scope std::unique_ptr Cmd(new CommandData); ^ make: *** [rar.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [strlist.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/archivers/unrar *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/archivers/unrar