Re: FreeBSD Port: libjxl-0.6.1_5 error build
- In reply to: Jan Beich : "Re: FreeBSD Port: libjxl-0.6.1_5 error build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Feb 2022 03:10:28 UTC
22.02.2022 22:45, Jan Beich пишет: > "Alex V. Petrov" <alexvpetrov@gmail.com> writes: >> FAILED: cjxl.1 /usr/ports/graphics/libjxl/work/.build/cjxl.1 >> cd /usr/ports/graphics/libjxl/work/.build && /usr/local/bin/python3.9 >> /usr/local/bin/a2x --format manpage >> --destination-dir="/usr/ports/graphics/libjxl/work/.build" >> /usr/ports/graphics/libjxl/work/libjxl-0.6.1/doc/man/cjxl.txt >> Traceback (most recent call last): >> File "/usr/local/bin/a2x", line 33, in <module> >> sys.exit(load_entry_point('asciidoc==10.1.1', 'console_scripts', >> 'a2x')()) >> File "/usr/local/bin/a2x", line 22, in importlib_load_entry_point >> for entry_point in distribution(dist_name).entry_points >> File "/usr/local/lib/python3.9/importlib/metadata.py", line 524, in >> distribution >> return Distribution.from_name(distribution_name) >> File "/usr/local/lib/python3.9/importlib/metadata.py", line 187, in >> from_name >> raise PackageNotFoundError(name) >> importlib.metadata.PackageNotFoundError: asciidoc >> ninja: build stopped: subcommand failed. >> *** Error code 1 > Does https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109 help? > > /usr/local/bin/a2x is part of textproc/asciidoc and not flavored, > so only supports one pythonX.Y at a time in order to find matching > /usr/local/lib/pythonX.Y/site-packages/asciidoc . Actual pythonX.Y > can be selected via DEFAULT_VERSIONS += python=X.Y python3=X.Y I resolved it by temporally removing python39. -- ----- Alex.