[Distutils] [SOLVED] Confounded by unhelpful error message.
Robert Park
rbpark at exolucere.ca
Sat May 12 09:48:18 CEST 2012
On Fri, May 11, 2012 at 1:58 PM, Éric Araujo <merwok at netwok.org> wrote:
> Thank you for sending the answer, this can be helpful for other people.
I seem to run into this problem every year when I upgrade my system
and have to reinstall all my dev tools, so I must admit my message was
quite selfish, hoping that I would find it the next time I go googling
for this error.
> I thought about suggesting you were maybe missing rpm or rpmbuild, but
> decided not to send that thought because you had said “rpm and distutils are
> both installed”.
Yeah, I was being quite specific. I had installed the package called
'rpm'. It hadn't occurred to me that there was another package that
was required.
> I never really looked into the bdist_rpm code, and I have
> no idea of how rpm works. I should learn a bit more when I find time to
> work on http://bugs.python.org/issue11122
It seems like more of a Fedora/redhat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=697435
>> I'm still shaking my head at that *awful* error message though.
>
> Yep, lying about the file that’s missing is definitely not good. I’ll
> investigate distutils.spawn to see if I can fix that.
Cool, thanks.
--
http://exolucere.ca
More information about the Distutils-SIG
mailing list