Article View: linux.debian.bugs.rc
Article #1666Bug#1152048: pysvn: FTBFS with latest dh-python (two different top_level.txt files)
From: 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
Technical Details
Message-ID:
<NSaPp-7PzO-73@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Margarita Manterola <marga@marga.com.ar> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152048: pysvn: FTBFS with latest dh-python (two different top_level.txt files) Date: Sun, 25 Oct 2026 19:10:03 +0100 Message-ID: <NSaPp-7PzO-73@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sun Oct 25 18:05:55 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Margarita Manterola <marga@marga.com.ar>, 1152048@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: report 1152048 X-Debian-Pr-Package: src:pysvn X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: pysvn Authentication-Results: nefele.gnuservers.com.ar; dmarc=fail (p=quarantine dis=none) header.from=marga.com.ar Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835964 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Oct 2026 18:30:42 +0100 X-Original-Message-ID: <at48wogHwLtrs0sY@localhost>