Building the Hub with bazel fails for me with error, can't find a solution by searching:
/root/hub/hub/service/BUILD:12:1: C++ compilation of rule '//hub/service:attachment_service' failed (Exit 1)
In file included from ./hub/db/connection.h:23:0,
from ./hub/db/db.h:18,
from ./hub/service/attachment_service.h:18,
from hub/service/attachment_service.cc:8:
./common/crypto/types.h:18:23: fatal error: string_view: No such file or directory
--slave /usr/bin/g++ g++ /usr/bin/g++-7 sudo update-alternatives --config gcc sudo update-alternatives
--install /usr/bin/gcc gcc /usr/bin/gcc-7 60
--slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-7
--slave /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-7
--slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-7 bazel clean --expunge – dakon Jan 18 '19 at 14:27