Your message dated Fri, 20 Nov 2026 02:34:45 +0000
with message-id <[email protected]>
and subject line Bug#1152657: fixed in witr 0.3.4+ds-2
has caused the Debian Bug report #1152657,
regarding witr: --version prints an empty version
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.)
--
1152657: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152657
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: witr
Version: 0.3.1+ds-1
Severity: minor
Tags: patch
Dear Maintainer,
witr --version doesn't show the package version:
$ witr --version
witr v (commit unknown, built v2026-04-23)
debian/rules passes $(DEB_UPSTREAM_VERSION) via -ldflags, but
/usr/share/dpkg/pkg-info.mk defines DEB_VERSION_UPSTREAM, so make expands
it to an empty string. The build date also gets a stray "v" prefix.
With the fix below (also proposed as a merge request on Salsa) it prints:
witr v0.3.1+ds (commit unknown, built 2026-04-23)
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,8 @@ export DH_GOLANG_INSTALL_EXTRA := internal/version/VERSION
BUILD_DATE := $(shell date --utc --date="@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d")
LD_FLAGS := \
- -X
'github.com/pranshuparmar/witr/internal/version.Version=v$(DEB_UPSTREAM_VERSION)'
\
- -X
'github.com/pranshuparmar/witr/internal/version.BuildDate=v$(BUILD_DATE)'
+ -X
'github.com/pranshuparmar/witr/internal/version.Version=v$(DEB_VERSION_UPSTREAM)'
\
+ -X 'github.com/pranshuparmar/witr/internal/version.BuildDate=$(BUILD_DATE)'
%:
dh $@ --builddirectory=debian/build --buildsystem=golang
If you'd rather show the upstream version without the +ds repack suffix,
$(subst +ds,,$(DEB_VERSION_UPSTREAM)) gives "v0.3.1".
The fix was prepared with the help of an AI assistant (Claude Code),
which also built the package in sid and checked the output above.
--- End Message ---
--- Begin Message ---
Source: witr
Source-Version: 0.3.4+ds-2
Done: Maytham Alsudany <[email protected]>
We believe that the bug you reported is fixed in the latest version of
witr, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Maytham Alsudany <[email protected]> (supplier of updated witr package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 20 Nov 2026 09:56:21 +0800
Source: witr
Architecture: source
Version: 0.3.4+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Maytham Alsudany <[email protected]>
Closes: 1152657 1152884
Changes:
witr (0.3.4+ds-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS (Closes: #1152884)
+ Use a native golang Go compiler.
+ Add a native build pass for the docgen tool.
.
[ Maytham Alsudany ]
* d/rules: Use correct DEB_VERSION_UPSTREAM envvar, fix version date passed
to build (Closes: #1152657)
Checksums-Sha1:
3aa60fb2346e8d09550c019a8e6779ba36c7c2c3 2267 witr_0.3.4+ds-2.dsc
3c13c68001196277065bfd44083e47022a99017d 4188 witr_0.3.4+ds-2.debian.tar.xz
e8b9cbc26bb528724d542f2f2c3d603748aae7be 9690 witr_0.3.4+ds-2_arm64.buildinfo
Checksums-Sha256:
23db60eca54dc6cba27936b75df86cce652b66404a85ebd5df5c6883fd98e38f 2267
witr_0.3.4+ds-2.dsc
8f387c949622552a9942f055e521362773e8bb490e7f91dab172a40710b577a5 4188
witr_0.3.4+ds-2.debian.tar.xz
517f91a705d7fe06ac2f96fada8c2bfde462df205aac480fffc4a6b24e8d66d8 9690
witr_0.3.4+ds-2_arm64.buildinfo
Files:
ccbce7a9dc6eec53f87dd8d249298722 2267 admin optional witr_0.3.4+ds-2.dsc
e4f95bd648efe8ef147cdf31db6b4481 4188 admin optional
witr_0.3.4+ds-2.debian.tar.xz
5da26d0088ef4ee8d91854fcd7e9d4fe 9690 admin optional
witr_0.3.4+ds-2_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEESl/RzRFQh8wD3DXB1ZeJcgbF8H8FAmr/qqsACgkQ1ZeJcgbF
8H9i6Q/9FlwHhNhQFInMDPwlLDPfH7Bl/7vNSpkVhZZuOgZELEDdimwRlkyFyPil
Ql+XGczA4V1MGOn3/ZPNPFL62ldZnLXvvD6c7yV+3hanCaThv8XC42l8pJBAsQgn
yD1iNc1KBNmYgkuQ1rZCjyOcIT8mEN9BMGWFFLdCkBcbJ5c1oqZKqlO+BjgBJGod
haNiyPTGRQ5R8ZZAGYsbQIEMIyKw9EK5CkjeJRcEUEeQvD9zQpkFQFrGe71OAzqm
upXlla0tK8qVc90Tp1Xnjlv9sCX3voaMcJv7vJhJsru7ttFwdZ7Wc37uH0pazLBR
B+7A+9ME8soLKy6bVF60S8Dv+qxPK3VHqanJaAh8GaJixvZYCybuWhGPENAkHAfb
hp8aWafbMM4+h/mYhKlDprlRA8wvXdCnNXwmdP72FIjrdQj33cCLQPDuSjApGnAr
6DyWxpcLyHeNLWyiFcTxBmKzuCuwXJI4mj/WicDPBRSRp1mEkyfLhPObhvXoImUo
zGqYFLzfSzF4mDJ2eztd1GPycZigvx8d3+5xcUIKrohRYwgYuYKn3XKkoVKMCdQR
mFuPBX/9bkih5wspq7BbWoqIlA/uQG97TR0JlwTfwIusS7gymBtAVSJsWdQWtwxX
oa/mLc52x8CsWMdAQwAaY3QoePD4mixEt49ANOOmBb25jcHXLuM=
=AUlp
-----END PGP SIGNATURE-----
pgp__HRUFeW75.pgp
Description: PGP signature
--- End Message ---