Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635534 - dev-lang/python-3.4.5 fails to build with glibc-2.25 and linux < 3.17
Summary: dev-lang/python-3.4.5 fails to build with glibc-2.25 and linux < 3.17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 635620 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-26 18:42 UTC by tedheadster
Modified: 2017-11-07 15:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tedheadster 2017-10-26 18:42:38 UTC
This appears to be the same bug that Red Hat found:

https://bugzilla.redhat.com/show_bug.cgi?id=1410175

Apparently it is looking for an entropy source that has changed in newer versions of glibc.

I cannot rebuild python 3.4.5 using a RHEL7 kernel as my binary package build system.
Comment 1 tedheadster 2017-11-01 14:38:32 UTC
Also, the Python interpreter dies under the 3.10.0-514.10.2.el7.x86_64 kernel when using recent stage3 installers (in this case stage3-i486-20171031.tar.bz2):

localhost / # emerge --sync 
Fatal Python error: getentropy() failed
Segmentation fault (core dumped)
localhost /
Comment 2 Mike Gilbert gentoo-dev 2017-11-01 15:31:06 UTC
Python 3.5.4 is being stabilized, so we might not bother patching this.
Comment 3 Larry the Git Cow gentoo-dev 2017-11-01 16:03:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67db7a3cb4295fa103b5d2879931f560f0a81bd

commit a67db7a3cb4295fa103b5d2879931f560f0a81bd
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-11-01 16:02:54 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-11-01 16:03:13 +0000

    dev-lang/python: 3.4: disable getentropy() on linux
    
    Closes: https://bugs.gentoo.org/635534
    Package-Manager: Portage-2.3.13, Repoman-2.3.3_p80

 dev-lang/python/files/3.4-getentropy-linux.patch | 40 ++++++++++++++++++++++++
 dev-lang/python/python-3.4.5.ebuild              |  1 +
 dev-lang/python/python-3.4.6.ebuild              |  1 +
 3 files changed, 42 insertions(+)
Comment 4 Mike Gilbert gentoo-dev 2017-11-07 15:43:43 UTC
*** Bug 635620 has been marked as a duplicate of this bug. ***