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.

classification
Title: bdist_rpm fails on redhat9, fc1, fc2
Type: Stage:
Components: Distutils Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: anthonybaxter Nosy List: akitada, anthonybaxter, jepler, jeremysanders, misa, tarek
Priority: normal Keywords:

Created on 2004-05-20 13:05 by jepler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
distutils_debuginfo_patch jepler, 2004-05-20 13:05 patch from redhat bugzilla
Messages (6)
msg20851 - (view) Author: Jeff Epler (jepler) Date: 2004-05-20 13:05
distutils bdist_rpm has long been broken for recent
versions of RPM (RedHat 9, Fedora Core 1 and 2)
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88616
 
When an RPM contains an executable or shared library, a
"-debuginfo" rpm is generated.  For instance, the
following two packages would be generated:
    foo-1.0.0-1.i386.rpm
    foo-debuginfo-1.0.0.1-i386.rpm
 
When distutils is faced with this problem, it prints an
error like
    AssertionError: unexpected number of RPM files
found:
['build/bdist.linux-i686/rpm/RPMS/i386/foo-1.0.0-1.i386.rpm',
build/bdist.linux-i686/rpm/RPMS/i386/foo-debuginfo-1.0.0-1.i386.rpm']

The bugzilla bug contains a proposed patch, but
redhat/fedora developers chose not to accept it for
their own build of Python.
msg20852 - (view) Author: Jeremy Sanders (jeremysanders) Date: 2004-05-21 08:46
Logged In: YES 
user_id=8953

I've opened a bugzilla report for fedora 2 

See
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123598
msg20853 - (view) Author: Jeff Epler (jepler) Date: 2004-05-21 11:46
Logged In: YES 
user_id=2772

the "WONTFIX" closure of bugzilla 88616 was already from
Fedora days (2004-04-05), so opening a new bug report is
unlikely to do much on its own.  (in fact, I don't know if
it's likely to do more than get closed as a duplicate)  Of
course, I don't speak for Fedora.

If a fix for this new RPM feature is included in Python (for
2.3.5 and 2.4) then I'd guess it's more likely to be added
as a patch for a subsequent 2.3.3 or 2.3.4-based Python
package, but again I don't speak for the Fedora developers.
msg20854 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2004-06-11 17:18
Logged In: YES 
user_id=29957

Applied to trunk. Will backport to the 2.3 branch.
msg20855 - (view) Author: Mihai Ibanescu (misa) Date: 2006-07-17 02:34
Logged In: YES 
user_id=205865

Please see patch 1060577  for a more general approach that
should let people build multiple rpms out of a spec file.

https://sourceforge.net/tracker/?func=detail&aid=1060577&group_id=5470&atid=305470
msg81562 - (view) Author: Akira Kitada (akitada) * Date: 2009-02-10 16:52
Is this problem already closed?
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40275
2009-04-05 18:41:06georg.brandlsetstatus: open -> closed
resolution: fixed
2009-02-10 16:52:26akitadasetnosy: + akitada, tarek
messages: + msg81562
2004-05-20 13:05:28jeplercreate