-- Build files have been written to: $HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD
make[1]: Entering directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
make[2]: Entering directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
make[3]: Entering directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
Scanning dependencies of target THD
make[3]: Leaving directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
make[3]: Entering directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
[ 4%] Building CXX object CMakeFiles/THD.dir/base/DataChannel.cpp.o
[ 8%] Building CXX object CMakeFiles/THD.dir/base/ChannelUtils.cpp.o
[ 12%] Building CXX object CMakeFiles/THD.dir/base/Cuda.cpp.o
[ 16%] Building CXX object CMakeFiles/THD.dir/base/DataChannelRequest.cpp.o
[ 20%] Building CXX object CMakeFiles/THD.dir/base/TensorDescriptor.cpp.o
In file included from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.cpp:1:0:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:198:8: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> _destructor;
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:202:30: error: expected ‘)’ before ‘<’ token
ResourceGuard(std::function<void()> destructor)
^
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp: In destructor ‘thd::ResourceGuard::~ResourceGuard()’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:207:21: error: ‘_destructor’ was not declared in this scope
if (!_released) _destructor();
^~~~~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:207:21: note: suggested alternative: ‘struct’
if (!_released) _destructor();
^~~~~~~~~~~
struct
In file included from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/DataChannel.hpp:4:0,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/DataChannel.cpp:1:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:198:8: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> _destructor;
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:202:30: error: expected ‘)’ before ‘<’ token
ResourceGuard(std::function<void()> destructor)
^
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp: In destructor ‘thd::ResourceGuard::~ResourceGuard()’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:207:21: error: ‘_destructor’ was not declared in this scope
if (!_released) _destructor();
^~~~~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:207:21: note: suggested alternative: ‘struct’
if (!_released) _destructor();
^~~~~~~~~~~
struct
In file included from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/DataChannel.hpp:4:0,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/DataChannelRequest.hpp:3,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/DataChannelRequest.cpp:1:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:198:8: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> _destructor;
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:202:30: error: expected ‘)’ before ‘<’ token
ResourceGuard(std::function<void()> destructor)
^
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp: In destructor ‘thd::ResourceGuard::~ResourceGuard()’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:207:21: error: ‘_destructor’ was not declared in this scope
if (!_released) _destructor();
^~~~~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:207:21: note: suggested alternative: ‘struct’
if (!_released) _destructor();
^~~~~~~~~~~
struct
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.cpp: In function ‘int thd::connect(const string&, thd::port_type, bool, int)’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.cpp:162:65: error: no matching function for call to ‘thd::ResourceGuard::ResourceGuard(thd::connect(const string&, thd::port_type, bool, int)::<lambda()>)’
ResourceGuard socket_guard([socket]() { ::close(socket); });
^
In file included from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.cpp:1:0:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:197:7: note: candidate: thd::ResourceGuard::ResourceGuard()
class ResourceGuard {
^~~~~~~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:197:7: note: candidate expects 0 arguments, 1 provided
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:197:7: note: candidate: constexpr thd::ResourceGuard::ResourceGuard(const thd::ResourceGuard&)
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/ChannelUtils.hpp:197:7: note: no known conversion for argument 1 from ‘thd::connect(const string&, thd::port_type, bool, int)::<lambda()>’ to ‘const thd::ResourceGuard&’
In file included from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelTCP.hpp:4:0,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/DataChannel.cpp:8:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp: At global scope:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:33:23: error: expected ‘)’ before ‘<’ token
Task(std::function<void ()>&& handler): _handler(handler), _completed(false) {}
^
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:73:10: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void ()> _handler;
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:104:21: error: ‘std::function’ has not been declared
Request push(std::function<void ()>&& f) {
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:104:29: error: expected ‘,’ or ‘...’ before ‘<’ token
Request push(std::function<void ()>&& f) {
^
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp: In member function ‘void thd::QueueWorker::Task::run()’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:41:9: error: ‘_handler’ was not declared in this scope
_handler();
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:41:9: note: suggested alternative: ‘_runner’
_handler();
^~~~~~~~
_runner
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp: In member function ‘thd::QueueWorker::Request thd::QueueWorker::push(int)’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/data_channels/DataChannelUtils.hpp:105:56: error: ‘f’ was not declared in this scope
auto item = _push(std::make_shared<Task>(std::move(f)));
^
CMakeFiles/THD.dir/build.make:134: recipe for target 'CMakeFiles/THD.dir/base/DataChannelRequest.cpp.o' failed
make[3]: *** [CMakeFiles/THD.dir/base/DataChannelRequest.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CMakeFiles/THD.dir/build.make:62: recipe for target 'CMakeFiles/THD.dir/base/ChannelUtils.cpp.o' failed
make[3]: *** [CMakeFiles/THD.dir/base/ChannelUtils.cpp.o] Error 1
In file included from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/DataChannel.hpp:4:0,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/DataChannelRequest.hpp:3,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../THD.h:14,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/TensorDescriptor.h:3,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/TensorDescriptor.hpp:6,
from $HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/TensorDescriptor.cpp:1:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/ChannelUtils.hpp:198:8: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> _destructor;
^~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/ChannelUtils.hpp:202:30: error: expected ‘)’ before ‘<’ token
ResourceGuard(std::function<void()> destructor)
^
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/ChannelUtils.hpp: In destructor ‘thd::ResourceGuard::~ResourceGuard()’:
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/ChannelUtils.hpp:207:21: error: ‘_destructor’ was not declared in this scope
if (!_released) _destructor();
^~~~~~~~~~~
$HOME/packages/pytorch.pkg/pytorch/torch/lib/THD/base/../base/ChannelUtils.hpp:207:21: note: suggested alternative: ‘struct’
if (!_released) _destructor();
^~~~~~~~~~~
struct
CMakeFiles/THD.dir/build.make:158: recipe for target 'CMakeFiles/THD.dir/base/TensorDescriptor.cpp.o' failed
make[3]: *** [CMakeFiles/THD.dir/base/TensorDescriptor.cpp.o] Error 1
CMakeFiles/THD.dir/build.make:110: recipe for target 'CMakeFiles/THD.dir/base/DataChannel.cpp.o' failed
make[3]: *** [CMakeFiles/THD.dir/base/DataChannel.cpp.o] Error 1
make[3]: Leaving directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/THD.dir/all' failed
make[2]: *** [CMakeFiles/THD.dir/all] Error 2
make[2]: Leaving directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '$HOME/packages/pytorch.pkg/pytorch/torch/lib/build/THD'
OS: Debian unstable
Compiler: GCC-7.1.0
FLAGS:
NO_CUDA=1Pytorch version: tag:v0.2.0