Bug 713598

Summary: python-async-debuginfo is empty
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: python-asyncAssignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dcantrell, mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.6.1-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-20 13:56:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 496968    

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.