Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Margarita Manterola
Sun, 25 Oct 2026 18:10
Bug#1152048: pysvn: FTBFS with latest dh-python (two different top_level.txt files)
Author: Margarita Manterola
Date: Sun, 25 Oct 2026 18:10
Date: Sun, 25 Oct 2026 18:10
56 lines
3998 bytes
3998 bytes
Package: src:pysvn Version: 1.9.25-1 User: debian-python@lists.debian.org Usertags: python3.15 Tags: ftbfs, forky, sid Severity: serious Hi! While rebuilding the python related packages for the Python 3.15 transition, we found that pysvn fails to build from source: https://debusine.debian.net/debian/r-python-python3.15/artifact/5165532/ From the log, the error seems to be: I: dh_python3 fs:543: renaming _pysvn.so to _pysvn.cpython-314-x86_64-linux-gnu.so I: dh_python3 fs:543: renaming _pysvn_3_14.so to _pysvn_3_14.cpython-314-x86_64-linux-gnu.so I: dh_python3 fs:543: renaming _pysvn_3_15.so to _pysvn_3_15.cpython-315-x86_64-linux-gnu.so I: dh_python3 fs:543: renaming _pysvn.so to _pysvn.cpython-315-x86_64-linux-gnu.so W: dh_python3 fs:156: Paths differ: debian/python3-svn/usr/lib/python3.15/dist-packages/pysvn-1.9.25.egg-info/top_level.txt and debian/python3-svn/usr/lib/python3/dist-packages/pysvn-1.9.25.egg-info/top_level.txt E: dh_python3 fs:172: Not everything in 'debian/python3-svn/usr/lib/python3.15/dist-packages/pysvn-1.9.25.egg-info' was able to be merged into 'debian/python3-svn/usr/lib/python3/dist-packages/pysvn-1.9.25.egg-info'. I: dh_python3 fs:179: Remaining files: debian/python3-svn/usr/lib/python3.15/dist-packages/pysvn-1.9.25.egg-info/top_level.txt make: *** [debian/rules:15: binary-arch] Error 1 This is caused by the new dh-python version that fails with an error when the top_level.txt files don't match for different Python versions. In the case of pysvn, this is because the top_level.txt files include the python version in the name of the package, i.e. '_pysvn_3_14' rather than just 'pysvn'. This is visible in the package that is available in unstable. I also noticed that the package in unstable is installing the .so library twice: /usr/lib/python3/dist-packages/pysvn/_pysvn.cpython-314-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/pysvn/_pysvn_3_14.cpython-314-x86_64-linux-gnu.so I spent a couple of hours trying to figure out the right fix for this, but it seems more complex than other packages with similar failures. -- Regards, Marga
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads