Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612184 - dev-lang/python-3 fails to emerge in Gentoo Prefix due to nis and _crypt linking problems
Summary: dev-lang/python-3 fails to emerge in Gentoo Prefix due to nis and _crypt link...
Status: RESOLVED DUPLICATE of bug 587664
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-10 09:08 UTC by WGH
Modified: 2018-01-17 02:19 UTC (History)
1 user (show)

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


Attachments
build.log (dev-lang/python-3.5.2) (build.log,187.95 KB, text/plain)
2017-03-10 09:10 UTC, WGH
Details
./bin/emerge --info '=dev-lang/python-3.5.2::gentoo_prefix' output (emerge-info.txt,5.14 KB, text/plain)
2017-03-10 09:13 UTC, WGH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WGH 2017-03-10 09:08:43 UTC
So I tried to install a Gentoo Prefix on an old Debian wheezy server, and encountered some problems.

For some reason, python-3.4.5 and python-3.5.2 fail to build on stage3 due to problems in _crypt and nis modules. Here are the relevant parts:

*** WARNING: renaming "_crypt" since importing it failed: build/lib.linux-x86_64-3.5/_crypt.cpython-35-x86_64-linux-gnu.so: undefined symbol: crypt
*** WARNING: renaming "nis" since importing it failed: build/lib.linux-x86_64-3.5/nis.cpython-35-x86_64-linux-gnu.so: undefined symbol: yp_master

I've tried to quickly patch the ebuild (by adding these modules to "disable" list), and it helped to get past stage3.

However, during `emerge -e system` (when ebuilds were reverted back and lost my quickfixes) the build failed again. Which is odd, as I thought emerge would use prefix-installed libraries (and not fail) instead of ("unreliable") system ones.

Python 2.7 was built successfully (without nis module somehow, but with crypt).

Reproducible: Always
Comment 1 WGH 2017-03-10 09:10:31 UTC
Created attachment 466534 [details]
build.log (dev-lang/python-3.5.2)
Comment 2 WGH 2017-03-10 09:13:33 UTC
Created attachment 466536 [details]
./bin/emerge --info '=dev-lang/python-3.5.2::gentoo_prefix' output
Comment 3 Benda Xu gentoo-dev 2018-01-17 02:19:50 UTC

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