Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 427338

Summary: =dev-lang/python-2.7.3-r2 fails tests with clang-3.1-r4
Product: Gentoo Linux Reporter: Fabio Scaccabarozzi <fsvm88>
Component: Current packagesAssignee: Gentoo Clang Team (OBSOLETE) <clang+obsolete>
Status: RESOLVED OBSOLETE    
Severity: normal CC: wizardedit
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 456298    
Bug Blocks: 408963    
Attachments: emerge fail log

Description Fabio Scaccabarozzi 2012-07-20 15:30:03 UTC
Created attachment 318740 [details]
emerge fail log

=dev-lang/python-2.7.3-r2 fails tests with clang-3.1-r4, I tested also 2.7.3-r1, which fails too.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-02-04 12:02:33 UTC
See http://bugs.python.org/issue9852. According to that bug, this appears to be an issue in clang (since it works when compiled at -O0).
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-02-04 12:08:28 UTC
http://llvm.org/bugs/show_bug.cgi?id=15153
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-02-12 08:27:21 UTC
If someone can try this with libffi-3.0.12, that would be awesome.
Comment 4 Fabio Scaccabarozzi 2014-07-25 15:27:27 UTC
python 2.7.6 passes tests with clang-3.4.2 and libffi-3.0.13-r1.
Comment 5 Fabio Scaccabarozzi 2014-07-25 15:48:05 UTC
python-2.7.6 builds and passes tests fine, libffi 3.0.13-r1.
I had initial failures due to timezone tests. Be sure to have a valid /etc/localtime to make these tests pass.
Comment 6 Austin English (RETIRED) gentoo-dev 2016-06-05 02:38:46 UTC
python-2.7.10-r1.ebuild
python-2.7.11-r2.ebuild
python-3.3.5-r3.ebuild
python-3.3.5-r8.ebuild
python-3.4.3-r1.ebuild
python-3.4.3-r7.ebuild
python-3.5.0-r2.ebuild
python-3.5.1-r2.ebuild

all build with clang 3.5.0 (current stable) and FEATURES=test enabled for me.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-05 06:27:01 UTC
I can also confirm with 3.7. Thanks for testing.