Skip to content

Instantly share code, notes, and snippets.

@ShalokShalom
Created November 5, 2025 21:25
Show Gist options
  • Select an option

  • Save ShalokShalom/b80fc017143d970f8a166f733b81c8a6 to your computer and use it in GitHub Desktop.

Select an option

Save ShalokShalom/b80fc017143d970f8a166f733b81c8a6 to your computer and use it in GitHub Desktop.
pixi run rattler-build build --recipe recipe.yaml
╭─ Finding outputs from recipe
│ Found 1 variants
│ Build variant: rarfile-4.2-pyh4616a5c_0
│ ╭─────────────────┬──────────╮
│ │ Variant ┆ Version │
│ ╞═════════════════╪══════════╡
│ │ target_platform ┆ "noarch" │
│ ╰─────────────────┴──────────╯
╰─────────────────── (took 0 seconds)
╭─ Running build for recipe: rarfile-4.2-pyh4616a5c_0
│ ╭─ Fetching source code
│ │ Fetching source from url: https://pypi.io/packages/source/r/rarfile/rarfile-4.2.tar.gz
│ │ Downloaded file from https://pypi.io/packages/source/r/rarfile/rarfile-4.2.tar.gz
│ │ Validated SHA256 values of the downloaded file!
│ │ Extracting tar file to cache: /home/shalok/Projects/conda/rarfile-feedstock/recipe/output/src_cache/rarfile-4_2_8e1c8e72.tar.gz
│ │ Copying source from url: /home/shalok/Projects/conda/rarfile-feedstock/recipe/output/src_cache/rarfile-4_2_8e1c8e72 to /home/shalok/Proj
│ │ ects/conda/rarfile-feedstock/recipe/output/bld/rattler-build_rarfile_1762375449/work
│ │
│ ╰─────────────────── (took 2 seconds)
│ ╭─ Resolving environments
│ │
│ │ Resolving host environment:
│ │ Platform: linux-64 [__unix=0=0, __linux=6.17.6=0, __glibc=2.42=0, __archspec=1=zen3]
│ │ Channels:
│ │ - file:///home/shalok/Projects/conda/rarfile-feedstock/recipe/output/
│ │ - conda-forge
│ │ Specs:
│ │ - pip
│ │ - python
│ │
│ │ ╭──────────────────┬───────────┬────────────────────┬─────────────┬────────────╮
│ │ │ Package ┆ Version ┆ Build ┆ Channel ┆ Size │
│ │ ╞══════════════════╪═══════════╪════════════════════╪═════════════╪════════════╡
│ │ │ _libgcc_mutex ┆ 0.1 ┆ conda_forge ┆ conda-forge ┆ 2.50 KiB │
│ │ │ _openmp_mutex ┆ 4.5 ┆ 2_gnu ┆ conda-forge ┆ 23.07 KiB │
│ │ │ bzip2 ┆ 1.0.8 ┆ hda65f42_8 ┆ conda-forge ┆ 254.24 KiB │
│ │ │ ca-certificates ┆ 2025.10.5 ┆ hbd8a1cb_0 ┆ conda-forge ┆ 152.25 KiB │
│ │ │ icu ┆ 75.1 ┆ he02047a_0 ┆ conda-forge ┆ 11.57 MiB │
│ │ │ ld_impl_linux-64 ┆ 2.44 ┆ h1aa0949_4 ┆ conda-forge ┆ 725.10 KiB │
│ │ │ libexpat ┆ 2.7.1 ┆ hecca717_0 ┆ conda-forge ┆ 73.06 KiB │
│ │ │ libffi ┆ 3.5.2 ┆ h9ec8514_0 ┆ conda-forge ┆ 56.47 KiB │
│ │ │ libgcc ┆ 15.2.0 ┆ h767d61c_7 ┆ conda-forge ┆ 803.27 KiB │
│ │ │ libgcc-ng ┆ 15.2.0 ┆ h69a702a_7 ┆ conda-forge ┆ 28.63 KiB │
│ │ │ libgomp ┆ 15.2.0 ┆ h767d61c_7 ┆ conda-forge ┆ 437.42 KiB │
│ │ │ liblzma ┆ 5.8.1 ┆ hb9d3cd8_2 ┆ conda-forge ┆ 110.25 KiB │
│ │ │ libmpdec ┆ 4.0.0 ┆ hb9d3cd8_0 ┆ conda-forge ┆ 89.05 KiB │
│ │ │ libsqlite ┆ 3.51.0 ┆ hee844dc_0 ┆ conda-forge ┆ 923.41 KiB │
│ │ │ libstdcxx ┆ 15.2.0 ┆ h8f9b012_7 ┆ conda-forge ┆ 3.72 MiB │
│ │ │ libstdcxx-ng ┆ 15.2.0 ┆ h4852527_7 ┆ conda-forge ┆ 28.66 KiB │
│ │ │ libuuid ┆ 2.41.2 ┆ he9a06e4_0 ┆ conda-forge ┆ 36.26 KiB │
│ │ │ libzlib ┆ 1.3.1 ┆ hb9d3cd8_2 ┆ conda-forge ┆ 59.53 KiB │
│ │ │ ncurses ┆ 6.5 ┆ h2d0b736_3 ┆ conda-forge ┆ 870.74 KiB │
│ │ │ openssl ┆ 3.5.4 ┆ h26f9b46_0 ┆ conda-forge ┆ 2.98 MiB │
│ │ │ pip ┆ 25.2 ┆ pyh145f28c_0 ┆ conda-forge ┆ 1.13 MiB │
│ │ │ python ┆ 3.14.0 ┆ h32b2ec7_102_cp314 ┆ conda-forge ┆ 34.98 MiB │
│ │ │ python_abi ┆ 3.14 ┆ 8_cp314 ┆ conda-forge ┆ 6.83 KiB │
│ │ │ readline ┆ 8.2 ┆ h8c095d6_2 ┆ conda-forge ┆ 275.86 KiB │
│ │ │ tk ┆ 8.6.13 ┆ noxft_hd72426e_102 ┆ conda-forge ┆ 3.13 MiB │
│ │ │ tzdata ┆ 2025b ┆ h78e105d_0 ┆ conda-forge ┆ 120.09 KiB │
│ │ │ zstd ┆ 1.5.7 ┆ hb8e6e7a_2 ┆ conda-forge ┆ 554.28 KiB │
│ │ ╰──────────────────┴───────────┴────────────────────┴─────────────┴────────────╯
│ │
│ │ Finalized run dependencies (rarfile-4.2-pyh4616a5c_0):
│ │ ╭──────────────────┬────────────────────────╮
│ │ │ Name ┆ Spec │
│ │ ╞══════════════════╪════════════════════════╡
│ │ │ Run dependencies ┆ │
│ │ │ python ┆ │
│ │ │ python ┆ (RE of [host: python]) │
│ │ ╰──────────────────┴────────────────────────╯
│ │
│ ╰─────────────────── (took 3 seconds)
│ Installing build environment
│ ✔ Successfully updated the build environment
│ Installing host environment
│ ✔ Successfully updated the host environment
│ ╭─ Running build script
│ │ Using pip 25.2 from $PREFIX/lib/python3.14/site-packages/pip (python 3.14)
│ │ Non-user install because user site-packages disabled
│ │ Ignoring indexes: https://pypi.org/simple
│ │ Created temporary directory: /tmp/pip-build-tracker-__cvacza
│ │ Initialized build tracking at /tmp/pip-build-tracker-__cvacza
│ │ Created build tracker: /tmp/pip-build-tracker-__cvacza
│ │ Entered build tracker: /tmp/pip-build-tracker-__cvacza
│ │ Created temporary directory: /tmp/pip-install-d9dt_4_o
│ │ Created temporary directory: /tmp/pip-ephem-wheel-cache-d88fwndj
│ │ Processing $SRC_DIR
│ │ Added file://$SRC_DIR to build tracker '/tmp/pip-build-tracker-__cvacza'
│ │ Created temporary directory: /tmp/pip-modern-metadata-066x6z0q
│ │ Preparing metadata (pyproject.toml): started
│ │ Running command Preparing metadata (pyproject.toml)
│ │ Preparing metadata (pyproject.toml): finished with status 'done'
│ │ ERROR: Exception:
│ │ Traceback (most recent call last):
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper
│ │ status = _inner_run()
│ │ Removed file://$SRC_DIR from build tracker '/tmp/pip-build-tracker-__cvacza'
│ │ Removed build tracker: '/tmp/pip-build-tracker-__cvacza'
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run
│ │ return self.run(options, args)
│ │ ~~~~~~~~^^^^^^^^^^^^^^^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper
│ │ return func(self, options, args)
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/commands/install.py", line 393, in run
│ │ requirement_set = resolver.resolve(
│ │ reqs, check_supported_wheels=not options.target_dir
│ │ )
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 79, in resolve
│ │ collected = self.factory.collect_root_requirements(root_reqs)
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 538, in collect_root_requirements
│ │ reqs = list(
│ │ self._make_requirements_from_install_req(
│ │ ...<2 lines>...
│ │ )
│ │ )
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 494, in _make_requirements_from_insta
│ │ ll_req
│ │ cand = self._make_base_candidate_from_link(
│ │ ireq.link,
│ │ ...<2 lines>...
│ │ version=None,
│ │ )
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 226, in _make_base_candidate_from_lin
│ │ k
│ │ self._link_candidate_cache[link] = LinkCandidate(
│ │ ~~~~~~~~~~~~~^
│ │ link,
│ │ ^^^^^
│ │ ...<3 lines>...
│ │ version=version,
│ │ ^^^^^^^^^^^^^^^^
│ │ )
│ │ ^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 309, in __init__
│ │ super().__init__(
│ │ ~~~~~~~~~~~~~~~~^
│ │ link=link,
│ │ ^^^^^^^^^^
│ │ ...<4 lines>...
│ │ version=version,
│ │ ^^^^^^^^^^^^^^^^
│ │ )
│ │ ^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
│ │ self.dist = self._prepare()
│ │ ~~~~~~~~~~~~~^^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 239, in _prepare
│ │ dist = self._prepare_distribution()
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 320, in _prepare_distribution
│ │ return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
│ │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/operations/prepare.py", line 537, in prepare_linked_requirement
│ │ return self._prepare_linked_requirement(req, parallel_builds)
│ │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/operations/prepare.py", line 652, in _prepare_linked_requirement
│ │ dist = _get_prepared_distribution(
│ │ req,
│ │ ...<3 lines>...
│ │ self.check_build_deps,
│ │ )
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/operations/prepare.py", line 77, in _get_prepared_distribution
│ │ abstract_dist.prepare_distribution_metadata(
│ │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
│ │ build_env_installer, build_isolation, check_build_deps
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ )
│ │ ^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/distributions/sdist.py", line 72, in prepare_distribution_metadata
│ │ self.req.prepare_metadata()
│ │ ~~~~~~~~~~~~~~~~~~~~~~~~~^^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/req/req_install.py", line 578, in prepare_metadata
│ │ self.metadata_directory = generate_metadata(
│ │ ~~~~~~~~~~~~~~~~~^
│ │ build_env=self.build_env,
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ backend=self.pep517_backend,
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ details=details,
│ │ ^^^^^^^^^^^^^^^^
│ │ )
│ │ ^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/operations/build/metadata.py", line 34, in generate_metadata
│ │ distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir)
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_internal/utils/misc.py", line 715, in prepare_metadata_for_build_wheel
│ │ return super().prepare_metadata_for_build_wheel(
│ │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
│ │ metadata_directory=metadata_directory,
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ config_settings=cs,
│ │ ^^^^^^^^^^^^^^^^^^^
│ │ _allow_fallback=_allow_fallback,
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ )
│ │ ^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 224, in prepare_metadata_for_build_wheel
│ │ return self._call_hook(
│ │ ~~~~~~~~~~~~~~~^
│ │ "prepare_metadata_for_build_wheel",
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ ...<4 lines>...
│ │ },
│ │ ^^
│ │ )
│ │ ^
│ │ File "$PREFIX/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 402, in _call_hook
│ │ raise BackendUnavailable(
│ │ ...<4 lines>...
│ │ )
│ │ pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
│ │
│ │ × error Script failed with status 2
│ │ × error
│ │ × error Script execution failed.
│ │ × error
│ │ × error Work directory: /home/shalok/Projects/conda/rarfile-feedstock/recipe/output/bld/rattler-build_rarfile_1762375449/work
│ │ × error Prefix: /home/shalok/Projects/conda/rarfile-feedstock/recipe/output/bld/rattler-build_rarfile_1762375449/host_env_placehold_pla
│ │ × error cehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl
│ │ × error acehold
│ │ × error Build prefix: /home/shalok/Projects/conda/rarfile-feedstock/recipe/output/bld/rattler-build_rarfile_1762375449/build_env
│ │ × error
│ │ × error To run the script manually, use the following command:
│ │ × error
│ │ × error cd "/home/shalok/Projects/conda/rarfile-feedstock/recipe/output/bld/rattler-build_rarfile_1762375449/work" && ./conda_build.sh
│ │ × error
│ │ × error To run commands interactively in the build environment:
│ │ × error
│ │ × error cd "/home/shalok/Projects/conda/rarfile-feedstock/recipe/output/bld/rattler-build_rarfile_1762375449/work" && source build_env.
│ │ × error sh
│ │
│ ╰─────────────────── (took 4 seconds)
╰─────────────────── (took 9 seconds)
Error: × Script failed to execute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment