Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2022 10:10:28 +0700
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        Jan Beich <jbeich@FreeBSD.org>, "Alex V. Petrov" <alexvpetrov@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: libjxl-0.6.1_5 error build
Message-ID:  <68785d0e-dd49-65f4-2254-79b9be432a14@gmail.com>
In-Reply-To: <r17u-zyzy-wny@FreeBSD.org>
References:  <e3a7a6a0-0bf7-6002-2ee2-4817952304e5@gmail.com> <r17u-zyzy-wny@FreeBSD.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68785d0e-dd49-65f4-2254-79b9be432a14>