Your message dated Fri, 28 Aug 2026 11:27:07 +0200
with message-id <[email protected]>
and subject line Fixed with new upload
has caused the Debian Bug report #1142061,
regarding hugo: sitemap.xml is invalid on version < 0.164.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1142061: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142061
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hugo
Version: 0.162.1-1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

When running `hugo` or `hugo build` you end up w/ a sitemap.xml which has an
empty line. This causes XML parsers to complain.

$ head -5 public/sitemap.xml

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";
  xmlns:xhtml="http://www.w3.org/1999/xhtml";>
  <url>

vs 0.164.0

$ head -5 public/sitemap.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";
  xmlns:xhtml="http://www.w3.org/1999/xhtml";>
  <url>
    <loc>https://....</loc>

Upstream has solved this in 0.164.0 afaik, I tested 0.162.x on unstable,
0.163.0 and 0.164.0 from the ghcr, all but 0.164.0 exhibit the behaviour.

Could you please upgrade hugo to 0.164?

Many thanks,
Wesley


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental'), (10, 
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-updates'), (10, 
'oldstable-security'), (10, 'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.14+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hugo depends on:
ii  libc6     2.42-17
ii  libsass1  3.6.5+20231221-3+b2
ii  libwebp7  1.5.0-0.1+b2

Versions of packages hugo recommends:
ii  git         1:2.53.0-1
ii  golang-any  2:1.26~1

Versions of packages hugo suggests:
pn  asciidoctor       <none>
ii  nodejs [npm]      25.9.0-1nodesource1
ii  pandoc            3.10-1
ii  python3-docutils  0.22.4+dfsg-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Package: hugo
Version: 0.165.0-1

Hi Wesley,

I've just uploaded 0.165.0, so this bug should be fixed.

Regards,
Tobias

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to