This is an experimental Prefix on OpenBSD, using some old outdated profile I found for: https://cgit.gentoo.org/user/palmer.git/commit/profiles/prefix/bsd/openbsd?h=old&id=25d23e6b17fd4d85abe5aa2ed03f91b7a186d8bc A potential patch might be before all return lines of function check_extension_import. # cat stage2.log USE=-acl -berkdb -fortran -gdbm -git -libcxx -nls -pcre -ssl -python bootstrap clang internal-glib PKG=sys-apps/gentoo-functions Traceback (most recent call last): File "/home/mo/gentoo/tmp/usr/bin/emerge", line 46, in <module> from _emerge.main import emerge_main File "/home/mo/gentoo/tmp/usr/lib/python3.6/_emerge/main.py", line 23, in <module> from portage.sync import _SUBMODULE_PATH_MAP File "/home/mo/gentoo/tmp/usr/lib/python3.6/portage/sync/__init__.py", line 9, in <module> from portage.sync.controller import SyncManager File "/home/mo/gentoo/tmp/usr/lib/python3.6/portage/sync/controller.py", line 24, in <module> from portage.package.ebuild.doebuild import _check_temp_dir File "/home/mo/gentoo/tmp/usr/lib/python3.6/portage/package/ebuild/doebuild.py", line 9, in <module> import gzip File "/home/mo/gentoo/tmp/usr/lib/python3.6/gzip.py", line 9, in <module> import zlib ModuleNotFoundError: No module named 'zlib' stage1.log has: *** WARNING: renaming "zlib" since importing it failed: Cannot load specified object *** WARNING: renaming "binascii" since importing it failed: Cannot load specified object *** WARNING: renaming "_ctypes" since importing it failed: Cannot load specified object grep -R "since importing it" /home/mo/gentoo/var/tmp/python-3.6.10/Python-3.6.10/ /home/mo/gentoo/var/tmp/python-3.6.10/Python-3.6.10/setup.py: self.announce('*** WARNING: renaming "%s" since importing it' $ grep -R 'def.*\<_load\>' /home/mo/gentoo/var/tmp/python-3.6.10 /home/mo/gentoo/var/tmp/python-3.6.10/Python-3.6.10/Lib/tarfile.py: def _load(self): /home/mo/gentoo/var/tmp/python-3.6.10/Python-3.6.10/Lib/pickle.py:def _load(file, *, fix_imports=True, encoding="ASCII", errors="strict"): /home/mo/gentoo/var/tmp/python-3.6.10/Python-3.6.10/Lib/importlib/_bootstrap.py:def _load(spec): Reproducible: Always
I had patched bootstrap-prefix.sh to use PV=3.6.10 because of bug #705104.
we really don't support the BSDs any more because it proved to be very difficult to succeed and maintain, sorry