#1140254 hugo: FTBFS: command error: unknown command "mods" for "hugo"

Package:
src:hugo
Source:
src:hugo
Submitter:
Santiago Vila
Date:
2026-06-17 16:17:10 UTC
Severity:
normal
Tags:
#1140254#5
Date:
2026-06-17 16:15:06 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:hugo, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build
   dh_auto_clean -O--builddirectory=_build
   dh_autoreconf_clean -O--builddirectory=_build
   dh_clean -O--builddirectory=_build
 debian/rules binary
dh binary --builddirectory=_build
   dh_update_autotools_config -O--builddirectory=_build
   dh_autoreconf -O--builddirectory=_build
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for i in github.com/bep/golocales; do \
    mkdir -p _build/src/$(dirname $i) ; \
    ln -s /<<PKGBUILDDIR>>/debian/go/src/$i _build/src/$(dirname $i)/ ; \
done

[... snipped ...]