[ python-Bugs-1006607 ] distutils builds too many rpms
SourceForge.net
noreply at sourceforge.net
Tue Aug 10 23:07:38 CEST 2004
Bugs item #1006607, was opened at 2004-08-10 10:23
Message generated for change (Settings changed) made by jonez
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1006607&group_id=5470
Category: Python Library
Group: Python 2.3
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jeff MacDonald (jonez)
Assigned to: Nobody/Anonymous (nobody)
Summary: distutils builds too many rpms
Initial Comment:
I have a small extension module called 'getdate' which
I am trying to build as an rpm using distutils.
the module builds just fine, however at the very end, I
get the following error:
Traceback (most recent call last):
File "./setup.py", line 83, in ?
include_dirs = [get_python_inc(plat_specific=1),]),
File
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/core.py",
line 149, in setup
File
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/dist.py",
line 907, in run_commands
File
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/dist.py",
line 927, in run_command
File
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/command/bdist_rpm.py",
line 316, in run
AssertionError: unexpected number of RPM files found:
['build/bdist.linux-i686/rpm/RPMS/i386/getdate-1.0.1-1.i386.rpm',
'build/bdist.linux-i686/rpm/RPMS/i386/getdate-debuginfo-1.0.1-1.i386.rpm']
----------------------------------------------------------------------
Comment By: Jeff MacDonald (jonez)
Date: 2004-08-10 17:07
Message:
Logged In: YES
user_id=3547
this is an issue caused by redhat which always builds
'debuginfo' rpms.. I am told it has been fixed upstream, and
at the moment I have hacked my .rpmmacros file so that the
build I am trying to finish works. I'm closing this ticket.
----------------------------------------------------------------------
Comment By: Jeff MacDonald (jonez)
Date: 2004-08-10 10:24
Message:
Logged In: YES
user_id=3547
if it's relevant, I am using Fedora Core 2 as the build
machine. the python version I am using is: "python-2.3.3-6"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1006607&group_id=5470
More information about the Python-bugs-list
mailing list