You are not logged in.
I did a
pacman -Syu yesterday, after which my rabbitvcs stopped working.
After searching for help I found this reddit link which said that I would need to rebuild my python packages. The same is also mentioned on the Arch Wiki.
So I ran
pacman -Qoq /usr/lib/python3.12and found that three packages were not upgraded: rabbitvcs, python-pysvn, and lsplug.
I tried
yay -S rabbitvcs --answercleanand it successfully upgraded rabbitvcs.
But when I tried to upgrade python-pysvn using the same command, I got the following error
Error: Cannot find PyCXX include CXX/Version.hxx - use --pycxx-dir
make: *** No rule to make target 'clean'. Stop.
make: *** No targets. Stop.
creating /home/my_user/.cache/yay/python-pysvn/src/pysvn-1.9.23/build/lib.linux-x86_64-cpython-313/pysvn
error: [Errno 2] No such file or directory: 'pysvn/__init__.py'
==> ERROR: A failure occurred in build().
Aborting...
-> error making: python-pysvn-exit status 4
-> Failed to install the following packages. Manual intervention is required:
python-pysvn - exit status 4Next, I thought I would clean up everything and install from scratch. I uninstalled all rabbitvcs, python-pysvn, rabbitvcs-nautilus using pacman.
Since I seem to hit a problem with rabbitvcs almost every time I do a system upgrade, I thought I would follow the instructions at GitHub and install rabbitvcs without pacman (yes, I know that is NOT the philosophy, but I want to avoid spending one working day getting rabbitvcs back). So I followed the instructions there.
I cloned the repository and ran
python setup.py installIt seemed to go through, but rabbitvcs is not installed because
whereis rabbitvcs does not give any response.
On looking at the console, I found some warnings:
running install
/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!So I next followed these instructions and tried
python -m pip install .and got the following error:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.
If you wish to install a non-Arch-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.So then I got back to trying the Arch package approach again, hoping that the uninstalls would help. I tried to install rabbitvcs again using yay, but the same error on python-pysvn recurs.
What exactly is the manual intervention required here for installing python-pysvn?
Thanks much for reading this far!
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Have you tried manually building it in a clean chroot?
Last edited by mackin_cheese (2025-04-24 17:32:48)
Offline
Yeah this package won't build in a clean chroot. you should be posting your findings in the comment section for the aur page of python-pysvn.
Offline
Yeah this package won't build in a clean chroot. you should be posting your findings in the comment section for the aur page of python-pysvn.
Done: https://aur.archlinux.org/packages/pyth … nt-1021131
The dependencies given on the AUR page are python37, python311 and python 310. My old version of Python is 3.12 and the new one is 3.13. Could that be the problem?
Last edited by ArchStruggler (2025-04-25 05:15:17)
Offline
I've found a solution.
It was looking for CXX/Version.hxx in /usr/include/python3.13. In this directory, there was a directory called cxx/ already. I created a symlink CXX to point to cxx, and then it went through.
Thanks to mackin_cheese for the suggestions anyway.
Offline