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 ncoghlan
Recipients dmalcolm, eric.araujo, ncoghlan, pitrou, rosslagerwall, tarek
Date 2012-04-27.01:13:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335489239.28.0.529244633033.issue14443@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-04-27 01:13:59ncoghlansetrecipients: + ncoghlan, pitrou, tarek, eric.araujo, dmalcolm, rosslagerwall
2012-04-27 01:13:59ncoghlansetmessageid: <1335489239.28.0.529244633033.issue14443@psf.upfronthosting.co.za>
2012-04-27 01:13:58ncoghlanlinkissue14443 messages
2012-04-27 01:13:58ncoghlancreate