Opened 2 years ago

Closed 2 years ago

Last modified 12 months ago

#56627 closed defect (fixed)

Upstream mtr package has wrong version

Reported by: dgilman (David Gilman) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Schamschula (Marius Schamschula)
Port: mtr


The upstream MTR tarball was created with an incorrect version number and this was packaged into the autoconf build scripts. If you run mtr --version you'll see 0.91.1-4c982 instead of 0.92. Please re-run as part of the build to give the binary the correct version.

Change History (4)

comment:1 Changed 2 years ago by Schamschula (Marius Schamschula)

Unfortunately, if you run or set use_autoreconf to yes, you will get mtr UNKNOWN


comment:2 Changed 2 years ago by dgilman (David Gilman)

The git-version-gen function is weird and the --fallback flag only works when git itself is not installed. But this patch puts the right version number in configure and the resulting binary:

--- ../mtr/	2018-06-08 08:51:54.610437193 -0400
+++	2018-06-08 08:52:23.359539561 -0400
@@ -1,6 +1,6 @@
-  [m4_esyscmd([build-aux/git-version-gen .tarball-version])],
+  [0.92])],
   [], [],
Last edited 2 years ago by dgilman (David Gilman) (previous) (diff)

comment:3 Changed 2 years ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Resolution: fixed
Status: newclosed

In 759cdf278ce60154a111019811f1ad8998a1560e/macports-ports (master):

mtr 0.92: fix version string

Closes: #56627

comment:4 Changed 12 months ago by neverpanic (Clemens Lang)

In 440141456b1ec427b6a81499b2b683fcc26db5a3/macports-ports (master):

mtr: Drop unnecessary reinplace and workaround

The reinplace no longer matches anything and the timestamps of the
shipped also seem to be fine, since building in trace mode
now works again without this change.

Reverts 5ba5586109a2a8fdb5048c3b20a888951982484e and

See: #56627

Note: See TracTickets for help on using tickets.