Skip to content

Instantly share code, notes, and snippets.

@ormaaj
Created July 19, 2022 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ormaaj/640746c0c8f8e9e8336b80a85a878d07 to your computer and use it in GitHub Desktop.
Save ormaaj/640746c0c8f8e9e8336b80a85a878d07 to your computer and use it in GitHub Desktop.
In _hash_filter._apply_hash_filter()
(ins)root@ormaaj-laptop (3852812) /home/ormaaj # PATH=$(readlink -sne ~ormaaj/doc/programs/portage/bin):${PATH##+(:)} PYTHONPATH=$(readlink -sne ~ormaaj/doc/programs/portage/lib):${PYTHONPATH##+(:)} NOLTO= NOGRAPHITE= NOGRAPHITE2= emerge -j 1 -bav dev-lang/python
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/python [3.11.0_beta4-r2:3.11::gentoo] USE="bluetooth examples gdbm ncurses readline sqlite ssl -build -hardened -libedit -lto -pgo -test -tk -verify-sig -wininst" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-lang/python-3.11.0_beta4-r2
>>> Emerging (1 of 1) dev-lang/python-3.11.0_beta4-r2::gentoo
Exception in callback _EbuildFetcherProcess.async_already_fetched.<locals>.uri_map_done(<Future finis....tar.xz',))])>) at /home/ormaaj/doc/programs/portage/lib/_emerge/EbuildFetcher.py:120
handle: <Handle _EbuildFetcherProcess.async_already_fetched.<locals>.uri_map_done(<Future finis....tar.xz',))])>) at /home/ormaaj/doc/programs/portage/lib/_emerge/EbuildFetcher.py:120>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/ormaaj/doc/programs/portage/lib/_emerge/EbuildFetcher.py", line 132, in uri_map_done
result.set_result(self._check_already_fetched(settings, uri_map))
File "/home/ormaaj/doc/programs/portage/lib/_emerge/EbuildFetcher.py", line 186, in _check_already_fetched
ok, st = _check_distfile(
File "/home/ormaaj/doc/programs/portage/lib/portage/package/ebuild/fetch.py", line 372, in _check_distfile
digests = _apply_hash_filter(digests, hash_filter)
File "/home/ormaaj/doc/programs/portage/lib/portage/checksum.py", line 447, in _apply_hash_filter
verifiable_hash_types.discard("size")
AttributeError: 'frozenset' object has no attribute 'discard'
Terminated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment