This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ShuaibKhan
Recipients ShuaibKhan, tarek
Date 2009-04-29.07:49:28
SpamBayes Score 3.2648182e-05
Marked as misclassified No
Message-id <1240991372.08.0.469372196929.issue5875@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

Running test_distutils as a non root user fails for me. Running it as a
root user works.

System information:

uname -a
Linux Matrix 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686
i686 i386 GNU/Linux

./python --version
Python 3.1a2+


======================================================================
ERROR: test_no_optimize_flag
(distutils.tests.test_bdist_rpm.BuildRpmTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/tests/test_bdist_rpm.py",
line 114, in test_no_optimize_flag
    cmd.run()
  File
"/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/command/bdist_rpm.py",
line 363, in run
    self.spawn(rpm_cmd)
  File "/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/cmd.py", line
368, in spawn
    spawn(cmd, search_path, dry_run=self.dry_run)
  File "/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/spawn.py", line
31, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/spawn.py", line
139, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command 'rpmbuild' failed with exit
status 1

======================================================================
ERROR: test_quiet (distutils.tests.test_bdist_rpm.BuildRpmTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/tests/test_bdist_rpm.py",
line 74, in test_quiet
    cmd.run()
  File
"/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/command/bdist_rpm.py",
line 363, in run
    self.spawn(rpm_cmd)
  File "/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/cmd.py", line
368, in spawn
    spawn(cmd, search_path, dry_run=self.dry_run)
  File "/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/spawn.py", line
31, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/home/shuaib/Tools/GSoC2009/py3k/Lib/distutils/spawn.py", line
139, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command 'rpmbuild' failed with exit
status 1

----------------------------------------------------------------------
History
Date User Action Args
2009-04-29 07:49:33ShuaibKhansetrecipients: + ShuaibKhan, tarek
2009-04-29 07:49:32ShuaibKhansetmessageid: <1240991372.08.0.469372196929.issue5875@psf.upfronthosting.co.za>
2009-04-29 07:49:30ShuaibKhanlinkissue5875 messages
2009-04-29 07:49:30ShuaibKhancreate