🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2101

Bug#1151974: med-fichier: FTBFS: E: dh_python3 fs:172: Not everything in 'debian/python3-med/usr/lib/python3.15/site-packages/me...

#2101
From: Santiago Vila
Date: Sun, 25 Oct 2026 19:00
38 lines
4240 bytes
On Sun, Oct 25, 2026 at 07:12:11PM +0100, Gilles Filippini wrote:

> But how I see it, this is a bug in dh-python which handles removing /
> renaming shared libraries from the
> 'debian/python3-med/usr/lib/python3.15/site-packages/med/' folder.
> 
> The fact that it doesn't know what to do with symlinks such as
> '_medfield.so.0 -> _medfield.so.0.0.0' is not the fault of med-fichier or
> the way it is built.
> 
> The med-fichier build was fine before the upload of dh-python 7.20261019.
> 
> What do you think?

Lots of things break all the time (think about switching from gcc-14
to gcc-15, for example), and it does not mean they were "correct"
before, it just means that the new tools are more strict in what they
accept.

In this case, I would try adding `-avoid-version` to `_*_la_LDFLAGS`
and see if the problem disappears.

(Sorry, I'm not an expert on these low level things, if you are still
in doubt, I guess you could try filing a normal bug against dh-python
and most probably the author will explain why this happens).

BTW: This is what my AI assistant tells me, but of course the usual caveats apply:

  The `.so.0` -> `.so.0.0.0` symlinks aren't a supported Python layout — they're
  libtool artefacts from linking the wrappers with `-module` but *without*
  `-avoid-version` (`python/Makefile.am` even still has the line
  `# _medlibrary_la_LDFLAGS = -avoid-version -module` commented out).

  Python only ever imports the unversioned `_medfield.so`; nothing in Python or
  dh-python promises to preserve versioned extension modules. So dh-python
  7.20261019 didn't break a correct install, it exposed a fragile one.

Thanks.
Technical Details
Message-ID: <NSbBL-7PXb-9@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!robomod
References: <NSaPp-7PzO-85@gated-at.bofh.it> <NSaPr-7PzO-145@gated-at.bofh.it> <NSaPr-7PzO-147@gated-at.bofh.it> <NSaPr-7PzO-149@gated-at.bofh.it> <NSaPp-7PzO-85@gated-at.bofh.it> <NSaPr-7PzO-143@gated-at.bofh.it> <NSaZ5-7PIx-69@gated-at.bofh.it> <NSaPp-7PzO-85@gated-at.bofh.it> <NSaZ5-7PIx-69@gated-at.bofh.it>

Show 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: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151974: med-fichier: FTBFS: E: dh_python3 fs:172: Not everything in 'debian/python3-med/usr/lib/python3.15/site-packages/med' was able to be merged into 'debian/python3-med/usr/lib/python3/dist-packages/med'.
Date: Sun, 25 Oct 2026 20:00:01 +0100
Message-ID: <NSbBL-7PXb-9@gated-at.bofh.it>
References: <NSaPp-7PzO-85@gated-at.bofh.it> <NSaPr-7PzO-145@gated-at.bofh.it> <NSaPr-7PzO-147@gated-at.bofh.it> <NSaPr-7PzO-149@gated-at.bofh.it> <NSaPp-7PzO-85@gated-at.bofh.it> <NSaPr-7PzO-143@gated-at.bofh.it> <NSaZ5-7PIx-69@gated-at.bofh.it> <NSaPp-7PzO-85@gated-at.bofh.it> <NSaZ5-7PIx-69@gated-at.bofh.it>
X-Original-To: Gilles Filippini <pini@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 25 18:57:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1151974@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1151974
X-Debian-Pr-Package: src:med-fichier
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: med-fichier
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: sanvila
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998820
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 38
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1151974@bugs.debian.org
X-Original-Date: Sun, 25 Oct 2026 19:55:54 +0100
X-Original-Message-ID: <at5QuoYZgcl7BlMF@nuc>
X-Original-References: <E1xKw0k-006kQE-2R@paradis.debian.org> <5f8d94a1-84a7-4442-9c76-b48a4d10a07a@debian.org> <5d55f2dd-0415-4e7a-8156-5d9a212fa2a7@unex.es> <66faa219-cff7-41f1-9ba3-33c9582b69ed@debian.org> <E1xKw0k-006kQE-2R@paradis.debian.org> <at4ykbUZD1N37sI9@nuc> <4e1d29f0-71ee-47fc-8e84-8c390f7c9aed@debian.org> <E1xKw0k-006kQE-2R@paradis.debian.org> <4e1d29f0-71ee-47fc-8e84-8c390f7c9aed@debian.org>