Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#63387 - [mtr] version printing is broken

Attached to Project: Arch Linux
Opened by Sami Kerola (kerolasa) - Tuesday, 06 August 2019, 07:33 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 06 August 2019, 20:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Arch package of recent mtr 0.93 does not print version when --version option is used. Something in Arch build is going wrong with autotools ./configure AC_INIT([mtr], [m4_esyscmd([build-aux/git-version-gen .tarball-version])], [...]. When trying 'make distcheck' I can see project tests not working, but version number is fine. With these things in mind I have a hunch something in PKGBUILD file or makepkg is going wrong.

Additional info:
* package version: 0.93
* I compiled mtr from git clone without issues in version printing.
* Compilation using tar file from upstream ftp site had no issues with version printing.

Steps to reproduce:

# mtr --version | cat -vet
mtr $
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 06 August 2019, 20:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.93-2
Comment by Evangelos Foutras (foutrelis) - Tuesday, 06 August 2019, 08:20 GMT
Removing autoreconf from the PKGBUILD should fix this. autoreconf likely only works with git clones of mtr and the released tarballs are missing the version generation script ("sh: build-aux/git-version-gen: No such file or directory").