Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2022 14:54:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262502] graphics/libjxl doesn't build (python version problem)
Message-ID:  <bug-262502-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262502

            Bug ID: 262502
           Summary: graphics/libjxl doesn't build (python version problem)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: laurent@daverio.net
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Trying to install from source fails (see partial traceback below) because it
can't find Python 3.10 module "asciidoc".

Package "asciidoc" is install on my system, as a Python 3.8 module (the def=
ault
version on FreeBSD).

Build would probably succeed if I removed Python 3.9 + 3.10 from my system.=
 I
think the Makefile doesn't determine the default version of Python correctl=
y.

---

FAILED: djxl.1 /usr/ports/graphics/libjxl/work/.build/djxl.1=20
cd /usr/ports/graphics/libjxl/work/.build && /usr/local/bin/python3.10
/usr/local/bin/a2x --format manpage
--destination-dir=3D"/usr/ports/graphics/libjxl/work/.build"
/usr/ports/graphics/libjxl/work/libjxl-0.6.1/doc/man/djxl.txt
Traceback (most recent call last):
  File "/usr/local/bin/a2x", line 33, in <module>
    sys.exit(load_entry_point('asciidoc=3D=3D10.1.3', 'console_scripts', 'a=
2x')())
  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.10/importlib/metadata/__init__.py", line 928=
, in
distribution
    return Distribution.from_name(distribution_name)
  File "/usr/local/lib/python3.10/importlib/metadata/__init__.py", line 518=
, in
from_name
    raise PackageNotFoundError(name)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262502-7788>