Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2022 16:45:21 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: libjxl-0.6.1_5 error build
Message-ID:  <r17u-zyzy-wny@FreeBSD.org>
In-Reply-To: <e3a7a6a0-0bf7-6002-2ee2-4817952304e5@gmail.com> (Alex V. Petrov's message of "Tue, 22 Feb 2022 20:28:23 %2B0700")
References:  <e3a7a6a0-0bf7-6002-2ee2-4817952304e5@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?r17u-zyzy-wny>