static if( __traits(compiles, {import core.sys.posix.grp;}) ){ import core.sys.posix.grp; } else {
In the current DMD, there is a typo in the declaration of getgrgid
in Druntime (a fix is already committed). The workaround I used is to change the check to:
static if( __traits(compiles, {import core.sys.posix.grp; getgrgid(0);}) ){
This fix is in v0.7.13, but I think the Debian package is still at v0.7.11. So three possibilities come to mind:
- Change the installed appmain.d file manually
- Directly git clone the vibe.d repository instead of using the .deb package, as Matej suggested
- Use DUB to build the project and put
"vibe-d": ">=0.7.13"
as a dependency in package.json
Personally, I would use the third option, as it makes all public DUB packages available for use and is a lot more powerful that the vibe
tool.