findutils shows wrong version number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This problem occurs on Ubuntu 18.04.3 LTS (bionic).
It does not occur on Ubuntu 19.04 (disco)
The "find" and "xargs" command are provided by a patched version of the
GNU findutils package. The current version is based on release 4.6.0, but
the "--version" option shows a version number of "4.7.0-git".
As you can see, the "/usr/bin/find" executable is dated Nov 5 2017.
findutils release 4.7.0 was released just yesterday, Aug 29 2017.
Ubuntu 19.04 has findutils 4.6.0+git+
shows "find (GNU findutils) 4.6.0.225-235f".
Expected: "findutils --version" shows a version number based on 4.6.0
Actual: "findutils --version" shows a version number based on 4.7.0,
which had not yet been released
Demonstration:
$ lsb_release -rd
Description: Ubuntu 18.04.3 LTS
Release: 18.04
$ apt-cache policy findutils
findutils:
Installed: 4.6.0+git+
Candidate: 4.6.0+git+
Version table:
*** 4.6.0+git+
500 http://
100 /var/lib/
$ ls -l /usr/bin/find
-rwxr-xr-x 1 root root 238080 Nov 5 2017 /usr/bin/find
$ /usr/bin/find --version
find (GNU findutils) 4.7.0-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2)
$
tags: | added: bionic |
First off: Ubuntu/Debian do not ship "patched version of the GNU findutils package [...] based on release 4.6.0". The ship a GIT snapshot. e.g. 4.6.0+git+ 20170828- 2 is upstream GIT as of 2017-08-28. /usr/share/ doc/findutils/ changelog. Debian. gz even has the full respective GIT revision. (febde26dd0e66d da5d4060fa29b85 443ddc6a865. ). To clearly show that we are *not* shipping a upstream /release/ we are using a +git version.
The version number upstream GIT snapshots report depends a little bit on the way they are built (git present or not when make dist is invoked, et.al), they might show 4.7.0-git or 4.6.0.235-f254 (That is 4.6.0+git+ 20190510- 2).