Bug 824303 - Broken symlink for python-config in python-devel
Broken symlink for python-config in python-devel
Status: CLOSED DUPLICATE of bug 813836
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
16
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Dave Malcolm
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 824426 825519
  Show dependency treegraph
 
Reported: 2012-05-23 04:41 EDT by Simone Caronni
Modified: 2012-05-29 11:24 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-29 11:24:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Simone Caronni 2012-05-23 04:41:59 EDT
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 06:37:55 EDT
It breaks wireshark build on F16: https://koji.fedoraproject.org/koji/getfile?taskID=4095828&name=build.log
Comment 3 Juan 2012-05-28 19:20:36 EDT
I noticed this while building a custom kernel.
It disable python support when building kernel tools.
Comment 4 Dave Malcolm 2012-05-29 11:24:43 EDT
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 ***

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