Closed luckylinux closed 6 months ago
This Package has been removed as of Python 3.12.
Reference: https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated
Add an Extra Condition: python3 >> 3.12 | python3-distutils | libpython3-stdlib (<< 3.6.4)
This seems preferable to me but probably isn't sufficient. It also looks like we'll need to pull in the latest version of the config/ax_python_devel.m4
macro to handle the case where distutils doesn't exist.
This Package has been removed as of Python 3.12.
Reference: https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated
Add an Extra Condition: python3 >> 3.12 | python3-distutils | libpython3-stdlib (<< 3.6.4)
This seems preferable to me but probably isn't sufficient. It also looks like we'll need to pull in the latest version of the
config/ax_python_devel.m4
macro to handle the case where distutils doesn't exist.
Not sure ... For now I managed to compile and installed the generated .deb
package.
But I'm NOT sure if it the system will even boot ...
On second thought I guess it will NOT boot.
I see Ubuntu 24.04 ships with Kernel linux-image-amd64-6.8.0-31-generic
.
And OpenZFS 2.2.3 only supports up to Kernel 6.7.x :disappointed:.
Still it seems to have installed successfully, doesn't it ?
Selecting previously unselected package openzfs-zfs-initramfs.
Preparing to unpack .../7-openzfs-zfs-initramfs_2.2.3-1_all.deb ...
Unpacking openzfs-zfs-initramfs (2.2.3-1) ...
Setting up openzfs-zfs-dkms (2.2.3-1) ...
debconf: Unknown template field '_description', in stanza #1 of /var/lib/dpkg/info/openzfs-zfs-dkms.templates
debconf: Unknown template field '_description', in stanza #2 of /var/lib/dpkg/info/openzfs-zfs-dkms.templates
debconf: Unknown template field '_description', in stanza #3 of /var/lib/dpkg/info/openzfs-zfs-dkms.templates
Loading new zfs-2.2.3 DKMS files...
Building for 6.5.0-28-generic 6.8.0-31-generic
Building initial module for 6.5.0-28-generic
Done.
zfs.ko.zst:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/6.5.0-28-generic/updates/dkms/
spl.ko.zst:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/6.5.0-28-generic/updates/dkms/
depmod....
Building initial module for 6.8.0-31-generic
Done.
zfs.ko.zst:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/6.8.0-31-generic/updates/dkms/
spl.ko.zst:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/6.8.0-31-generic/updates/dkms/
depmod.....
Setting up openzfs-libnvpair3 (2.2.3-1) ...
Setting up openzfs-libzpool5 (2.2.3-1) ...
Setting up openzfs-libzfs4 (2.2.3-1) ...
Setting up openzfs-libpam-zfs (2.2.3-1) ...
Setting up openzfs-zfsutils (2.2.3-1) ...
zfs-import-scan.service is a disabled or a static unit, not starting it.
Processing triggers for initramfs-tools (0.142ubuntu25) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-31-generic
WARNING: no /.? file
WARNING: no /.? file
WARNING: no /.? file
Processing triggers for libc-bin (2.39-0ubuntu8) ...
Processing triggers for man-db (2.12.0-4build2) ...
Setting up openzfs-zfs-zed (2.2.3-1) ...
Setting up openzfs-zfs-initramfs (2.2.3-1) ...
Processing triggers for initramfs-tools (0.142ubuntu25) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-31-generic
WARNING: no /.? file
WARNING: no /.? file
WARNING: no /.? file
@behlendorf It build and installed the Package fine, but should I dare reboot ?
It seems that the OpenZFS Sources already prefer the sysconfig
Module over the distutils
module.
root@HOST:/usr/src/zfs# grep -r distutils ./zfs-2.2.3
./zfs-2.2.3/zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/rpm/generic/zfs.spec:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/rpm/generic/zfs.spec.in:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/rpm/redhat/zfs.spec:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/autom4te.cache/output.1:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/output.1: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.1: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.1: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/output.1: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/traces.0:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/traces.0: dnl Query distutils for this directory.
./zfs-2.2.3/autom4te.cache/traces.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/traces.0: dnl Query distutils for this directory.
./zfs-2.2.3/autom4te.cache/traces.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/traces.0: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/traces.0: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/output.2:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/output.2: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.2: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.2: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/output.2: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/output.0:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/output.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.0: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/output.0: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/configure~:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/configure~: from distutils import sysconfig
./zfs-2.2.3/configure~: from distutils import sysconfig
./zfs-2.2.3/configure~: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/configure~: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/config/ax_python_devel.m4: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/config/ax_python_devel.m4: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
root@HOST:/usr/src/zfs# python3
Python 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> help(sysconfig)
>>> dir(sysconfig)
['_ALWAYS_STR', '_BASE_EXEC_PREFIX', '_BASE_PREFIX', '_CONFIG_VARS', '_CONFIG_VARS_INITIALIZED', '_CONFIG_VARS_LOCK', '_EXEC_PREFIX', '_HAS_USER_BASE', '_INSTALL_SCHEMES', '_PREFIX', '_PROJECT_BASE', '_PYTHON_BUILD', '_PY_VERSION', '_PY_VERSION_SHORT', '_PY_VERSION_SHORT_NO_DOT', '_SCHEME_KEYS', '_USER_BASE', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '_expand_vars', '_extend_dict', '_findvar1_rx', '_findvar2_rx', '_generate_posix_vars', '_get_preferred_schemes', '_get_sysconfigdata_name', '_getuserbase', '_init_config_vars', '_init_non_posix', '_init_posix', '_main', '_parse_makefile', '_print_dict', '_safe_realpath', '_subst_vars', '_sys_home', '_variable_rx', 'expand_makefile_vars', 'get_config_h_filename', 'get_config_var', 'get_config_vars', 'get_default_scheme', 'get_makefile_filename', 'get_path', 'get_path_names', 'get_paths', 'get_platform', 'get_preferred_scheme', 'get_python_version', 'get_scheme_names', 'is_python_build', 'os', 'parse_config_h', 'realpath', 'sys', 'threading']
Or with a bit more Details:
root@HOST:/usr/src/zfs# grep -B10 -A10 -ri distutils ./zfs-2.2.3
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_python_exec_prefix=$am_python_exec_prefix_subst
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix])
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_MSG_RESULT([$am_python_exec_prefix])
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- fi])])
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_python_setup_sysconfig="\
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-import sys
./zfs-2.2.3/zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-try:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- import sysconfig
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 1
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-try:
--
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- pass"
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl emacs-page Set up 4 directories:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl 1. pythondir: where to install python scripts. This is the
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl site-packages directory, not the python standard library
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl directory like in previous automake betas. This behavior
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl is more consistent with lispdir.m4 for example.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- [am_cv_python_pythondir],
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_prefix" = x; then
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_py_prefix=$am__usable_prefix
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_py_prefix=$am_cv_python_prefix
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`$PYTHON -c "
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- case $am_cv_python_pythondir in
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- $am_py_prefix*)
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- case $am_py_prefix in
--
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_SUBST([pythondir], [$am_cv_python_pythondir])
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl more consistent with the rest of automake.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl 3. pyexecdir: directory for installing python extension modules
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl (shared libraries).
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- [am_cv_python_pyexecdir],
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_exec_prefix" = x; then
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am__usable_exec_prefix
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am_cv_python_exec_prefix
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`$PYTHON -c "
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- case $am_cv_python_pyexecdir in
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- $am_py_exec_prefix*)
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/zfs-2.2.3/aclocal.m4- case $am_py_exec_prefix in
--
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%endif
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-# When not specified default to distribution provided version.
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%if %{undefined __use_python}
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python /usr/bin/python3
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python_pkg_version 3
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%else
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python %{__use_python}
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python_pkg_version %{__use_python_pkg_version}
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-%endif
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-Name: @PACKAGE@
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-Version: @VERSION@
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-Release: @RELEASE@%{?dist}
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-Summary: Commands to control the kernel modules and libraries
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-Group: System Environment/Kernel
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-License: @ZFS_META_LICENSE@
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-URL: https://github.com/openzfs/zfs
./zfs-2.2.3/zfs-2.2.3/rpm/generic/zfs.spec.in-Source0: %{name}-%{version}.tar.gz
--
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%endif
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-# When not specified default to distribution provided version.
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%if %{undefined __use_python}
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%define __python /usr/bin/python3
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%define __python_pkg_version 3
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%else
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%define __python %{__use_python}
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%define __python_pkg_version %{__use_python_pkg_version}
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-%endif
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-Name: @PACKAGE@
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-Version: @VERSION@
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-Release: @RELEASE@%{?dist}
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-Summary: Commands to control the kernel modules and libraries
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-Group: System Environment/Kernel
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-License: @ZFS_META_LICENSE@
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-URL: https://github.com/openzfs/zfs
./zfs-2.2.3/zfs-2.2.3/rpm/redhat/zfs.spec.in-Source0: %{name}-%{version}.tar.gz
--
./zfs-2.2.3/zfs-2.2.3/configure-fi
./zfs-2.2.3/zfs-2.2.3/configure-fi
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/zfs-2.2.3/configure- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/zfs-2.2.3/configure- am_python_setup_sysconfig="\
./zfs-2.2.3/zfs-2.2.3/configure-import sys
./zfs-2.2.3/zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/zfs-2.2.3/configure-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/zfs-2.2.3/configure-try:
./zfs-2.2.3/zfs-2.2.3/configure- import sysconfig
./zfs-2.2.3/zfs-2.2.3/configure-except ImportError:
./zfs-2.2.3/zfs-2.2.3/configure- can_use_sysconfig = 0
./zfs-2.2.3/zfs-2.2.3/configure-else:
./zfs-2.2.3/zfs-2.2.3/configure- can_use_sysconfig = 1
./zfs-2.2.3/zfs-2.2.3/configure-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/zfs-2.2.3/configure-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/zfs-2.2.3/configure-try:
--
./zfs-2.2.3/zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/configure- else:
./zfs-2.2.3/zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/zfs-2.2.3/configure- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/zfs-2.2.3/configure-else:
./zfs-2.2.3/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/zfs-2.2.3/configure- #
./zfs-2.2.3/zfs-2.2.3/configure- case $am_cv_python_pythondir in
./zfs-2.2.3/zfs-2.2.3/configure- $am_py_prefix*)
./zfs-2.2.3/zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/zfs-2.2.3/configure- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/zfs-2.2.3/configure- ;;
./zfs-2.2.3/zfs-2.2.3/configure- *)
./zfs-2.2.3/zfs-2.2.3/configure- case $am_py_prefix in
--
./zfs-2.2.3/zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/configure- else:
./zfs-2.2.3/zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/zfs-2.2.3/configure- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/zfs-2.2.3/configure-else:
./zfs-2.2.3/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/zfs-2.2.3/configure- #
./zfs-2.2.3/zfs-2.2.3/configure- case $am_cv_python_pyexecdir in
./zfs-2.2.3/zfs-2.2.3/configure- $am_py_exec_prefix*)
./zfs-2.2.3/zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/zfs-2.2.3/configure- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/zfs-2.2.3/configure- ;;
./zfs-2.2.3/zfs-2.2.3/configure- *)
./zfs-2.2.3/zfs-2.2.3/configure- case $am_py_exec_prefix in
--
./zfs-2.2.3/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/zfs-2.2.3/configure-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure- #
./zfs-2.2.3/zfs-2.2.3/configure- # Check for site packages
./zfs-2.2.3/zfs-2.2.3/configure- #
./zfs-2.2.3/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/zfs-2.2.3/configure-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/zfs-2.2.3/configure- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/zfs-2.2.3/configure- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/zfs-2.2.3/configure- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/zfs-2.2.3/configure- fi
./zfs-2.2.3/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/zfs-2.2.3/configure-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure-
./zfs-2.2.3/zfs-2.2.3/configure- #
./zfs-2.2.3/zfs-2.2.3/configure- # libraries which must be linked in when embedding
./zfs-2.2.3/zfs-2.2.3/configure- #
--
./zfs-2.2.3/rpm/generic/zfs.spec-%endif
./zfs-2.2.3/rpm/generic/zfs.spec-
./zfs-2.2.3/rpm/generic/zfs.spec-# When not specified default to distribution provided version.
./zfs-2.2.3/rpm/generic/zfs.spec-%if %{undefined __use_python}
./zfs-2.2.3/rpm/generic/zfs.spec-%define __python /usr/bin/python3
./zfs-2.2.3/rpm/generic/zfs.spec-%define __python_pkg_version 3
./zfs-2.2.3/rpm/generic/zfs.spec-%else
./zfs-2.2.3/rpm/generic/zfs.spec-%define __python %{__use_python}
./zfs-2.2.3/rpm/generic/zfs.spec-%define __python_pkg_version %{__use_python_pkg_version}
./zfs-2.2.3/rpm/generic/zfs.spec-%endif
./zfs-2.2.3/rpm/generic/zfs.spec:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/rpm/generic/zfs.spec-
./zfs-2.2.3/rpm/generic/zfs.spec-Name: zfs
./zfs-2.2.3/rpm/generic/zfs.spec-Version: 2.2.3
./zfs-2.2.3/rpm/generic/zfs.spec-Release: 1%{?dist}
./zfs-2.2.3/rpm/generic/zfs.spec-Summary: Commands to control the kernel modules and libraries
./zfs-2.2.3/rpm/generic/zfs.spec-
./zfs-2.2.3/rpm/generic/zfs.spec-Group: System Environment/Kernel
./zfs-2.2.3/rpm/generic/zfs.spec-License: CDDL
./zfs-2.2.3/rpm/generic/zfs.spec-URL: https://github.com/openzfs/zfs
./zfs-2.2.3/rpm/generic/zfs.spec-Source0: %{name}-%{version}.tar.gz
--
./zfs-2.2.3/rpm/generic/zfs.spec.in-%endif
./zfs-2.2.3/rpm/generic/zfs.spec.in-
./zfs-2.2.3/rpm/generic/zfs.spec.in-# When not specified default to distribution provided version.
./zfs-2.2.3/rpm/generic/zfs.spec.in-%if %{undefined __use_python}
./zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python /usr/bin/python3
./zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python_pkg_version 3
./zfs-2.2.3/rpm/generic/zfs.spec.in-%else
./zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python %{__use_python}
./zfs-2.2.3/rpm/generic/zfs.spec.in-%define __python_pkg_version %{__use_python_pkg_version}
./zfs-2.2.3/rpm/generic/zfs.spec.in-%endif
./zfs-2.2.3/rpm/generic/zfs.spec.in:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/rpm/generic/zfs.spec.in-
./zfs-2.2.3/rpm/generic/zfs.spec.in-Name: @PACKAGE@
./zfs-2.2.3/rpm/generic/zfs.spec.in-Version: @VERSION@
./zfs-2.2.3/rpm/generic/zfs.spec.in-Release: @RELEASE@%{?dist}
./zfs-2.2.3/rpm/generic/zfs.spec.in-Summary: Commands to control the kernel modules and libraries
./zfs-2.2.3/rpm/generic/zfs.spec.in-
./zfs-2.2.3/rpm/generic/zfs.spec.in-Group: System Environment/Kernel
./zfs-2.2.3/rpm/generic/zfs.spec.in-License: @ZFS_META_LICENSE@
./zfs-2.2.3/rpm/generic/zfs.spec.in-URL: https://github.com/openzfs/zfs
./zfs-2.2.3/rpm/generic/zfs.spec.in-Source0: %{name}-%{version}.tar.gz
--
./zfs-2.2.3/rpm/redhat/zfs.spec-%endif
./zfs-2.2.3/rpm/redhat/zfs.spec-
./zfs-2.2.3/rpm/redhat/zfs.spec-# When not specified default to distribution provided version.
./zfs-2.2.3/rpm/redhat/zfs.spec-%if %{undefined __use_python}
./zfs-2.2.3/rpm/redhat/zfs.spec-%define __python /usr/bin/python3
./zfs-2.2.3/rpm/redhat/zfs.spec-%define __python_pkg_version 3
./zfs-2.2.3/rpm/redhat/zfs.spec-%else
./zfs-2.2.3/rpm/redhat/zfs.spec-%define __python %{__use_python}
./zfs-2.2.3/rpm/redhat/zfs.spec-%define __python_pkg_version %{__use_python_pkg_version}
./zfs-2.2.3/rpm/redhat/zfs.spec-%endif
./zfs-2.2.3/rpm/redhat/zfs.spec:%define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null || %{__python} -Esc "import sysconfig; print(sysconfig.get_path('purelib'))")
./zfs-2.2.3/rpm/redhat/zfs.spec-
./zfs-2.2.3/rpm/redhat/zfs.spec-Name: zfs
./zfs-2.2.3/rpm/redhat/zfs.spec-Version: 2.2.3
./zfs-2.2.3/rpm/redhat/zfs.spec-Release: 1%{?dist}
./zfs-2.2.3/rpm/redhat/zfs.spec-Summary: Commands to control the kernel modules and libraries
./zfs-2.2.3/rpm/redhat/zfs.spec-
./zfs-2.2.3/rpm/redhat/zfs.spec-Group: System Environment/Kernel
./zfs-2.2.3/rpm/redhat/zfs.spec-License: CDDL
./zfs-2.2.3/rpm/redhat/zfs.spec-URL: https://github.com/openzfs/zfs
./zfs-2.2.3/rpm/redhat/zfs.spec-Source0: %{name}-%{version}.tar.gz
--
./zfs-2.2.3/autom4te.cache/output.1-fi
./zfs-2.2.3/autom4te.cache/output.1-fi
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/autom4te.cache/output.1- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/autom4te.cache/output.1- am_python_setup_sysconfig="\
./zfs-2.2.3/autom4te.cache/output.1-import sys
./zfs-2.2.3/autom4te.cache/output.1:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/output.1-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/autom4te.cache/output.1-try:
./zfs-2.2.3/autom4te.cache/output.1- import sysconfig
./zfs-2.2.3/autom4te.cache/output.1-except ImportError:
./zfs-2.2.3/autom4te.cache/output.1- can_use_sysconfig = 0
./zfs-2.2.3/autom4te.cache/output.1-else:
./zfs-2.2.3/autom4te.cache/output.1- can_use_sysconfig = 1
./zfs-2.2.3/autom4te.cache/output.1-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/autom4te.cache/output.1-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/autom4te.cache/output.1-try:
--
./zfs-2.2.3/autom4te.cache/output.1-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/output.1- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/output.1- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.1- else:
./zfs-2.2.3/autom4te.cache/output.1- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.1- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/output.1- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/output.1- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/output.1- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/autom4te.cache/output.1-else:
./zfs-2.2.3/autom4te.cache/output.1: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.1- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/autom4te.cache/output.1-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/output.1- #
./zfs-2.2.3/autom4te.cache/output.1- case $am_cv_python_pythondir in
./zfs-2.2.3/autom4te.cache/output.1- $am_py_prefix*)
./zfs-2.2.3/autom4te.cache/output.1- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/output.1- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/autom4te.cache/output.1- ;;
./zfs-2.2.3/autom4te.cache/output.1- *)
./zfs-2.2.3/autom4te.cache/output.1- case $am_py_prefix in
--
./zfs-2.2.3/autom4te.cache/output.1-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/output.1- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/output.1- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.1- else:
./zfs-2.2.3/autom4te.cache/output.1- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.1- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/output.1- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/output.1- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/output.1- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/autom4te.cache/output.1-else:
./zfs-2.2.3/autom4te.cache/output.1: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.1- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/autom4te.cache/output.1-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/output.1- #
./zfs-2.2.3/autom4te.cache/output.1- case $am_cv_python_pyexecdir in
./zfs-2.2.3/autom4te.cache/output.1- $am_py_exec_prefix*)
./zfs-2.2.3/autom4te.cache/output.1- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/output.1- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/autom4te.cache/output.1- ;;
./zfs-2.2.3/autom4te.cache/output.1- *)
./zfs-2.2.3/autom4te.cache/output.1- case $am_py_exec_prefix in
--
./zfs-2.2.3/autom4te.cache/output.1- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/autom4te.cache/output.1-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1- #
./zfs-2.2.3/autom4te.cache/output.1- # Check for site packages
./zfs-2.2.3/autom4te.cache/output.1- #
./zfs-2.2.3/autom4te.cache/output.1- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/autom4te.cache/output.1-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/autom4te.cache/output.1- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/autom4te.cache/output.1: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/output.1: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/output.1- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/autom4te.cache/output.1- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/autom4te.cache/output.1- fi
./zfs-2.2.3/autom4te.cache/output.1- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/autom4te.cache/output.1-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1-
./zfs-2.2.3/autom4te.cache/output.1- #
./zfs-2.2.3/autom4te.cache/output.1- # libraries which must be linked in when embedding
./zfs-2.2.3/autom4te.cache/output.1- #
--
./zfs-2.2.3/autom4te.cache/traces.0- am_python_exec_prefix=$am_python_exec_prefix_subst
./zfs-2.2.3/autom4te.cache/traces.0- AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix])
./zfs-2.2.3/autom4te.cache/traces.0- AC_MSG_RESULT([$am_python_exec_prefix])
./zfs-2.2.3/autom4te.cache/traces.0- fi])])
./zfs-2.2.3/autom4te.cache/traces.0- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/autom4te.cache/traces.0- AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/autom4te.cache/traces.0- am_python_setup_sysconfig="\
./zfs-2.2.3/autom4te.cache/traces.0-import sys
./zfs-2.2.3/autom4te.cache/traces.0:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/traces.0-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/autom4te.cache/traces.0-try:
./zfs-2.2.3/autom4te.cache/traces.0- import sysconfig
./zfs-2.2.3/autom4te.cache/traces.0-except ImportError:
./zfs-2.2.3/autom4te.cache/traces.0- can_use_sysconfig = 0
./zfs-2.2.3/autom4te.cache/traces.0-else:
./zfs-2.2.3/autom4te.cache/traces.0- can_use_sysconfig = 1
./zfs-2.2.3/autom4te.cache/traces.0-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/autom4te.cache/traces.0-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/autom4te.cache/traces.0-try:
--
./zfs-2.2.3/autom4te.cache/traces.0- can_use_sysconfig = 0
./zfs-2.2.3/autom4te.cache/traces.0-except ImportError:
./zfs-2.2.3/autom4te.cache/traces.0- pass"
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- dnl emacs-page Set up 4 directories:
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- dnl 1. pythondir: where to install python scripts. This is the
./zfs-2.2.3/autom4te.cache/traces.0- dnl site-packages directory, not the python standard library
./zfs-2.2.3/autom4te.cache/traces.0- dnl directory like in previous automake betas. This behavior
./zfs-2.2.3/autom4te.cache/traces.0- dnl is more consistent with lispdir.m4 for example.
./zfs-2.2.3/autom4te.cache/traces.0: dnl Query distutils for this directory.
./zfs-2.2.3/autom4te.cache/traces.0- dnl
./zfs-2.2.3/autom4te.cache/traces.0- AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
./zfs-2.2.3/autom4te.cache/traces.0- [am_cv_python_pythondir],
./zfs-2.2.3/autom4te.cache/traces.0- [if test "x$am_cv_python_prefix" = x; then
./zfs-2.2.3/autom4te.cache/traces.0- am_py_prefix=$am__usable_prefix
./zfs-2.2.3/autom4te.cache/traces.0- else
./zfs-2.2.3/autom4te.cache/traces.0- am_py_prefix=$am_cv_python_prefix
./zfs-2.2.3/autom4te.cache/traces.0- fi
./zfs-2.2.3/autom4te.cache/traces.0- am_cv_python_pythondir=`$PYTHON -c "
./zfs-2.2.3/autom4te.cache/traces.0-$am_python_setup_sysconfig
./zfs-2.2.3/autom4te.cache/traces.0-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/traces.0- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/traces.0- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/traces.0- else:
./zfs-2.2.3/autom4te.cache/traces.0- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/traces.0- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/traces.0- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/traces.0- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/traces.0- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/autom4te.cache/traces.0-else:
./zfs-2.2.3/autom4te.cache/traces.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/traces.0- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/autom4te.cache/traces.0-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/traces.0- #
./zfs-2.2.3/autom4te.cache/traces.0- case $am_cv_python_pythondir in
./zfs-2.2.3/autom4te.cache/traces.0- $am_py_prefix*)
./zfs-2.2.3/autom4te.cache/traces.0- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/traces.0- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/autom4te.cache/traces.0- ;;
./zfs-2.2.3/autom4te.cache/traces.0- *)
./zfs-2.2.3/autom4te.cache/traces.0- case $am_py_prefix in
--
./zfs-2.2.3/autom4te.cache/traces.0- AC_SUBST([pythondir], [$am_cv_python_pythondir])
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was
./zfs-2.2.3/autom4te.cache/traces.0- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
./zfs-2.2.3/autom4te.cache/traces.0- dnl more consistent with the rest of automake.
./zfs-2.2.3/autom4te.cache/traces.0- dnl
./zfs-2.2.3/autom4te.cache/traces.0- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- dnl 3. pyexecdir: directory for installing python extension modules
./zfs-2.2.3/autom4te.cache/traces.0- dnl (shared libraries).
./zfs-2.2.3/autom4te.cache/traces.0: dnl Query distutils for this directory.
./zfs-2.2.3/autom4te.cache/traces.0- dnl
./zfs-2.2.3/autom4te.cache/traces.0- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
./zfs-2.2.3/autom4te.cache/traces.0- [am_cv_python_pyexecdir],
./zfs-2.2.3/autom4te.cache/traces.0- [if test "x$am_cv_python_exec_prefix" = x; then
./zfs-2.2.3/autom4te.cache/traces.0- am_py_exec_prefix=$am__usable_exec_prefix
./zfs-2.2.3/autom4te.cache/traces.0- else
./zfs-2.2.3/autom4te.cache/traces.0- am_py_exec_prefix=$am_cv_python_exec_prefix
./zfs-2.2.3/autom4te.cache/traces.0- fi
./zfs-2.2.3/autom4te.cache/traces.0- am_cv_python_pyexecdir=`$PYTHON -c "
./zfs-2.2.3/autom4te.cache/traces.0-$am_python_setup_sysconfig
./zfs-2.2.3/autom4te.cache/traces.0-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/traces.0- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/traces.0- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/traces.0- else:
./zfs-2.2.3/autom4te.cache/traces.0- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/traces.0- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/traces.0- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/traces.0- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/traces.0- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/autom4te.cache/traces.0-else:
./zfs-2.2.3/autom4te.cache/traces.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/traces.0- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/autom4te.cache/traces.0-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/traces.0- #
./zfs-2.2.3/autom4te.cache/traces.0- case $am_cv_python_pyexecdir in
./zfs-2.2.3/autom4te.cache/traces.0- $am_py_exec_prefix*)
./zfs-2.2.3/autom4te.cache/traces.0- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/traces.0- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/autom4te.cache/traces.0- ;;
./zfs-2.2.3/autom4te.cache/traces.0- *)
./zfs-2.2.3/autom4te.cache/traces.0- case $am_py_exec_prefix in
--
./zfs-2.2.3/autom4te.cache/traces.0- fi
./zfs-2.2.3/autom4te.cache/traces.0- fi
./zfs-2.2.3/autom4te.cache/traces.0- AC_MSG_RESULT([$PYTHON_LIBS])
./zfs-2.2.3/autom4te.cache/traces.0- AC_SUBST([PYTHON_LIBS])
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- #
./zfs-2.2.3/autom4te.cache/traces.0- # Check for site packages
./zfs-2.2.3/autom4te.cache/traces.0- #
./zfs-2.2.3/autom4te.cache/traces.0- AC_MSG_CHECKING([for Python site-packages path])
./zfs-2.2.3/autom4te.cache/traces.0- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/autom4te.cache/traces.0: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/traces.0: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/traces.0- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/autom4te.cache/traces.0- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/autom4te.cache/traces.0- fi
./zfs-2.2.3/autom4te.cache/traces.0- AC_MSG_RESULT([$PYTHON_SITE_PKG])
./zfs-2.2.3/autom4te.cache/traces.0- AC_SUBST([PYTHON_SITE_PKG])
./zfs-2.2.3/autom4te.cache/traces.0-
./zfs-2.2.3/autom4te.cache/traces.0- #
./zfs-2.2.3/autom4te.cache/traces.0- # libraries which must be linked in when embedding
./zfs-2.2.3/autom4te.cache/traces.0- #
./zfs-2.2.3/autom4te.cache/traces.0- AC_MSG_CHECKING(python extra libraries)
--
./zfs-2.2.3/autom4te.cache/output.2-fi
./zfs-2.2.3/autom4te.cache/output.2-fi
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/autom4te.cache/output.2- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/autom4te.cache/output.2- am_python_setup_sysconfig="\
./zfs-2.2.3/autom4te.cache/output.2-import sys
./zfs-2.2.3/autom4te.cache/output.2:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/output.2-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/autom4te.cache/output.2-try:
./zfs-2.2.3/autom4te.cache/output.2- import sysconfig
./zfs-2.2.3/autom4te.cache/output.2-except ImportError:
./zfs-2.2.3/autom4te.cache/output.2- can_use_sysconfig = 0
./zfs-2.2.3/autom4te.cache/output.2-else:
./zfs-2.2.3/autom4te.cache/output.2- can_use_sysconfig = 1
./zfs-2.2.3/autom4te.cache/output.2-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/autom4te.cache/output.2-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/autom4te.cache/output.2-try:
--
./zfs-2.2.3/autom4te.cache/output.2-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/output.2- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/output.2- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.2- else:
./zfs-2.2.3/autom4te.cache/output.2- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.2- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/output.2- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/output.2- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/output.2- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/autom4te.cache/output.2-else:
./zfs-2.2.3/autom4te.cache/output.2: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.2- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/autom4te.cache/output.2-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/output.2- #
./zfs-2.2.3/autom4te.cache/output.2- case $am_cv_python_pythondir in
./zfs-2.2.3/autom4te.cache/output.2- $am_py_prefix*)
./zfs-2.2.3/autom4te.cache/output.2- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/output.2- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/autom4te.cache/output.2- ;;
./zfs-2.2.3/autom4te.cache/output.2- *)
./zfs-2.2.3/autom4te.cache/output.2- case $am_py_prefix in
--
./zfs-2.2.3/autom4te.cache/output.2-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/output.2- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/output.2- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.2- else:
./zfs-2.2.3/autom4te.cache/output.2- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.2- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/output.2- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/output.2- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/output.2- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/autom4te.cache/output.2-else:
./zfs-2.2.3/autom4te.cache/output.2: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.2- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/autom4te.cache/output.2-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/output.2- #
./zfs-2.2.3/autom4te.cache/output.2- case $am_cv_python_pyexecdir in
./zfs-2.2.3/autom4te.cache/output.2- $am_py_exec_prefix*)
./zfs-2.2.3/autom4te.cache/output.2- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/output.2- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/autom4te.cache/output.2- ;;
./zfs-2.2.3/autom4te.cache/output.2- *)
./zfs-2.2.3/autom4te.cache/output.2- case $am_py_exec_prefix in
--
./zfs-2.2.3/autom4te.cache/output.2- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/autom4te.cache/output.2-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2- #
./zfs-2.2.3/autom4te.cache/output.2- # Check for site packages
./zfs-2.2.3/autom4te.cache/output.2- #
./zfs-2.2.3/autom4te.cache/output.2- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/autom4te.cache/output.2-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/autom4te.cache/output.2- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/autom4te.cache/output.2: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/output.2: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/output.2- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/autom4te.cache/output.2- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/autom4te.cache/output.2- fi
./zfs-2.2.3/autom4te.cache/output.2- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/autom4te.cache/output.2-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2-
./zfs-2.2.3/autom4te.cache/output.2- #
./zfs-2.2.3/autom4te.cache/output.2- # libraries which must be linked in when embedding
./zfs-2.2.3/autom4te.cache/output.2- #
--
./zfs-2.2.3/autom4te.cache/output.0-fi
./zfs-2.2.3/autom4te.cache/output.0-fi
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/autom4te.cache/output.0- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/autom4te.cache/output.0- am_python_setup_sysconfig="\
./zfs-2.2.3/autom4te.cache/output.0-import sys
./zfs-2.2.3/autom4te.cache/output.0:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/autom4te.cache/output.0-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/autom4te.cache/output.0-try:
./zfs-2.2.3/autom4te.cache/output.0- import sysconfig
./zfs-2.2.3/autom4te.cache/output.0-except ImportError:
./zfs-2.2.3/autom4te.cache/output.0- can_use_sysconfig = 0
./zfs-2.2.3/autom4te.cache/output.0-else:
./zfs-2.2.3/autom4te.cache/output.0- can_use_sysconfig = 1
./zfs-2.2.3/autom4te.cache/output.0-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/autom4te.cache/output.0-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/autom4te.cache/output.0-try:
--
./zfs-2.2.3/autom4te.cache/output.0-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/output.0- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/output.0- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.0- else:
./zfs-2.2.3/autom4te.cache/output.0- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.0- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/output.0- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/output.0- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/output.0- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/autom4te.cache/output.0-else:
./zfs-2.2.3/autom4te.cache/output.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.0- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/autom4te.cache/output.0-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/output.0- #
./zfs-2.2.3/autom4te.cache/output.0- case $am_cv_python_pythondir in
./zfs-2.2.3/autom4te.cache/output.0- $am_py_prefix*)
./zfs-2.2.3/autom4te.cache/output.0- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/output.0- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/autom4te.cache/output.0- ;;
./zfs-2.2.3/autom4te.cache/output.0- *)
./zfs-2.2.3/autom4te.cache/output.0- case $am_py_prefix in
--
./zfs-2.2.3/autom4te.cache/output.0-if can_use_sysconfig:
./zfs-2.2.3/autom4te.cache/output.0- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/autom4te.cache/output.0- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.0- else:
./zfs-2.2.3/autom4te.cache/output.0- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/autom4te.cache/output.0- if scheme == 'posix_local':
./zfs-2.2.3/autom4te.cache/output.0- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/autom4te.cache/output.0- scheme = 'posix_prefix'
./zfs-2.2.3/autom4te.cache/output.0- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/autom4te.cache/output.0-else:
./zfs-2.2.3/autom4te.cache/output.0: from distutils import sysconfig
./zfs-2.2.3/autom4te.cache/output.0- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/autom4te.cache/output.0-sys.stdout.write(sitedir)"`
./zfs-2.2.3/autom4te.cache/output.0- #
./zfs-2.2.3/autom4te.cache/output.0- case $am_cv_python_pyexecdir in
./zfs-2.2.3/autom4te.cache/output.0- $am_py_exec_prefix*)
./zfs-2.2.3/autom4te.cache/output.0- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/autom4te.cache/output.0- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/autom4te.cache/output.0- ;;
./zfs-2.2.3/autom4te.cache/output.0- *)
./zfs-2.2.3/autom4te.cache/output.0- case $am_py_exec_prefix in
--
./zfs-2.2.3/autom4te.cache/output.0- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/autom4te.cache/output.0-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0- #
./zfs-2.2.3/autom4te.cache/output.0- # Check for site packages
./zfs-2.2.3/autom4te.cache/output.0- #
./zfs-2.2.3/autom4te.cache/output.0- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/autom4te.cache/output.0-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/autom4te.cache/output.0- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/autom4te.cache/output.0: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/autom4te.cache/output.0: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/autom4te.cache/output.0- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/autom4te.cache/output.0- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/autom4te.cache/output.0- fi
./zfs-2.2.3/autom4te.cache/output.0- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/autom4te.cache/output.0-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0-
./zfs-2.2.3/autom4te.cache/output.0- #
./zfs-2.2.3/autom4te.cache/output.0- # libraries which must be linked in when embedding
./zfs-2.2.3/autom4te.cache/output.0- #
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- am_python_setup_sysconfig="\
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-import sys
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-try:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-except ImportError:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- can_use_sysconfig = 0
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- can_use_sysconfig = 1
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-try:
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- case $am_cv_python_pythondir in
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- $am_py_prefix*)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- ;;
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- *)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- case $am_py_prefix in
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- case $am_cv_python_pyexecdir in
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- $am_py_exec_prefix*)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- ;;
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- *)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- case $am_py_exec_prefix in
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- # Check for site packages
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- # libraries which must be linked in when embedding
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/configure- #
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_python_exec_prefix=$am_python_exec_prefix_subst
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_MSG_RESULT([$am_python_exec_prefix])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- fi])])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_python_setup_sysconfig="\
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-import sys
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-try:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 1
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-try:
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- pass"
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl emacs-page Set up 4 directories:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl 1. pythondir: where to install python scripts. This is the
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl site-packages directory, not the python standard library
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl directory like in previous automake betas. This behavior
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl is more consistent with lispdir.m4 for example.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- [am_cv_python_pythondir],
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_prefix" = x; then
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_py_prefix=$am__usable_prefix
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_py_prefix=$am_cv_python_prefix
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`$PYTHON -c "
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- case $am_cv_python_pythondir in
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- $am_py_prefix*)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- case $am_py_prefix in
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_SUBST([pythondir], [$am_cv_python_pythondir])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl more consistent with the rest of automake.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl 3. pyexecdir: directory for installing python extension modules
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl (shared libraries).
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- [am_cv_python_pyexecdir],
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_exec_prefix" = x; then
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am__usable_exec_prefix
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am_cv_python_exec_prefix
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`$PYTHON -c "
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- case $am_cv_python_pyexecdir in
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- $am_py_exec_prefix*)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/aclocal.m4- case $am_py_exec_prefix in
--
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_RESULT([$PYTHON_LIBS])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_SUBST([PYTHON_LIBS])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- # Check for site packages
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_CHECKING([for Python site-packages path])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_RESULT([$PYTHON_SITE_PKG])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_SUBST([PYTHON_SITE_PKG])
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4-
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- # libraries which must be linked in when embedding
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/tmp/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_CHECKING(python extra libraries)
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_python_exec_prefix=$am_python_exec_prefix_subst
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_MSG_RESULT([$am_python_exec_prefix])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- fi])])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_python_setup_sysconfig="\
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-import sys
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-try:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 1
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-try:
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- pass"
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl emacs-page Set up 4 directories:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl 1. pythondir: where to install python scripts. This is the
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl site-packages directory, not the python standard library
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl directory like in previous automake betas. This behavior
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl is more consistent with lispdir.m4 for example.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- [am_cv_python_pythondir],
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_prefix" = x; then
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_py_prefix=$am__usable_prefix
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_py_prefix=$am_cv_python_prefix
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`$PYTHON -c "
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- case $am_cv_python_pythondir in
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- $am_py_prefix*)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- case $am_py_prefix in
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_SUBST([pythondir], [$am_cv_python_pythondir])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl more consistent with the rest of automake.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl 3. pyexecdir: directory for installing python extension modules
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl (shared libraries).
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- [am_cv_python_pyexecdir],
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_exec_prefix" = x; then
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am__usable_exec_prefix
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am_cv_python_exec_prefix
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`$PYTHON -c "
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- case $am_cv_python_pyexecdir in
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- $am_py_exec_prefix*)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/aclocal.m4- case $am_py_exec_prefix in
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_RESULT([$PYTHON_LIBS])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_SUBST([PYTHON_LIBS])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- # Check for site packages
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_CHECKING([for Python site-packages path])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_RESULT([$PYTHON_SITE_PKG])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_SUBST([PYTHON_SITE_PKG])
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- # libraries which must be linked in when embedding
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_CHECKING(python extra libraries)
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- am_python_setup_sysconfig="\
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-import sys
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-try:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-except ImportError:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- can_use_sysconfig = 0
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- can_use_sysconfig = 1
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-try:
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- case $am_cv_python_pythondir in
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- $am_py_prefix*)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- ;;
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- *)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- case $am_py_prefix in
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-else:
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- case $am_cv_python_pyexecdir in
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- $am_py_exec_prefix*)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- ;;
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- *)
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- case $am_py_exec_prefix in
--
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- # Check for site packages
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- fi
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure-
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- #
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- # libraries which must be linked in when embedding
./zfs-2.2.3/debian/openzfs-zfs-dkms/usr/src/zfs-2.2.3/configure- #
--
./zfs-2.2.3/configure~-fi
./zfs-2.2.3/configure~-fi
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/configure~- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/configure~- am_python_setup_sysconfig="\
./zfs-2.2.3/configure~-import sys
./zfs-2.2.3/configure~:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/configure~-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/configure~-try:
./zfs-2.2.3/configure~- import sysconfig
./zfs-2.2.3/configure~-except ImportError:
./zfs-2.2.3/configure~- can_use_sysconfig = 0
./zfs-2.2.3/configure~-else:
./zfs-2.2.3/configure~- can_use_sysconfig = 1
./zfs-2.2.3/configure~-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/configure~-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/configure~-try:
--
./zfs-2.2.3/configure~-if can_use_sysconfig:
./zfs-2.2.3/configure~- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/configure~- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/configure~- else:
./zfs-2.2.3/configure~- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/configure~- if scheme == 'posix_local':
./zfs-2.2.3/configure~- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/configure~- scheme = 'posix_prefix'
./zfs-2.2.3/configure~- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/configure~-else:
./zfs-2.2.3/configure~: from distutils import sysconfig
./zfs-2.2.3/configure~- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/configure~-sys.stdout.write(sitedir)"`
./zfs-2.2.3/configure~- #
./zfs-2.2.3/configure~- case $am_cv_python_pythondir in
./zfs-2.2.3/configure~- $am_py_prefix*)
./zfs-2.2.3/configure~- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/configure~- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/configure~- ;;
./zfs-2.2.3/configure~- *)
./zfs-2.2.3/configure~- case $am_py_prefix in
--
./zfs-2.2.3/configure~-if can_use_sysconfig:
./zfs-2.2.3/configure~- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/configure~- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/configure~- else:
./zfs-2.2.3/configure~- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/configure~- if scheme == 'posix_local':
./zfs-2.2.3/configure~- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/configure~- scheme = 'posix_prefix'
./zfs-2.2.3/configure~- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/configure~-else:
./zfs-2.2.3/configure~: from distutils import sysconfig
./zfs-2.2.3/configure~- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/configure~-sys.stdout.write(sitedir)"`
./zfs-2.2.3/configure~- #
./zfs-2.2.3/configure~- case $am_cv_python_pyexecdir in
./zfs-2.2.3/configure~- $am_py_exec_prefix*)
./zfs-2.2.3/configure~- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/configure~- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/configure~- ;;
./zfs-2.2.3/configure~- *)
./zfs-2.2.3/configure~- case $am_py_exec_prefix in
--
./zfs-2.2.3/configure~- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/configure~-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~- #
./zfs-2.2.3/configure~- # Check for site packages
./zfs-2.2.3/configure~- #
./zfs-2.2.3/configure~- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/configure~-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/configure~- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/configure~: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/configure~: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/configure~- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/configure~- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/configure~- fi
./zfs-2.2.3/configure~- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/configure~-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~-
./zfs-2.2.3/configure~- #
./zfs-2.2.3/configure~- # libraries which must be linked in when embedding
./zfs-2.2.3/configure~- #
--
./zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_RESULT([$PYTHON_LIBS])
./zfs-2.2.3/config/ax_python_devel.m4- AC_SUBST([PYTHON_LIBS])
./zfs-2.2.3/config/ax_python_devel.m4-
./zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/config/ax_python_devel.m4- # Check for site packages
./zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_CHECKING([for Python site-packages path])
./zfs-2.2.3/config/ax_python_devel.m4- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/config/ax_python_devel.m4: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/config/ax_python_devel.m4: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/config/ax_python_devel.m4- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/config/ax_python_devel.m4- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/config/ax_python_devel.m4- fi
./zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_RESULT([$PYTHON_SITE_PKG])
./zfs-2.2.3/config/ax_python_devel.m4- AC_SUBST([PYTHON_SITE_PKG])
./zfs-2.2.3/config/ax_python_devel.m4-
./zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/config/ax_python_devel.m4- # libraries which must be linked in when embedding
./zfs-2.2.3/config/ax_python_devel.m4- #
./zfs-2.2.3/config/ax_python_devel.m4- AC_MSG_CHECKING(python extra libraries)
--
./zfs-2.2.3/aclocal.m4- am_python_exec_prefix=$am_python_exec_prefix_subst
./zfs-2.2.3/aclocal.m4- AC_MSG_CHECKING([for GNU default $am_display_PYTHON exec_prefix])
./zfs-2.2.3/aclocal.m4- AC_MSG_RESULT([$am_python_exec_prefix])
./zfs-2.2.3/aclocal.m4- fi])])
./zfs-2.2.3/aclocal.m4- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/aclocal.m4- AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
./zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/aclocal.m4- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/aclocal.m4- am_python_setup_sysconfig="\
./zfs-2.2.3/aclocal.m4-import sys
./zfs-2.2.3/aclocal.m4:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/aclocal.m4-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/aclocal.m4-try:
./zfs-2.2.3/aclocal.m4- import sysconfig
./zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/aclocal.m4- can_use_sysconfig = 1
./zfs-2.2.3/aclocal.m4-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/aclocal.m4-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/aclocal.m4-try:
--
./zfs-2.2.3/aclocal.m4- can_use_sysconfig = 0
./zfs-2.2.3/aclocal.m4-except ImportError:
./zfs-2.2.3/aclocal.m4- pass"
./zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/aclocal.m4- dnl emacs-page Set up 4 directories:
./zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/aclocal.m4- dnl 1. pythondir: where to install python scripts. This is the
./zfs-2.2.3/aclocal.m4- dnl site-packages directory, not the python standard library
./zfs-2.2.3/aclocal.m4- dnl directory like in previous automake betas. This behavior
./zfs-2.2.3/aclocal.m4- dnl is more consistent with lispdir.m4 for example.
./zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON script directory (pythondir)],
./zfs-2.2.3/aclocal.m4- [am_cv_python_pythondir],
./zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_prefix" = x; then
./zfs-2.2.3/aclocal.m4- am_py_prefix=$am__usable_prefix
./zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/aclocal.m4- am_py_prefix=$am_cv_python_prefix
./zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`$PYTHON -c "
./zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/aclocal.m4- case $am_cv_python_pythondir in
./zfs-2.2.3/aclocal.m4- $am_py_prefix*)
./zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/aclocal.m4- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/aclocal.m4- case $am_py_prefix in
--
./zfs-2.2.3/aclocal.m4- AC_SUBST([pythondir], [$am_cv_python_pythondir])
./zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/aclocal.m4- dnl 2. pkgpythondir: $PACKAGE directory under pythondir. Was
./zfs-2.2.3/aclocal.m4- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
./zfs-2.2.3/aclocal.m4- dnl more consistent with the rest of automake.
./zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/aclocal.m4- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
./zfs-2.2.3/aclocal.m4-
./zfs-2.2.3/aclocal.m4- dnl 3. pyexecdir: directory for installing python extension modules
./zfs-2.2.3/aclocal.m4- dnl (shared libraries).
./zfs-2.2.3/aclocal.m4: dnl Query distutils for this directory.
./zfs-2.2.3/aclocal.m4- dnl
./zfs-2.2.3/aclocal.m4- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory (pyexecdir)],
./zfs-2.2.3/aclocal.m4- [am_cv_python_pyexecdir],
./zfs-2.2.3/aclocal.m4- [if test "x$am_cv_python_exec_prefix" = x; then
./zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am__usable_exec_prefix
./zfs-2.2.3/aclocal.m4- else
./zfs-2.2.3/aclocal.m4- am_py_exec_prefix=$am_cv_python_exec_prefix
./zfs-2.2.3/aclocal.m4- fi
./zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`$PYTHON -c "
./zfs-2.2.3/aclocal.m4-$am_python_setup_sysconfig
./zfs-2.2.3/aclocal.m4-if can_use_sysconfig:
./zfs-2.2.3/aclocal.m4- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/aclocal.m4- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/aclocal.m4- else:
./zfs-2.2.3/aclocal.m4- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/aclocal.m4- if scheme == 'posix_local':
./zfs-2.2.3/aclocal.m4- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/aclocal.m4- scheme = 'posix_prefix'
./zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/aclocal.m4-else:
./zfs-2.2.3/aclocal.m4: from distutils import sysconfig
./zfs-2.2.3/aclocal.m4- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/aclocal.m4-sys.stdout.write(sitedir)"`
./zfs-2.2.3/aclocal.m4- #
./zfs-2.2.3/aclocal.m4- case $am_cv_python_pyexecdir in
./zfs-2.2.3/aclocal.m4- $am_py_exec_prefix*)
./zfs-2.2.3/aclocal.m4- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/aclocal.m4- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/aclocal.m4- ;;
./zfs-2.2.3/aclocal.m4- *)
./zfs-2.2.3/aclocal.m4- case $am_py_exec_prefix in
--
./zfs-2.2.3/configure-fi
./zfs-2.2.3/configure-fi
./zfs-2.2.3/configure-
./zfs-2.2.3/configure- # Substituting python_exec_prefix_subst.
./zfs-2.2.3/configure- PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
./zfs-2.2.3/configure-
./zfs-2.2.3/configure-
./zfs-2.2.3/configure- # Factor out some code duplication into this shell variable.
./zfs-2.2.3/configure- am_python_setup_sysconfig="\
./zfs-2.2.3/configure-import sys
./zfs-2.2.3/configure:# Prefer sysconfig over distutils.sysconfig, for better compatibility
./zfs-2.2.3/configure-# with python 3.x. See automake bug#10227.
./zfs-2.2.3/configure-try:
./zfs-2.2.3/configure- import sysconfig
./zfs-2.2.3/configure-except ImportError:
./zfs-2.2.3/configure- can_use_sysconfig = 0
./zfs-2.2.3/configure-else:
./zfs-2.2.3/configure- can_use_sysconfig = 1
./zfs-2.2.3/configure-# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
./zfs-2.2.3/configure-# <https://github.com/pypa/virtualenv/issues/118>
./zfs-2.2.3/configure-try:
--
./zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/configure- else:
./zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/configure- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
./zfs-2.2.3/configure-else:
./zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
./zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/configure- #
./zfs-2.2.3/configure- case $am_cv_python_pythondir in
./zfs-2.2.3/configure- $am_py_prefix*)
./zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/configure- am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
./zfs-2.2.3/configure- ;;
./zfs-2.2.3/configure- *)
./zfs-2.2.3/configure- case $am_py_prefix in
--
./zfs-2.2.3/configure-if can_use_sysconfig:
./zfs-2.2.3/configure- if hasattr(sysconfig, 'get_default_scheme'):
./zfs-2.2.3/configure- scheme = sysconfig.get_default_scheme()
./zfs-2.2.3/configure- else:
./zfs-2.2.3/configure- scheme = sysconfig._get_default_scheme()
./zfs-2.2.3/configure- if scheme == 'posix_local':
./zfs-2.2.3/configure- # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
./zfs-2.2.3/configure- scheme = 'posix_prefix'
./zfs-2.2.3/configure- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
./zfs-2.2.3/configure-else:
./zfs-2.2.3/configure: from distutils import sysconfig
./zfs-2.2.3/configure- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
./zfs-2.2.3/configure-sys.stdout.write(sitedir)"`
./zfs-2.2.3/configure- #
./zfs-2.2.3/configure- case $am_cv_python_pyexecdir in
./zfs-2.2.3/configure- $am_py_exec_prefix*)
./zfs-2.2.3/configure- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
./zfs-2.2.3/configure- am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
./zfs-2.2.3/configure- ;;
./zfs-2.2.3/configure- *)
./zfs-2.2.3/configure- case $am_py_exec_prefix in
--
./zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
./zfs-2.2.3/configure-printf "%s\n" "$PYTHON_LIBS" >&6; }
./zfs-2.2.3/configure-
./zfs-2.2.3/configure-
./zfs-2.2.3/configure- #
./zfs-2.2.3/configure- # Check for site packages
./zfs-2.2.3/configure- #
./zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
./zfs-2.2.3/configure-printf %s "checking for Python site-packages path... " >&6; }
./zfs-2.2.3/configure- if test -z "$PYTHON_SITE_PKG"; then
./zfs-2.2.3/configure: PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
./zfs-2.2.3/configure: print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
./zfs-2.2.3/configure- $PYTHON -c "import sysconfig; \
./zfs-2.2.3/configure- print (sysconfig.get_path('purelib'));"`
./zfs-2.2.3/configure- fi
./zfs-2.2.3/configure- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
./zfs-2.2.3/configure-printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
./zfs-2.2.3/configure-
./zfs-2.2.3/configure-
./zfs-2.2.3/configure- #
./zfs-2.2.3/configure- # libraries which must be linked in when embedding
./zfs-2.2.3/configure- #
Most of the time the sysconfig
module is indeed preferred, but sometimes it seems like only distutils
is adressed ?
Specifically in configure
:
#
# Check for site packages
#
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
printf %s "checking for Python site-packages path... " >&6; }
if test -z "$PYTHON_SITE_PKG"; then
PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
print (distutils.sysconfig.get_python_lib(0,0));" 2>/dev/null || \
$PYTHON -c "import sysconfig; \
print (sysconfig.get_path('purelib'));"`
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
printf "%s\n" "$PYTHON_SITE_PKG" >&6; }
@luckylinux if you can try PR #16129 that would be helpful.
It build and installed the Package fine, but should I dare reboot ?
The python bits aren't needed at all for the kernel modules or core utilities. If the dkms package was able to be installed and it built the kmod successfully you should be all set.
@behlendorf Alright. I will find out soon :laughing:.
I see you did A LOT of changes to the source code in your commit (besides the "quick-fix" that I proposed in the contrib/debian/control
File).
Was that really necessary or was is more like a "due" cleanup Task ?
It's not as bad as it looks. All of the changes to ax_python_devel.m4
were because I replaced our custom version of the macro with the latest version from https://www.gnu.org/software/autoconf-archive/ax_python_devel.html. The upstream version now includes some functionality we'd been carrying local changes for. So that was a bit of cleanup which wasn't strictly needed but nice to pick up.
@behlendorf I'll try to reboot now (with my own version that I bypassed the checks).
I'll try yours after the reboot (if hopefully everything goes well).
OK I rebooted. It seems to be working as before (with my bypassed version).
Working even on Kernel 6.8. No warnings during compile of openzfs-dkms
. I'm a bit surprised since the Official Release Notes for 2.2.3 state Kernel Supported are up to (and including) 6.7, NOT 6.8. Maybe there weren't many changes in the Kernel in that regards then ...
root@HOST:/home/USER# uname -a
Linux HOST.MYDOMAIN.TLD 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root@HOST:/home/USER# zfs version
zfs-2.2.3-1
zfs-kmod-2.2.3-1
I'll try your PR https://github.com/openzfs/zfs/pull/16129 now :+1: .
@behlendorf I'm currently trying to build using this script.
I'm not that familiar with git
so I had to learn how to include pull requests etc :laughing:.
(but on a quick run I see that the files in my local branch reflect the modifications you pade i.e. python >> 3.12 | ...
)
#!/bin/bash
# Install Requirements
sudo apt-get --no-install-recommends install dkms
sudo apt-get install dh-dkms
sudo apt-get install aptitude libcurl4-openssl-dev libpam0g-dev lsb-release build-essential autoconf automake libtool libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging git libcurl4-openssl-dev debhelper-compat dh-python po-debconf python3-all-dev python3-sphinx
sudo apt-get install build-essential autoconf automake libtool gawk fakeroot libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging git libcurl4-openssl-dev debhelper-compat dh-python po-debconf python3-all-dev python3-sphinx
sudo apt-get install linux-headers-generic
sudo apt-get install bc bison flex
# Define Desired Parameters
version="PR-16129"
branch="issue-16126"
subfolder="zfs-testing-${version}"
# Create folder if not exist then Change Directory
mkdir -p /usr/src/${subfolder}
cd /usr/src/${subfolder}
# Save basedir
basedir=$(pwd)
# Clone the Project Repository & Apply Pull Request & Switch Local Branch
git clone https://github.com/openzfs/zfs.git zfs-${version}
# Clone the Fork Repository - No need to Apply Pull Request
#git clone -b "${branch}" https://github.com/behlendorf/zfs.git zfs-${version}
# Change working direectory
cd zfs-${version}
# Select a specific Pull Request
git fetch origin pull/16129/head:zfs-${version}-local
git switch zfs-${version}-local
# Configure
sh autogen.sh
./configure
# Compile
make clean
make -s -j$(nproc)
# Build Native Debian Packages
make native-deb
make native-deb-utils native-deb-dkms
I'll let you know how it goes in a few minutes hopefully. Do you need me to provide you with some Toolchain / Environment details ? If so, how ?
The short message I see during ZFS Compile is:
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using: gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
(apparently Ubuntu isn't using GCC 14 by default yet)
Folder Contents (one level ABOVE where the sources are located, i.e. this is where the build.sh
build Script that I created is):
root@HOST:/usr/src/zfs-testing-PR-16129# ls -l
total 59361
-rwxr-xr-x 1 root root 1770 Apr 24 23:21 build.sh
-rw-r--r-- 1 root root 37220 Apr 24 23:42 openzfs-libnvpair3_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 103496 Apr 24 23:42 openzfs-libnvpair3-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 10128 Apr 24 23:42 openzfs-libpam-zfs_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 24330 Apr 24 23:42 openzfs-libpam-zfs-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 28214 Apr 24 23:42 openzfs-libuutil3_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 57172 Apr 24 23:42 openzfs-libuutil3-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 217334 Apr 24 23:43 openzfs-libzfs4_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 658514 Apr 24 23:43 openzfs-libzfs4-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 13704 Apr 24 23:42 openzfs-libzfsbootenv1_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 14318 Apr 24 23:42 openzfs-libzfsbootenv1-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 2122588 Apr 24 23:43 openzfs-libzfs-dev_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 1401972 Apr 24 23:42 openzfs-libzpool5_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 4913810 Apr 24 23:42 openzfs-libzpool5-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 16927 Apr 24 23:43 openzfs-linux_2.2.99-1_amd64.buildinfo
-rw-r--r-- 1 root root 9380 Apr 24 23:43 openzfs-linux_2.2.99-1_amd64.changes
-rw-r--r-- 1 root root 46762 Apr 24 23:42 openzfs-python3-pyzfs_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 39412 Apr 24 23:42 openzfs-pyzfs-doc_2.2.99-1_all.deb
-rw-r--r-- 1 root root 2601426 Apr 24 23:43 openzfs-zfs-dkms_2.2.99-1_all.deb
-rw-r--r-- 1 root root 12494 Apr 24 23:43 openzfs-zfs-dracut_2.2.99-1_all.deb
-rw-r--r-- 1 root root 12662 Apr 24 23:43 openzfs-zfs-initramfs_2.2.99-1_all.deb
-rw-r--r-- 1 root root 17386050 Apr 24 23:38 openzfs-zfs-modules-6.8.0-31-generic_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 28585628 Apr 24 23:43 openzfs-zfs-test_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 660210 Apr 24 23:43 openzfs-zfs-test-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 568396 Apr 24 23:42 openzfs-zfsutils_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 861500 Apr 24 23:42 openzfs-zfsutils-dbgsym_2.2.99-1_amd64.ddeb
-rw-r--r-- 1 root root 57480 Apr 24 23:42 openzfs-zfs-zed_2.2.99-1_amd64.deb
-rw-r--r-- 1 root root 112200 Apr 24 23:42 openzfs-zfs-zed-dbgsym_2.2.99-1_amd64.ddeb
drwxr-xr-x 21 root root 91 Apr 24 23:41 zfs-PR-16129
Seems good.
Let me know if you need anything else :+1:.
@luckylinux great. Thanks for giving this a spin.
@behlendorf You're welcome, thanks for the very quick response :+1: .
Note that I did NOT test that the resulting Packages will install (as in dpkg -i
or àpt-get install
) or run correctly. I only tested the build part. I prefer to stay on something stable right now ...
System information
Describe the problem you're observing
While building OpenZFS on a (to be officially released in a few days) Ubuntu 24.04 System, openzfs-dkms Package fails to install due to missing
python3-distutils
Package.This Package has been removed as of Python 3.12.
Since Ubuntu 24.04 ships with Python 3.12, this blocks the installation of OpenZFS Packages.
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
See previous Section.
Proposed Fix
I tried to do some REGEX using
sed
in a build script, but it doesn't really work that well (from within the unpackedzfs-2.2.3
Archive downloaded from the OpenZFS repository):Basically, either:
python3-distutils | libpython3-stdlib (<< 3.6.4)
)python3 >> 3.12 | python3-distutils | libpython3-stdlib (<< 3.6.4)
The second Solution is most likely preferable due to compatibility with Debian and Debian-based Distributions featuring older Versions of Python.