| 6 Nov 2023 |
matthewcroughan | Now, after giving it scikit-build instead of skbuild because what the hell is skbuild if not a misnamed scikit-build:
python3.11-gradio-client> error: metadata-generation-failed
python3.11-gradio-client> × Encountered error while generating package metadata.
python3.11-gradio-client> ╰─> See above for output.
python3.11-gradio-client> note: This is an issue with the package mentioned above, not pip.
python3.11-gradio-client> hint: See above for details.
python3.11-cmake> Processing /build/cmake-3.27.7
python3.11-cmake> Running command Preparing metadata (pyproject.toml)
error: builder for '/nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv' failed with exit code 1;
last 10 log lines:
> full command: /nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 /nix/store/z41lyyssxy1gza6ngn44q036k
> cwd: /build/gradio_client-0.6.1
> Preparing metadata (pyproject.toml) ... error
> error: metadata-generation-failed
>
> × Encountered error while generating package metadata.
> ╰─> See above for output.
>
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
For full logs, run 'nix log /nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv'.
python3.11-cmake> running dist_info
python3.11-cmake> creating /build/pip-modern-metadata-00i0ysyh/cmake.egg-info
python3.11-cmake> writing /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/PKG-INFO
python3.11-cmake> writing dependency_links to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/dependency_links.txt
python3.11-cmake> writing entry points to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/entry_points.txt
python3.11-cmake> writing requirements to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/requires.txt
python3.11-cmake> writing top-level names to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/top_level.txt
python3.11-cmake> writing manifest file '/build/pip-modern-metadata-00i0ysyh/cmake.egg-info/SOURCES.txt'
python3.11-cmake> reading manifest file '/build/pip-modern-metadata-00i0ysyh/cmake.egg-info/SOURCES.txt'
python3.11-cmake> reading manifest template 'MANIFEST.in'
python3.11-cmake> warning: no previously-included files matching '*' found under directory '_skbuild'
python3.11-cmake> warning: no previously-included files matching '*' found under directory 'CMake-src'
python3.11-cmake> adding license file 'LICENSE_Apache_20'
python3.11-cmake> adding license file 'LICENSE_BSD_3'
python3.11-cmake> adding license file 'AUTHORS.rst'
python3.11-cmake> writing manifest file '/build/pip-modern-metadata-00i0ysyh/cmake.egg-info/SOURCES.txt'
python3.11-cmake> creating '/build/pip-modern-metadata-00i0ysyh/cmake-3.27.7.dist-info'
python3.11-cmake> Preparing metadata (pyproject.toml) ... done
python3.11-cmake> Building wheels for collected packages: cmake
python3.11-cmake> Running command Building wheel for cmake (pyproject.toml)
python3.11-cmake> Traceback (most recent call last):
python3.11-cmake> File "/nix/store/6h6a1qsnwy47xbq3qdhpkmfngyzisqx2-python3.11-scikit-build-0.17.6/lib/python3.11/site-packages/skb
python3.11-cmake> cmkr = cmaker.CMaker(cmake_executable)
python3.11-cmake> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.11-cmake> File "/nix/store/6h6a1qsnwy47xbq3qdhpkmfngyzisqx2-python3.11-scikit-build-0.17.6/lib/python3.11/site-packages/skb
python3.11-cmake> self.cmake_version = get_cmake_version(self.cmake_executable)
python3.11-cmake> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.11-cmake> File "/nix/store/6h6a1qsnwy47xbq3qdhpkmfngyzisqx2-python3.11-scikit-build-0.17.6/lib/python3.11/site-packages/skb
python3.11-cmake> raise SKBuildError(msg) from err
python3.11-cmake> =============================DEBUG ASSISTANCE=============================
python3.11-cmake> If you are seeing a compilation error please try the following steps to
python3.11-cmake> successfully install cmake:
python3.11-cmake> 1) Upgrade to the latest pip and try again. This will fix errors for most
python3.11-cmake> users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
python3.11-cmake> 2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
python3.11-cmake> order to retrieve the last manylinux1 compatible wheel.
python3.11-cmake> 3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
python3.11-cmake> requirements in order to retrieve the last manylinux1 compatible wheel.
python3.11-cmake> 4) Open an issue with the debug information that follows at
python3.11-cmake> https://github.com/scikit-build/cmake-python-distributions/issues
python3.11-cmake> Python: 3.11.5
python3.11-cmake> platform: Linux-6.1.51-x86_64-with-glibc2.38
python3.11-cmake> glibc: glibc 2.38
python3.11-cmake> machine: x86_64
python3.11-cmake> bits: 64
python3.11-cmake> pip: 23.2.1
python3.11-cmake> setuptools: 68.2.2.post0
python3.11-cmake> scikit-build: 0.17.6
python3.11-cmake> PEP517_BUILD_BACKEND=setuptools.build_meta
python3.11-cmake> =============================DEBUG ASSISTANCE=============================
python3.11-cmake> Problem with the CMake installation, aborting build. CMake executable is cmake
python3.11-cmake> error: subprocess-exited-with-error
python3.11-cmake> × Building wheel for cmake (pyproject.toml) did not run successfully.
python3.11-cmake> │ exit code: 1
python3.11-cmake> ╰─> See above for output.
python3.11-cmake> note: This error originates from a subprocess, and is likely not a problem with pip.
python3.11-cmake> full command: /nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 /nix/store/z41lyyssxy1gza6ngn44q036k213c9gm-python3.11-pip-23.2.1/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /build/tmpmq37r_0j
python3.11-cmake> cwd: /build/cmake-3.27.7
python3.11-cmake> Building wheel for cmake (pyproject.toml) ... error
python3.11-cmake> ERROR: Failed building wheel for cmake
python3.11-cmake> Failed to build cmake
python3.11-cmake> ERROR: Failed to build one or more wheels
python3.11-cmake
| 20:24:36 |
matthewcroughan | * Now, after giving it scikit-build instead of skbuild because what the hell is skbuild if not a misnamed scikit-build:
python3.11-cmake> Processing /build/cmake-3.27.7
python3.11-cmake> Running command Preparing metadata (pyproject.toml)
error: builder for '/nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv' failed with exit code 1;
last 10 log lines:
> full command: /nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 /nix/store/z41lyyssxy1gza6ngn44q036k
> cwd: /build/gradio_client-0.6.1
> Preparing metadata (pyproject.toml) ... error
> error: metadata-generation-failed
>
> × Encountered error while generating package metadata.
> ╰─> See above for output.
>
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
For full logs, run 'nix log /nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv'.
python3.11-cmake> running dist_info
python3.11-cmake> creating /build/pip-modern-metadata-00i0ysyh/cmake.egg-info
python3.11-cmake> writing /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/PKG-INFO
python3.11-cmake> writing dependency_links to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/dependency_links.txt
python3.11-cmake> writing entry points to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/entry_points.txt
python3.11-cmake> writing requirements to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/requires.txt
python3.11-cmake> writing top-level names to /build/pip-modern-metadata-00i0ysyh/cmake.egg-info/top_level.txt
python3.11-cmake> writing manifest file '/build/pip-modern-metadata-00i0ysyh/cmake.egg-info/SOURCES.txt'
python3.11-cmake> reading manifest file '/build/pip-modern-metadata-00i0ysyh/cmake.egg-info/SOURCES.txt'
python3.11-cmake> reading manifest template 'MANIFEST.in'
python3.11-cmake> warning: no previously-included files matching '*' found under directory '_skbuild'
python3.11-cmake> warning: no previously-included files matching '*' found under directory 'CMake-src'
python3.11-cmake> adding license file 'LICENSE_Apache_20'
python3.11-cmake> adding license file 'LICENSE_BSD_3'
python3.11-cmake> adding license file 'AUTHORS.rst'
python3.11-cmake> writing manifest file '/build/pip-modern-metadata-00i0ysyh/cmake.egg-info/SOURCES.txt'
python3.11-cmake> creating '/build/pip-modern-metadata-00i0ysyh/cmake-3.27.7.dist-info'
python3.11-cmake> Preparing metadata (pyproject.toml) ... done
python3.11-cmake> Building wheels for collected packages: cmake
python3.11-cmake> Running command Building wheel for cmake (pyproject.toml)
python3.11-cmake> Traceback (most recent call last):
python3.11-cmake> File "/nix/store/6h6a1qsnwy47xbq3qdhpkmfngyzisqx2-python3.11-scikit-build-0.17.6/lib/python3.11/site-packages/skb
python3.11-cmake> cmkr = cmaker.CMaker(cmake_executable)
python3.11-cmake> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.11-cmake> File "/nix/store/6h6a1qsnwy47xbq3qdhpkmfngyzisqx2-python3.11-scikit-build-0.17.6/lib/python3.11/site-packages/skb
python3.11-cmake> self.cmake_version = get_cmake_version(self.cmake_executable)
python3.11-cmake> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.11-cmake> File "/nix/store/6h6a1qsnwy47xbq3qdhpkmfngyzisqx2-python3.11-scikit-build-0.17.6/lib/python3.11/site-packages/skb
python3.11-cmake> raise SKBuildError(msg) from err
python3.11-cmake> =============================DEBUG ASSISTANCE=============================
python3.11-cmake> If you are seeing a compilation error please try the following steps to
python3.11-cmake> successfully install cmake:
python3.11-cmake> 1) Upgrade to the latest pip and try again. This will fix errors for most
python3.11-cmake> users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
python3.11-cmake> 2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
python3.11-cmake> order to retrieve the last manylinux1 compatible wheel.
python3.11-cmake> 3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
python3.11-cmake> requirements in order to retrieve the last manylinux1 compatible wheel.
python3.11-cmake> 4) Open an issue with the debug information that follows at
python3.11-cmake> https://github.com/scikit-build/cmake-python-distributions/issues
python3.11-cmake> Python: 3.11.5
python3.11-cmake> platform: Linux-6.1.51-x86_64-with-glibc2.38
python3.11-cmake> glibc: glibc 2.38
python3.11-cmake> machine: x86_64
python3.11-cmake> bits: 64
python3.11-cmake> pip: 23.2.1
python3.11-cmake> setuptools: 68.2.2.post0
python3.11-cmake> scikit-build: 0.17.6
python3.11-cmake> PEP517_BUILD_BACKEND=setuptools.build_meta
python3.11-cmake> =============================DEBUG ASSISTANCE=============================
python3.11-cmake> Problem with the CMake installation, aborting build. CMake executable is cmake
python3.11-cmake> error: subprocess-exited-with-error
python3.11-cmake> × Building wheel for cmake (pyproject.toml) did not run successfully.
python3.11-cmake> │ exit code: 1
python3.11-cmake> ╰─> See above for output.
python3.11-cmake> note: This error originates from a subprocess, and is likely not a problem with pip.
python3.11-cmake> full command: /nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 /nix/store/z41lyyssxy1gza6ngn44q036k213c9gm-python3.11-pip-23.2.1/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /build/tmpmq37r_0j
python3.11-cmake> cwd: /build/cmake-3.27.7
python3.11-cmake> Building wheel for cmake (pyproject.toml) ... error
python3.11-cmake> ERROR: Failed building wheel for cmake
python3.11-cmake> Failed to build cmake
python3.11-cmake> ERROR: Failed to build one or more wheels
python3.11-cmake
| 20:25:09 |
matthewcroughan | ah okay, the python-cmake package wants cmake | 20:26:13 |
matthewcroughan | Now, this, I don't understand
python3.11-gradio-client> ╰─> See above for output.
python3.11-gradio-client> note: This is an issue with the package mentioned above, not pip.
python3.11-gradio-client> hint: See above for details.
python3.11-cmake> -- Detecting CXX compiler ABI info - done
python3.11-cmake> -- Check for working CXX compiler: /nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin/g++ - skipped
python3.11-cmake> -- Detecting CXX compile features
python3.11-cmake> -- Detecting CXX compile features - done
python3.11-cmake> -- ***************************************************
python3.11-cmake> -- Build CMake from source: ON
python3.11-cmake> -- ***************************************************
error: builder for '/nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv' failed with exit code 1;
last 10 log lines:
> full command: /nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 /nix/store/z41lyyssxy1gza6ngn44q036k
> cwd: /build/gradio_client-0.6.1
> Preparing metadata (pyproject.toml) ... error
> error: metadata-generation-failed
>
> × Encountered error while generating package metadata.
> ╰─> See above for output.
>
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
For full logs, run 'nix log /nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv'.
python3.11-cmake> CMake Warning (dev) at /nix/store/5h0akwq4cwlc3yp92i84nfgcxpv5xv79-cmake-3.26.4/share/cmake-3.26/Modules/ExternalProj
python3.11-cmake> The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
python3.11-cmake> not set. The policy's OLD behavior will be used. When using a URL
python3.11-cmake> download, the timestamps of extracted files should preferably be that of
python3.11-cmake> the time of extraction, otherwise code that depends on the extracted
python3.11-cmake> contents might not be rebuilt if the URL changes. The OLD behavior
python3.11-cmake> preserves the timestamps from the archive instead, but this is usually not
python3.11-cmake> what you want. Update your project to the NEW behavior or specify the
python3.11-cmake> DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
python3.11-cmake> robustness issue.
python3.11-cmake> Call Stack (most recent call first):
python3.11-cmake> /nix/store/5h0akwq4cwlc3yp92i84nfgcxpv5xv79-cmake-3.26.4/share/cmake-3.26/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
python3.11-cmake> CMakeLists.txt:138 (ExternalProject_add)
python3.11-cmake> This warning is for project developers. Use -Wno-dev to suppress it.
python3.11-cmake>
python3.11-cmake> -- SuperBuild - CMakeProject-src-download
python3.11-cmake> -- SuperBuild - CMakeProject-src-download - URL: https://github.com/Kitware/CMake/releases/download/v3.27.7/cmake-3.27.7.tar.gz
python3.11-cmake> -- SuperBuild - CMakeProject-src-download - CMakeProject_SOURCE_DIR: /build/cmake-3.27.7/CMake-src
python3.11-cmake> -- Looking for __GLIBC__
python3.11-cmake> -- Looking for __GLIBC__ - found
python3.11-cmake> -- Looking for __GLIBC_MINOR__
python3.11-cmake> -- Looking for __GLIBC_MINOR__ - found
python3.11-cmake> CMake Error at CMakeLists.txt:185 (message):
python3.11-cmake> GLIBC #pragma GCC diagnostic push
python3.11-cmake> #pragma GCC diagnostic ignored "-Wcast-qual"
python3.11-cmake> #pragma GCC diagnostic pop
python3.11-cmake> 2.#pragma GCC diagnostic push
python3.11-cmake> #pragma GCC diagnostic ignored "-Wcast-qual"
python3.11-cmake> #pragma GCC diagnostic pop
python3.11-cmake> 38 not supported
python3.11-cmake>
python3.11-cmake> -- Configuring incomplete, errors occurred!
| 20:26:53 |
matthewcroughan | * Now, this, I don't understand
python3.11-cmake> -- Detecting CXX compiler ABI info - done
python3.11-cmake> -- Check for working CXX compiler: /nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin/g++ - skipped
python3.11-cmake> -- Detecting CXX compile features
python3.11-cmake> -- Detecting CXX compile features - done
python3.11-cmake> -- ***************************************************
python3.11-cmake> -- Build CMake from source: ON
python3.11-cmake> -- ***************************************************
error: builder for '/nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv' failed with exit code 1;
last 10 log lines:
> full command: /nix/store/ffll6glz3gwx342z0ch8wx30p5cnqz1z-python3-3.11.5/bin/python3.11 /nix/store/z41lyyssxy1gza6ngn44q036k
> cwd: /build/gradio_client-0.6.1
> Preparing metadata (pyproject.toml) ... error
> error: metadata-generation-failed
>
> × Encountered error while generating package metadata.
> ╰─> See above for output.
>
> note: This is an issue with the package mentioned above, not pip.
> hint: See above for details.
For full logs, run 'nix log /nix/store/nldlkvg3qqpxvv5m8pwa0wj1fnzlmxy2-python3.11-gradio-client-0.6.1.drv'.
python3.11-cmake> CMake Warning (dev) at /nix/store/5h0akwq4cwlc3yp92i84nfgcxpv5xv79-cmake-3.26.4/share/cmake-3.26/Modules/ExternalProj
python3.11-cmake> The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
python3.11-cmake> not set. The policy's OLD behavior will be used. When using a URL
python3.11-cmake> download, the timestamps of extracted files should preferably be that of
python3.11-cmake> the time of extraction, otherwise code that depends on the extracted
python3.11-cmake> contents might not be rebuilt if the URL changes. The OLD behavior
python3.11-cmake> preserves the timestamps from the archive instead, but this is usually not
python3.11-cmake> what you want. Update your project to the NEW behavior or specify the
python3.11-cmake> DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
python3.11-cmake> robustness issue.
python3.11-cmake> Call Stack (most recent call first):
python3.11-cmake> /nix/store/5h0akwq4cwlc3yp92i84nfgcxpv5xv79-cmake-3.26.4/share/cmake-3.26/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
python3.11-cmake> CMakeLists.txt:138 (ExternalProject_add)
python3.11-cmake> This warning is for project developers. Use -Wno-dev to suppress it.
python3.11-cmake>
python3.11-cmake> -- SuperBuild - CMakeProject-src-download
python3.11-cmake> -- SuperBuild - CMakeProject-src-download - URL: https://github.com/Kitware/CMake/releases/download/v3.27.7/cmake-3.27.7.tar.gz
python3.11-cmake> -- SuperBuild - CMakeProject-src-download - CMakeProject_SOURCE_DIR: /build/cmake-3.27.7/CMake-src
python3.11-cmake> -- Looking for __GLIBC__
python3.11-cmake> -- Looking for __GLIBC__ - found
python3.11-cmake> -- Looking for __GLIBC_MINOR__
python3.11-cmake> -- Looking for __GLIBC_MINOR__ - found
python3.11-cmake> CMake Error at CMakeLists.txt:185 (message):
python3.11-cmake> GLIBC #pragma GCC diagnostic push
python3.11-cmake> #pragma GCC diagnostic ignored "-Wcast-qual"
python3.11-cmake> #pragma GCC diagnostic pop
python3.11-cmake> 2.#pragma GCC diagnostic push
python3.11-cmake> #pragma GCC diagnostic ignored "-Wcast-qual"
python3.11-cmake> #pragma GCC diagnostic pop
python3.11-cmake> 38 not supported
python3.11-cmake>
python3.11-cmake> -- Configuring incomplete, errors occurred!
| 20:27:05 |
matthewcroughan | * Now, this, I don't understand
python3.11-cmake> -- Detecting CXX compiler ABI info - done
python3.11-cmake> -- Check for working CXX compiler: /nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin/g++ - skipped
python3.11-cmake> -- Detecting CXX compile features
python3.11-cmake> -- Detecting CXX compile features - done
python3.11-cmake> -- ***************************************************
python3.11-cmake> -- Build CMake from source: ON
python3.11-cmake> -- ***************************************************
python3.11-cmake> CMake Warning (dev) at /nix/store/5h0akwq4cwlc3yp92i84nfgcxpv5xv79-cmake-3.26.4/share/cmake-3.26/Modules/ExternalProj
python3.11-cmake> The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
python3.11-cmake> not set. The policy's OLD behavior will be used. When using a URL
python3.11-cmake> download, the timestamps of extracted files should preferably be that of
python3.11-cmake> the time of extraction, otherwise code that depends on the extracted
python3.11-cmake> contents might not be rebuilt if the URL changes. The OLD behavior
python3.11-cmake> preserves the timestamps from the archive instead, but this is usually not
python3.11-cmake> what you want. Update your project to the NEW behavior or specify the
python3.11-cmake> DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
python3.11-cmake> robustness issue.
python3.11-cmake> Call Stack (most recent call first):
python3.11-cmake> /nix/store/5h0akwq4cwlc3yp92i84nfgcxpv5xv79-cmake-3.26.4/share/cmake-3.26/Modules/ExternalProject.cmake:4208 (_ep_add_download_command)
python3.11-cmake> CMakeLists.txt:138 (ExternalProject_add)
python3.11-cmake> This warning is for project developers. Use -Wno-dev to suppress it.
python3.11-cmake>
python3.11-cmake> -- SuperBuild - CMakeProject-src-download
python3.11-cmake> -- SuperBuild - CMakeProject-src-download - URL: https://github.com/Kitware/CMake/releases/download/v3.27.7/cmake-3.27.7.tar.gz
python3.11-cmake> -- SuperBuild - CMakeProject-src-download - CMakeProject_SOURCE_DIR: /build/cmake-3.27.7/CMake-src
python3.11-cmake> -- Looking for __GLIBC__
python3.11-cmake> -- Looking for __GLIBC__ - found
python3.11-cmake> -- Looking for __GLIBC_MINOR__
python3.11-cmake> -- Looking for __GLIBC_MINOR__ - found
python3.11-cmake> CMake Error at CMakeLists.txt:185 (message):
python3.11-cmake> GLIBC #pragma GCC diagnostic push
python3.11-cmake> #pragma GCC diagnostic ignored "-Wcast-qual"
python3.11-cmake> #pragma GCC diagnostic pop
python3.11-cmake> 2.#pragma GCC diagnostic push
python3.11-cmake> #pragma GCC diagnostic ignored "-Wcast-qual"
python3.11-cmake> #pragma GCC diagnostic pop
python3.11-cmake> 38 not supported
python3.11-cmake>
python3.11-cmake> -- Configuring incomplete, errors occurred!
| 20:27:24 |
matthewcroughan | It happens so often in poetry2nix that there is a nix package already made for the thing that works, but it cannot be shared with poetry2nix | 20:28:39 |
K900 | That's just objectively not true | 20:28:55 |
K900 | poetry2nix applies its overrides on top of the nixpkgs ones | 20:29:00 |
K900 | So anything done in nixpkgs should already be applied | 20:29:07 |
matthewcroughan | In reply to @k900:0upti.me poetry2nix applies its overrides on top of the nixpkgs ones then why can I not I redirect in the overrides | 20:29:22 |
K900 | Redirect what? | 20:29:28 |
matthewcroughan | In reply to @k900:0upti.me So anything done in nixpkgs should already be applied most of my override are undoing poetry2nix overrides | 20:29:36 |
K900 | You can just set cmake = python310Packages.cmake | 20:29:51 |
K900 | And it will work (until it inevitably blows up due to some version incompatibility) | 20:30:07 |
matthewcroughan | that's not true, because then I get collisions | 20:30:07 |
matthewcroughan | tokenizers = super.tokenizers.overridePythonAttrs
(
old: {
sourceRoot = "tokenizers-0.14.1/bindings/python";
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFile = ./nix/tokenizers/Cargo.lock;
};
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [
pkgs.rustPlatform.cargoSetupHook
pkgs.rustPlatform.maturinBuildHook
];
}
);
| 20:30:11 |
matthewcroughan | take this for instance | 20:30:13 |
matthewcroughan | * tokenizers = super.tokenizers.overridePythonAttrs
(
old: {
sourceRoot = "tokenizers-0.14.1/bindings/python";
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFile = ./nix/tokenizers/Cargo.lock;
};
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [
pkgs.rustPlatform.cargoSetupHook
pkgs.rustPlatform.maturinBuildHook
];
}
);
| 20:30:17 |
matthewcroughan | https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/tokenizers/default.nix#L140 | 20:30:31 |
matthewcroughan | already in nixpkgs | 20:30:33 |
matthewcroughan | but poetry2nix seems not to be using the nixpkgs derivation | 20:31:00 |
K900 | And? | 20:31:01 |
matthewcroughan | if I set it to the one from nixpkgs, that's not going to work | 20:31:22 |
K900 | https://github.com/nix-community/poetry2nix/blob/master/overrides/default.nix#L3148-L3154 is what it's doing | 20:31:23 |
matthewcroughan | it doesn't even use the wheel though | 20:31:47 |
matthewcroughan | hence why I have to override it | 20:31:53 |
K900 | It should work if you set it to the nixpkgs derivation | 20:32:33 |
K900 | Unless you're also leaking in some other version of it | 20:32:39 |
matthewcroughan | yeah I think the repo I'm packaging uses a newer version | 20:32:51 |