[issue14443] Distutils test_bdist_rpm failure

Nick Coghlan report at bugs.python.org
Fri Apr 27 03:13:59 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I tried the simple fix a couple of different ways on the RHEL6 buildbot. First by changing line 315 of Lib/distutils/command/bdist_rpm.py" to be:

    rpm_cmd = ['rpmbuild', '--define', '__python %s' % sys.executable]

And then a second time by adding the new "--define" after the "-ba" option. (changing the spawn command to show the full command on error indicating the new arguments *were* being passed in, though)

Neither worked - I still got the same error. Since I'm seeing the same fault on my Fedora system, I'll start poking around there instead (not sure when I'll get to it though).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14443>
_______________________________________


More information about the Python-bugs-list mailing list