Bug 824303

Summary: Broken symlink for python-config in python-devel
Product: [Fedora] Fedora Reporter: Simone Caronni <negativo17>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: dmalcolm, ivazqueznet, jonathansteffan, jsafrane, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-29 15:24:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 824426, 825519    

Description Simone Caronni 2012-05-23 08:41:59 UTC
Description of problem:
Package python-devel in Fedora 16 ships with a broken symlink that breaks all python detections relying on "/usr/bin/python-config"

Version-Release number of selected component (if applicable):
python-devel-2.7.3-1.fc16.x86_64

How reproducible:
Install python-devel, and run "/usr/bin/python-config --includes"

Steps to Reproduce:
1. Install python-devel
2. Run "/usr/bin/python-config --includes"
3. Run "ls -al /usr/bin/python*"
  
Actual results:
$ usr/bin/python-config --includes
bash: /usr/bin/python-config: No such file or directory
$ ls -al /usr/bin/python*
lrwxrwxrwx. 1 root root    7 May 23 10:09 python -> python2
lrwxrwxrwx. 1 root root    9 May 23 10:09 python2 -> python2.7
-rwxr-xr-x. 1 root root 4896 Apr 13 22:17 python2.7
-rwxr-xr-x. 1 root root 1785 Apr 13 22:17 python2.7-config
lrwxrwxrwx. 1 root root   14 May 23 10:11 python-config -> python2-config

Expected results:
$ /usr/bin/python-config --includes
-I/usr/include/python2.7 -I/usr/include/python2.7
$ ls -al /usr/bin/python*
lrwxrwxrwx. 1 root root    7 May  9 13:33 python -> python2
lrwxrwxrwx. 1 root root    9 May  9 13:33 python2 -> python2.7
-rwxr-xr-x. 1 root root 6184 Apr 30 23:18 python2.7
-rwxr-xr-x. 1 root root 1785 Apr 30 23:18 python2.7-config
lrwxrwxrwx. 1 root root   16 May 23 10:16 python2-config -> python2.7-config
lrwxrwxrwx. 1 root root   14 May 23 10:16 python-config -> python2-config


Additional info:
This only happens in Fedora 16; Fedora 15, 17 and rawhide are ok.
You can see through koji builds that Fedora 16 misses the "python2-config -> python2.7-config" symlink.

Comment 1 Jan Safranek 2012-05-23 10:37:55 UTC
It breaks wireshark build on F16: https://koji.fedoraproject.org/koji/getfile?taskID=4095828&name=build.log

Comment 3 Juan 2012-05-28 23:20:36 UTC
I noticed this while building a custom kernel.
It disable python support when building kernel tools.

Comment 4 Dave Malcolm 2012-05-29 15:24:43 UTC
This is a duplicate of bug 813836; looks like the fix never made it to F16.  Sorry about that.

Building python-2.7.3-3.fc16 for f16-candidate
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=4112248

*** This bug has been marked as a duplicate of bug 813836 ***