Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 713598 - python-async-debuginfo is empty
Summary: python-async-debuginfo is empty
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-async
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: DebugInfo
TreeView+ depends on / blocked
 
Reported: 2011-06-15 20:52 UTC by Ville Skyttä
Modified: 2013-01-10 06:37 UTC (History)
2 users (show)

Fixed In Version: 0.6.1-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-20 13:56:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2011-06-15 20:52:24 UTC
python-async-debuginfo is empty.  Should the package be actually noarch (yep, it installs to /usr/lib64 on x86_64, but should it)?

If not, the debuginfo package should be explicitly disabled if there's nothing to extract debuginfo from.

Comment 1 Jesse Keating 2011-06-16 19:49:50 UTC
It builds a binary python module that is arch dependent.  What's the right way to prevent a debuginfo package from being automatically generated?

Comment 2 Ville Skyttä 2011-06-17 17:08:09 UTC
(In reply to comment #1)
> It builds a binary python module that is arch dependent.

Ah, I see that's the intention from the build logs, but it actually fails to do that:

http://kojipkgs.fedoraproject.org/packages/python-async/0.6.1/1.fc16/data/logs/x86_64/build.log

gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -I/usr/include/python2.7 -c mod/zlibmodule.c -o build/temp.linux-x86_64-2.7/mod/zlibmodule.o
mod/zlibmodule.c:8:18: fatal error: zlib.h: No such file or directory
compilation terminated.
Ignored failure when building extensions, pure python modules will be used instead

Adding "BuildRequires: zlib-devel" fixes that, and results in proper debuginfo as well.

> What's the right way to prevent a debuginfo package from being automatically
> generated?

Following the links in the DebugInfo bug this one blocks:
http://fedoraproject.org/wiki/Packaging:Debuginfo
...but there's no need to do anything about the debuginfo package after the zlib-devel BR fix.

Comment 3 Jesse Keating 2011-06-17 17:49:22 UTC
Ooooh!  Good catch!  I didn't see this in my local builds due to having zlib-devel installed.  I'll fix this right away.


Note You need to log in before you can comment on or make changes to this bug.