Bug 914787 - cpupower -v reports version ".."
cpupower -v reports version ".."
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cpupowerutils (Show other bugs)
6.5
x86_64 Unspecified
unspecified Severity low
: rc
: ---
Assigned To: Neil Horman
Jeff Bastian
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-22 13:55 EST by Petr Beňas
Modified: 2015-01-04 18:04 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-20 23:39:54 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Beňas 2013-02-22 13:55:23 EST
Description of problem:
Version information is incorrect for cpupower binary.

Version-Release number of selected component (if applicable):
cpupowerutils-1.1-2.el6.x86_64

Steps to Reproduce:
cpupower -v / cpupower --version
  
Actual results:
[root@sgi-xe250-02 ~]# cpupower --version
cpupower ..
Report errors and bugs to cpufreq@vger.kernel.org, please.
[root@sgi-xe250-02 ~]# cpupower -v
cpupower ..


Additional info:
utils/version-gen.sh cannot find Makefile
[root@sgi-xe250-02 cpupower]# grep -rn 'VERSION' .
./Makefile:60:VERSION=                  $(shell ./utils/version-gen.sh)
./Makefile:124:CFLAGS += -DVERSION=\"$(VERSION)\" -DPACKAGE=\"$(PACKAGE)\" \
grep: ./libcpupower.so: No such file or directory
./utils/version-gen.sh:6:# Heavily based on tools/perf/util/PERF-VERSION-GEN .
./utils/version-gen.sh:25:      eval $(grep '^VERSION[[:space:]]*=' ../../../Makefile|tr -d ' ')
./utils/version-gen.sh:28:      eval $(grep '^EXTRAVERSION[[:space:]]*=' ../../../Makefile|tr -d ' ')
./utils/version-gen.sh:30:      VN="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}"
./utils/cpupower.c:111: printf(PACKAGE " " VERSION "\n");
[root@sgi-xe250-02 cpupower]# sh ./utils/version-gen.sh
grep: ../../../Makefile: No such file or directory
grep: ../../../Makefile: No such file or directory
grep: ../../../Makefile: No such file or directory
grep: ../../../Makefile: No such file or directory
..
Comment 12 errata-xmlrpc 2013-11-20 23:39:54 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1533.html

Note You need to log in before you can comment on or make changes to this bug.