An AUR user reported the following earlier this June on the tora package on the AUR:
/tmp/packerbuild-0/tora/tora/src/tora-2.1.3/src/toextract.cpp: In member function ‘QString toExtract::generateHeading(const QString&, std::list<QString, std::allocator<QString> >&)’:
/tmp/packerbuild-0/tora/tora/src/tora-2.1.3/src/toextract.cpp:690:27: error: ‘gethostname’ was not declared in this scope
make[2]: *** [src/CMakeFiles/tora.dir/toextract.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/tora.dir/all] Error 2
unistd.h needs to be included in the header for toextract.h for it to compile
Patch to include missing header
It's fixed in trunk already.
Works for me. Try again with the SVN version and reopen if it's still a problem.