I haven't built my blog in a while, but I'm getting a ton of failures now and can't proceed:
Building sites … WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.ttf", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.svg", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.woff", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.woff2", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.eot", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.svg", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.ttf", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.woff", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-regular-400.woff2", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.eot", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.svg", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.ttf", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.woff", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-solid-900.woff2", skipping.
WARN 2019/08/15 18:53:59 Unsupported symlink found in "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/static/webfonts/fa-brands-400.eot", skipping.
ERROR 2019/08/15 18:53:59 Failed to read Git log: fatal: unknown error occured while reading the configuration files
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
ERROR 2019/08/15 18:53:59 render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest/layouts/partials/mastodon
.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
Total in 89 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:13:3: executing "_default/single.html" at <partial "mastodon" .>: error calling partial: "/home/jak/Projects/Stable/blog.jak-linux.org/themes/ernest
/layouts/partials/mastodon.html:23:23": execute of template failed: template: partials/mastodon.html:23:23: executing "partials/mastodon.html" at <resources.Get>: error calling Get: symlinks not allowed in this filesystem
This used to work perfectly fine back in Jun 13.
It's https://github.com/julian-klode/blog.jak-linux.org, the theme is included as a submodule https://github.com/julian-klode/ernest/tree/20d409d466cd1a150b6affdf2c6d3c6bead96a76 and it contains various symlinks in static/webfonts (to link to the fonts gotten via npm).
These symlinks were resolved and then the real file put into the output as intended.
We stopped supported symlinks from themes in a recent release. Mostly for security reasons, but we also added a powerful directory mount support that should be possible to replace those symlinks in a more portable and easier to reason about manner.
You may want to ask further questions on https://discourse.gohugo.io/
@bep why don't give option, sometimes We known what we are doing.
I just add symlinks to my static dir.
ln -s $static/assets $ProjectRoot/assets
This breaks the integration with some build systems that are relying on symlinks to sandbox the inputs (i.e. Bazel). This is not great :-(
Most helpful comment
This breaks the integration with some build systems that are relying on symlinks to sandbox the inputs (i.e. Bazel). This is not great :-(