Bug 914787

Summary: cpupower -v reports version ".."
Product: Red Hat Enterprise Linux 6 Reporter: Petr Beňas <pbenas>
Component: cpupowerutilsAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Jeff Bastian <jbastian>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.5CC: lnovich, pstehlik
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 04:39:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Beňas 2013-02-22 18:55:23 UTC
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.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-21 04:39:54 UTC
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