es-que / cpuset

Automatically exported from code.google.com/p/cpuset
GNU General Public License v2.0
0 stars 0 forks source link

rpmbuild error with cpuset-1.5.5 on RHEL5U5 #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ran one command to build RPM:  python setup.py bdist_rpm

What is the expected output? What do you see instead?
It should work, but I got the following message:
Requires: /usr/bin/python python python(abi) = 2.4
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/cpuset-1.5.5-1-buildroot
error: Installed (but unpackaged) file(s) found:
   /usr/lib/python2.4/site-packages/cpuset/__init__.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/__init__.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/common.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/mem.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/proc.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/set.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/shield.pyo
   /usr/lib/python2.4/site-packages/cpuset/config.pyo
   /usr/lib/python2.4/site-packages/cpuset/cset.pyo
   /usr/lib/python2.4/site-packages/cpuset/main.pyo
   /usr/lib/python2.4/site-packages/cpuset/util.pyo
   /usr/lib/python2.4/site-packages/cpuset/version.pyo

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib/python2.4/site-packages/cpuset/__init__.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/__init__.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/common.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/mem.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/proc.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/set.pyo
   /usr/lib/python2.4/site-packages/cpuset/commands/shield.pyo
   /usr/lib/python2.4/site-packages/cpuset/config.pyo
   /usr/lib/python2.4/site-packages/cpuset/cset.pyo
   /usr/lib/python2.4/site-packages/cpuset/main.pyo
   /usr/lib/python2.4/site-packages/cpuset/util.pyo
   /usr/lib/python2.4/site-packages/cpuset/version.pyo
error: command 'rpmbuild' failed with exit status 1

What version of the product are you using? On what operating system?
cpuset-1.5.5.tar.gz on RHEL5U5

Original issue reported on code.google.com by haiwu...@gmail.com on 23 Mar 2011 at 3:48

GoogleCodeExporter commented 8 years ago
Hi:  I just installed a fresh copy of rhel5.5 and do not get these messages, 
and do not see any pyo files in the build area. I also do not see this failure 
in the build service which I also use to build for rhel.  The pyo files are 
optimized python bytecode files that python will generate if the -O flag is 
used on the commandline.  Rhel5.5 by default does not do this.  Do you have an 
environment variable or a python startup file or something that is causing the 
python optimizer to activate when building the rpm?

Original comment by tsariou...@gmail.com on 31 Mar 2011 at 1:11

GoogleCodeExporter commented 8 years ago

Original comment by tsariou...@gmail.com on 31 Mar 2011 at 3:53

GoogleCodeExporter commented 8 years ago
No feedback received, so I'm closing as worksforme.  If it's still a problem 
for you, then please re-open the bug and we can track it down.  Thanks.

Original comment by tsariou...@gmail.com on 6 May 2011 at 9:09