Date: Sun, 12 Mar 2023 06:18:15 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270135] x11-fonts/py-cffsubr: Cannot find the embedded tx command Message-ID: <bug-270135-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270135 Bug ID: 270135 Summary: x11-fonts/py-cffsubr: Cannot find the embedded tx command Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: lantw44@gmail.com Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) I was trying to update my font-related ports in order to build the latest cantarell-fonts, but it failed due to missing /usr/local/lib/python3.9/site-packages/cffsubr/tx command. $ ninja -j4=20 [2/2] Generating src/cantarell-variable-font with a custom command FAILED: src/Cantarell-VF.otf=20 /usr/local/bin/python3 /home/lantw44/gnome/source/cantarell-fonts/scripts/make-variable-font.py ../../source/cantarell-fonts/src/Cantarell.designspace /home/lantw44/gnome/source/cantarell-fonts/src/Cantarell.stylespace /usr/local/bin/psautohint src/Cantarell-VF.otf Traceback (most recent call last): File "/home/lantw44/gnome/source/cantarell-fonts/scripts/make-variable-font.py", line 64, in <module> cffsubr.subroutinize(varfont).save(output_path) File "/usr/local/lib/python3.9/site-packages/cffsubr/__init__.py", line 1= 85, in subroutinize compressed_cff_data =3D _tx_subroutinize(otf_data, output_format) File "/usr/local/lib/python3.9/site-packages/cffsubr/__init__.py", line 1= 08, in _tx_subroutinize result =3D _run_embedded_tx(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/cffsubr/__init__.py", line 6= 3, in _run_embedded_tx with path(__name__, TX_EXE) as tx_cli: File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__ return next(self.gen) File "/usr/local/lib/python3.9/importlib/resources.py", line 175, in _path_from_reader opener_reader =3D reader.open_resource(norm_resource) File "<frozen importlib._bootstrap_external>", line 1055, in open_resource FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/cffsubr/tx' ninja: build stopped: subcommand failed. It seems x11-fonts/afdko already installs a tx command. Can we ask x11-fonts/py-cffsubr to use it instead of the embedded one? --=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-270135-7788>