Created attachment 760208 [details] Created emerge-info.txt Failed to build/compile with this message: >>> Source unpacked in /var/tmp/portage/www-apps/hugo-0.91.0/work >>> Preparing source in /var/tmp/portage/www-apps/hugo-0.91.0/work/hugo-0.91.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-apps/hugo-0.91.0/work/hugo-0.91.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-apps/hugo-0.91.0/work/hugo-0.91.0 ... mkdir: created directory 'bin' WORK=/var/tmp/portage/www-apps/hugo-0.91.0/temp/go-build2750099236 /usr/lib/go/src/net/http/h2_bundle.go:38:2: read /usr/lib/go/src/net/http/httptrace/example_test.go: unexpected NUL in input resources/resource_factories/create/remote.go:23:2: read /usr/lib/go/src/net/http/httputil/dump.go: unexpected NUL in input * ERROR: www-apps/hugo-0.91.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3419: Called die * The specific snippet of code: * go build -ldflags "-X ${my_import_path}/hugo.buildDate=$(date --iso-8601=seconds) -X ${my_import_path}/hugo.vendorInfo=Gentoo" $(usex sass "-tags extended" "") -o "${S}/bin/hugo" || die; * Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -auvDN world Actual Results: Failed to build Expected Results: Not to fail
Created attachment 760209 [details] Created www-apps:hugo-0.91.0:20211225-172241.log
(In reply to Remus-Gabriel Chelu from comment #1) > Created attachment 760209 [details] > Created www-apps:hugo-0.91.0:20211225-172241.log Solution: reinstalling "go"; "hugo" compile fine: emerge -v go && emerge -v hugo
Question (although possibly not directly related to 'hugo'), why does the output of the "emerge --depclean" command offer for 'unmerged': dev-ruby/sass-listen and dev-ruby/sass, when www-apps/hugo was it built with the 'sass' flag?
It sounds like some file(s) in your dev-lang/go package were corrupted. Reinstalling dev-lang/go fixed that. Marking this report as INVALID as the issue is likely isolated to your system.