[Bug 270135] x11-fonts/py-cffsubr: Cannot find the embedded tx command
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Mar 2023 06:18:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270135 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 [2/2] Generating src/cantarell-variable-font with a custom command FAILED: src/Cantarell-VF.otf /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 185, in subroutinize compressed_cff_data = _tx_subroutinize(otf_data, output_format) File "/usr/local/lib/python3.9/site-packages/cffsubr/__init__.py", line 108, in _tx_subroutinize result = _run_embedded_tx(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/cffsubr/__init__.py", line 63, 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 = 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? -- You are receiving this mail because: You are the assignee for the bug.