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
Created attachment 466534 [details] build.log (dev-lang/python-3.5.2)
Created attachment 466536 [details] ./bin/emerge --info '=dev-lang/python-3.5.2::gentoo_prefix' output
*** This bug has been marked as a duplicate of bug 587664 ***