You are not logged in.
Hello everyone,
This is my first post on the Arch Linux forums, so I hope I'm providing all the necessary information.
I'm trying to install the python-manimgl package from the AUR using yay. The installation fails because one of its dependency, python-manimpango, cannot be built.
After reviewing the build log, the key error seems to be a missing dependency for python-manimpango:
ERROR Missing dependencies:
Cython<3.1,>=3.0.2
It appears to require a specific version range of Cython. My system is fully up-to-date and uses Python 3.13. I'm not sure if this is an issue with the PKGBUILD needing an update for newer dependencies, or if there is something I need to do on my system.
Here is the full terminal output from the command LANG=C yay -S python-manimgl:
christophe@cesium ~ % LANG=C yay -S python-manimgl
AUR Dependency (1): python-manimpango-0.6.0-2
AUR Explicit (1): python-manimgl-1.7.2-1
:: PKGBUILD up to date, skipping download: python-manimgl
:: PKGBUILD up to date, skipping download: python-manimpango
2 python-manimgl (Build Files Exist)
1 python-manimpango (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/2): /home/christophe/.cache/yay/python-manimgl
HEAD is now at 03efb71 1.7.2
Removing src/
Removing v1.7.2.tar.gz
:: Deleting (2/2): /home/christophe/.cache/yay/python-manimpango
HEAD is now at 7657249 Simplify check function
warning: could not open directory 'pkg/': Permission denied
Removing manimpango-0.6.0.tar.gz
Removing pkg/
Removing src/
2 python-manimgl (Build Files Exist)
1 python-manimpango (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: python-manimpango 0.6.0-2 (Sat Jun 7 11:42:15 2025)
==> Retrieving sources...
-> Downloading manimpango-0.6.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3985k 100 3985k 0 0 4640k 0 --:--:-- --:--:-- --:--:-- 10.2M
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
manimpango-0.6.0.tar.gz ... Passed
==> Making package: python-manimgl 1.7.2-1 (Sat Jun 7 11:42:16 2025)
==> Retrieving sources...
-> Downloading v1.7.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1020k 0 1020k 0 0 1703k 0 --:--:-- --:--:-- --:--:-- 3655k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
v1.7.2.tar.gz ... Passed
:: (1/2) Parsing SRCINFO: python-manimgl
:: (2/2) Parsing SRCINFO: python-manimpango
==> Making package: python-manimpango 0.6.0-2 (Sat Jun 7 11:42:17 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found manimpango-0.6.0.tar.gz
==> Validating source files with sha512sums...
manimpango-0.6.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting manimpango-0.6.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-manimpango 0.6.0-2 (Sat Jun 7 11:42:18 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
* Getting build dependencies for wheel...
Compiling /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/cmanimpango.pyx because it changed.
Compiling /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/enums.pyx because it changed.
Compiling /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/_register_font.pyx because it changed.
[1/3] Cythonizing /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/_register_font.pyx
warning: manimpango/_register_font.pxd:23:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: manimpango/_register_font.pyx:47:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: manimpango/_register_font.pxd:23:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[2/3] Cythonizing /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/cmanimpango.pyx
warning: manimpango/_register_font.pxd:23:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[3/3] Cythonizing /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/enums.pyx
/usr/lib/python3.13/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern.
!!
********************************************************************************
Pattern 'LICENSE.*' did not match any files.
By 2026-Mar-20, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!
for path in sorted(cls._find_pattern(pattern, enforce_match))
/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running egg_info
/usr/lib/python3.13/site-packages/pbr/git.py:28: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
writing ManimPango.egg-info/PKG-INFO
writing dependency_links to ManimPango.egg-info/dependency_links.txt
writing top-level names to ManimPango.egg-info/top_level.txt
dependency /usr/include/cairo/cairo-svg.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/glib-2.0/glib.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/pango-1.0/pango/pangocairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo-svg.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/glib-2.0/glib.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/pango-1.0/pango/pangocairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo-svg.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/glib-2.0/glib.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/pango-1.0/pango/pangocairo.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'ManimPango.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching '*env*'
adding license file 'LICENSE'
writing manifest file 'ManimPango.egg-info/SOURCES.txt'
ERROR Missing dependencies:
Cython<3.1,>=3.0.2
==> ERROR: A failure occurred in build().
Aborting...
-> Failed to install layer, rolling up to next layer.error:error making: python-manimpango - exit status 4
==> Making package: python-manimpango 0.6.0-2 (Sat Jun 7 11:42:20 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found manimpango-0.6.0.tar.gz
==> Validating source files with sha512sums...
manimpango-0.6.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting manimpango-0.6.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-manimpango 0.6.0-2 (Sat Jun 7 11:42:21 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting build dependencies for wheel...
Compiling /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/cmanimpango.pyx because it changed.
Compiling /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/enums.pyx because it changed.
Compiling /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/_register_font.pyx because it changed.
[1/3] Cythonizing /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/_register_font.pyx
warning: manimpango/_register_font.pxd:23:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: manimpango/_register_font.pyx:47:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: manimpango/_register_font.pxd:23:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[2/3] Cythonizing /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/cmanimpango.pyx
warning: manimpango/_register_font.pxd:23:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[3/3] Cythonizing /home/christophe/.cache/yay/python-manimpango/src/manimpango-0.6.0/manimpango/enums.pyx
/usr/lib/python3.13/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern.
!!
********************************************************************************
Pattern 'LICENSE.*' did not match any files.
By 2026-Mar-20, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!
for path in sorted(cls._find_pattern(pattern, enforce_match))
/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running egg_info
/usr/lib/python3.13/site-packages/pbr/git.py:28: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
writing ManimPango.egg-info/PKG-INFO
writing dependency_links to ManimPango.egg-info/dependency_links.txt
writing top-level names to ManimPango.egg-info/top_level.txt
dependency /usr/include/cairo/cairo-svg.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/glib-2.0/glib.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/pango-1.0/pango/pangocairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo-svg.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/glib-2.0/glib.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/pango-1.0/pango/pangocairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo-svg.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/cairo/cairo.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/glib-2.0/glib.h won't be automatically included in the manifest: the path must be relative
dependency /usr/include/pango-1.0/pango/pangocairo.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'ManimPango.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching '*env*'
adding license file 'LICENSE'
writing manifest file 'ManimPango.egg-info/SOURCES.txt'
ERROR Missing dependencies:
Cython<3.1,>=3.0.2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: python-manimpango-exit status 4
==> Making package: python-manimgl 1.7.2-1 (Sat Jun 7 11:42:23 2025)
==> Checking runtime dependencies...
==> Missing dependencies:
-> python-manimpango>=0.6.0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: python-manimgl-exit status 8
-> Failed to install the following packages. Manual intervention is required:
python-manimpango - exit status 4
python-manimgl - exit status 8
Could anyone provide some guidance on how to resolve this dependency issue?
Thank you in advance for your help!
Last edited by xps-arch (2025-06-07 15:04:44)
Offline
Remove the upper bound on Cython from python-manimpango's pyproject.toml:
prepare() {
sed -i 's/,<3.1//' $_name-$pkgver/pyproject.toml
}
Offline
Works like a charm. Thanks.
Offline