[Bug 1842133] Re: findutils shows wrong version number
Keith Thompson
1842133 at bugs.launchpad.net
Tue Sep 10 05:40:51 UTC 2019
I found the upstream fix for this issue.
git://git.sv.gnu.org/findutils :
commit 1cc207f6ebddd3609c995f17756f995cf8847c32
Author: Bernhard Voelker <mail at bernhard-voelker.de>
Date: 2017-10-30 21:54:19 +0100
maint: make inter-release --version output more useful
Now, each snapshot has a version "number" like 4.6-131-219-gda920ee,
which indicates that it is built using the 131st change set
(in _some_ repository) following the "v4.6" tag, and that da920ee
is a prefix of the commit SHA1.
Prior to this commit, "find --version" reported "4.7.0-git".
As of that commit, it reports "4.6.0.157-1cc2"
The very latest as of today reports "4.7.0.12-6975a".
*If* this were to be addressed for Ubuntu 18.04, it could be done
by backporting this patch from upstream. I express no opinion on
whether that would be worth doing.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/1842133
Title:
findutils shows wrong version number
Status in findutils package in Ubuntu:
New
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+20190209-2, and "find --version"
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+20170828-2
Candidate: 4.6.0+git+20170828-2
Version table:
*** 4.6.0+git+20170828-2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
$ 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://gnu.org/licenses/gpl.html>.
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)
$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1842133/+subscriptions
More information about the foundations-bugs
mailing list