View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013555CMakeCMakepublic2012-09-22 06:222013-03-04 08:38
Reporteramorilia 
Assigned ToBen Boeckel 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformlinuxOSfedoraOS Version17
Product VersionCMake 2.8.9 
Target VersionFixed in VersionCMake 2.8.10 
Summary0013555: PythonLibs 3.2 not found due to "mu" ABI tag
DescriptionUnder fedora, the python 3.2 library is called

/usr/lib64/libpython3.2mu.so

however cmake fails to find it. A simple workaround is to add the line

set(Python_ADDITIONAL_VERSIONS 3.2mu)

However, it would be nice if cmake would recognize python 3 on linux out of the box.
Steps To ReproduceOn Fedora 17, with python3 and python3-devel installed, run cmake on a project whose CMakeLists.txt contains:

find_package(PythonLibs 3.2 REQUIRED)
Additional InformationABI tags are described in this PEP:

http://www.python.org/dev/peps/pep-3149/ [^]

This bug is reported upstream at various places, e.g.

https://bugzilla.redhat.com/show_bug.cgi?id=807780 [^]
http://cmake.3232098.n2.nabble.com/SWIG-python3-td7366955.html [^]
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0031094)
Ben Boeckel (developer)
2012-09-24 11:17

This relevant patches are in master. The merge commit is: 14be8dd264e2b8bc5a0c7c883bae4338d3c960e7 (made 25 Apr 2012) and the relevant fixes are in 6a46f5ce809185e0c7dbd3d618eb4bbde808827b and 4bdec581b3a5a32239370e87aa2f7cadcb058aae if you just want those patches. It should be in 2.8.10. If you could test it, it would be greatly appreciated. I'll set it to 'confirmed' for now and set it to 'resolved' if the patches work for you as well.
(0031096)
amorilia (reporter)
2012-09-24 13:20

Splendid, thanks! I've tested the git master, and it indeed works for me.
(0031097)
Ben Boeckel (developer)
2012-09-24 13:22

Will be in 2.8.10 (already on master).
(0032458)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-09-22 06:22 amorilia New Issue
2012-09-24 08:33 Brad King Assigned To => Ben Boeckel
2012-09-24 08:33 Brad King Status new => assigned
2012-09-24 11:17 Ben Boeckel Note Added: 0031094
2012-09-24 13:20 amorilia Note Added: 0031096
2012-09-24 13:22 Ben Boeckel Note Added: 0031097
2012-09-24 13:22 Ben Boeckel Status assigned => resolved
2012-09-24 13:22 Ben Boeckel Fixed in Version => CMake 2.8.10
2012-09-24 13:22 Ben Boeckel Resolution open => fixed
2013-03-04 08:38 Robert Maynard Note Added: 0032458
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team