Your message dated Wed, 08 Jul 2026 03:49:30 +0000
with message-id <[email protected]>
and subject line Bug#1141270: fixed in snapraid 14.7-1
has caused the Debian Bug report #1141270,
regarding snapraid: snapraid -V reports "vnone" instead of version number
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.)


-- 
1141270: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141270
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snapraid
Version: 12.4-1
Severity: minor
Tags: upstream
Distribution: trixie

On trixie (stable), snapraid -V prints "snapraid vnone by Andrea Mazzoleni"
instead of the actual version number. The bug is not present in forky/sid
(13.0-1) where upstream fixed the fallback.

*Reproducer:*
  apt-get install snapraid
  snapraid -V
  → snapraid vnone by Andrea Mazzoleni, http://www.snapraid.it

*Root cause:*
autover.sh in the v12.4 source tree has "none" as its final fallback:

  if [ -z $VERSION ]; then
      VERSION="none"
  fi

configure.ac runs autover.sh at autoconf time via m4_esyscmd_s:

  m4_define([git_revision], m4_esyscmd_s([./autover.sh]))
  AC_INIT([snapraid], [git_revision], ...)

The Debian build (debhelper-compat = 13) re-runs autoconf via
dh_autoreconf. At that point there is no .git directory and no .version
file in the source tree, so autover.sh returns "none", which gets baked
into PACKAGE_VERSION. The version() function then prints "v" VERSION →
"vnone".

This was fixed upstream in v13.0: the fallback was changed to "0" and
the .version file is now checked before git tags. The fix is not present
in v12.4.

*Suggested fix for the Debian package:*
Add an override in debian/rules to write the correct version before
dh_autoreconf runs:

  override_dh_autoreconf:
      echo "12.4" > .version
      dh_autoreconf

Alternatively, include a .version file containing "12.4" in the orig
tarball, or patch autover.sh to replace the "none" default with the
actual version string.

*Upstream fix reference:*
https://github.com/amadvance/snapraid/blob/v13.0/autover.sh

Best Regards,
Oliver

--- End Message ---
--- Begin Message ---
Source: snapraid
Source-Version: 14.7-1
Done: Mo Zhou <[email protected]>

We believe that the bug you reported is fixed in the latest version of
snapraid, 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.
Mo Zhou <[email protected]> (supplier of updated snapraid 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: Tue, 07 Jul 2026 20:32:41 -0700
Source: snapraid
Architecture: source
Version: 14.7-1
Distribution: unstable
Urgency: medium
Maintainer: Mo Zhou <[email protected]>
Changed-By: Mo Zhou <[email protected]>
Closes: 1141270
Changes:
 snapraid (14.7-1) unstable; urgency=medium
 .
   * New upstream version 14.7
   * Fix the missing version number. (Closes: #1141270)
   * Rebase existing patches.
Checksums-Sha1:
 2060ff7eac25573c329c78078a1fe45a049ca370 1839 snapraid_14.7-1.dsc
 d5dbcb311e50b321cd1c424882bf207687eebf8b 1756660 snapraid_14.7.orig.tar.gz
 4a93da05c2b548f388fd48a69f243e9d93c203a2 6288 snapraid_14.7-1.debian.tar.xz
 32a24613ddfd8bb6ef486cb679419de32dafe6db 6438 snapraid_14.7-1_source.buildinfo
Checksums-Sha256:
 22aa9f1120870e7c9807e846055fffd907148b21dfaab56ecca84716685d4ac8 1839 
snapraid_14.7-1.dsc
 2d999df449116efcabe4089ca5ae6ef68620c24c82fb79e90f2156ee2d7f7b77 1756660 
snapraid_14.7.orig.tar.gz
 d2873e9e61bf9430ba8bc6ea32b1e107cd703d286e05ef204163c84633007d6b 6288 
snapraid_14.7-1.debian.tar.xz
 e7c30e505f73097860e9a49f791401802870df96b3a5646bfeecb81f9d12bff4 6438 
snapraid_14.7-1_source.buildinfo
Files:
 070e9c5ab8407fcebd51acd20d5ced85 1839 admin optional snapraid_14.7-1.dsc
 97568a516f996452ddb2d951619bb363 1756660 admin optional 
snapraid_14.7.orig.tar.gz
 6ce9f14715855cc222ea1c445ef74edc 6288 admin optional 
snapraid_14.7-1.debian.tar.xz
 d663141ed6181c43781ae27455085e23 6438 admin optional 
snapraid_14.7-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmpNxP4RHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaoqwXxAAnPJSKUyKSbNBMLgtm+bdddhJBfpyUZaw
54bQS/C1J5VdtcOYfnZHdXn4DUVSrmHrqxY/JK1gwGV3iZx5hSAhYW2B5hzkuLTf
8Jknac0vhe1Kxh0L5+Q8MVV4z5Yx1Oq7W8DGlMQNSBM9bVXlArgkkhmBQ+GdqXf2
Q6fnlKbYvppzOh8FiaIDpAcMDf3e4KMYEc0VIDytcIA23gWq+jzxDnsA9Vuubruj
reoWHZG7slpEX5zKSjh7AjunRbqUr2OyMcsa9pCWCJUoGdf6PtRpsnqmBVdBRjKT
f/hI8vu4JLvW+Upm/6M6n6iSH+lLSkvkHopmvo3nqPc14omMIpQPm9tSb2UuZw6g
xqDRUaEUmcwxSUma5Kd8l2KKc+wvx9pI5BHznZDOY7r81nuvq60ZjsuB3CDvgkHB
LIEItUdgtpJxfyOsQ6ekXwvDVye3JgYAuInlG4Fz7bY9QzzjSNQBwBWny7maOxAJ
ImgXYM/BoxqoUC5NvgDj3Lalgo1cWumgVI12y10TcQiE0E4P02yCfCCGDFVmRb/t
Mii1TT0BnQKjtOgTpbC1S4oyp3Lv99yTIrmawsFfEr+lvgVOUY5XVh21GVk+fFXE
fsNd8hfqxnEQOqfwX/pWOt5xlJpbDSA/M4mboPT4Dj1XIbnwqwFJpS0uKLTYVGTd
OjEsaaBBxrg=
=DTdy
-----END PGP SIGNATURE-----

Attachment: pgpXakCMKnpDU.pgp
Description: PGP signature


--- End Message ---

Reply via email to