FreeBSD Port: libjxl-0.6.1_5 error build

From: Alex V. Petrov <alexvpetrov_at_gmail.com>
Date: Tue, 22 Feb 2022 13:28:23 UTC
-- Build files have been written to: /usr/ports/graphics/libjxl/work/.build
===>  Building for libjxl-0.6.1_5
[  0% 1/203] /usr/bin/c++ -D__DATE__=\"redacted\" 
-D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" 
-I/usr/ports/graphics/libjxl/work/libjxl-0.6.1/lib/include 
-I/usr/ports/graphics/libjxl/work/.build/lib/include -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -isystem /usr/local/include -funwind-tables 
-Xclang -mrelax-all -Xclang -mconstructor-aliases 
-fno-omit-frame-pointer -O2 -pipe -fstack-protector-strong -isystem 
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 
-flto=thin -fPIE -Wno-builtin-macro-redefined -Wall -pthread -std=c++11 
-MD -MT CMakeFiles/decode_oneshot.dir/examples/decode_oneshot.cc.o -MF 
CMakeFiles/decode_oneshot.dir/examples/decode_oneshot.cc.o.d -o 
CMakeFiles/decode_oneshot.dir/examples/decode_oneshot.cc.o -c 
/usr/ports/graphics/libjxl/work/libjxl-0.6.1/examples/decode_oneshot.cc
[  0% 2/203] /usr/bin/c++ -D__DATE__=\"redacted\" 
-D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" 
-I/usr/ports/graphics/libjxl/work/libjxl-0.6.1/lib/include 
-I/usr/ports/graphics/libjxl/work/.build/lib/include -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -isystem /usr/local/include -funwind-tables 
-Xclang -mrelax-all -Xclang -mconstructor-aliases 
-fno-omit-frame-pointer -O2 -pipe -fstack-protector-strong -isystem 
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 
-flto=thin -fPIE -Wno-builtin-macro-redefined -Wall -pthread -std=c++11 
-MD -MT CMakeFiles/encode_oneshot.dir/examples/encode_oneshot.cc.o -MF 
CMakeFiles/encode_oneshot.dir/examples/encode_oneshot.cc.o.d -o 
CMakeFiles/encode_oneshot.dir/examples/encode_oneshot.cc.o -c 
/usr/ports/graphics/libjxl/work/libjxl-0.6.1/examples/encode_oneshot.cc
[  1% 3/203] /usr/bin/cc -D__DATE__=\"redacted\" 
-D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" 
-I/usr/ports/graphics/libjxl/work/libjxl-0.6.1/lib/include 
-I/usr/ports/graphics/libjxl/work/.build/lib/include -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -isystem 
/usr/local/include -fno-strict-aliasing -flto=thin -fPIE 
-Wno-builtin-macro-redefined -Wall -MD -MT 
CMakeFiles/jxlinfo.dir/examples/jxlinfo.c.o -MF 
CMakeFiles/jxlinfo.dir/examples/jxlinfo.c.o.d -o 
CMakeFiles/jxlinfo.dir/examples/jxlinfo.c.o -c 
/usr/ports/graphics/libjxl/work/libjxl-0.6.1/examples/jxlinfo.c
[  1% 4/203] 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
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

Stop.
make[1]: stopped in /usr/ports/graphics/libjxl
-- 
-----
Alex.