🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #1675

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

#1675
From: Santiago Vila
Date: Sun, 25 Oct 2026 18:10
28 lines
3492 bytes
> > You have a dangling symlink.
> 
> Since you have this information at hand would you mind sharing which one it
> is. It would save me some time :)

Here is a way to see the dangling symlinks:

Modify /usr/share/dh-python/dhpython/fs.py so that it reads like this:

        if not options.allow_unmerged_dist_packages:
            remaining_files = "\n".join(
                sorted(str(file) for file in Path(srcdir).rglob("*") if file.is_file() or file.is_symlink())
            )
            log.info("Remaining files: %s", remaining_files)
            raise SystemExit(1)

where we have changed "file.is_file()" to "file.is_file() or file.is_symlink()".

If you build the package after such change, you will see this message:

I: dh_python3 fs:179: Remaining files: debian/python3-med/usr/lib/python3.15/site-packages/med/_medenum.so.0
debian/python3-med/usr/lib/python3.15/site-packages/med/_medfamily.so.0
debian/python3-med/usr/lib/python3.15/site-packages/med/_medfield.so.0
debian/python3-med/usr/lib/python3.15/site-packages/med/_medinterp.so.0
debian/python3-med/usr/lib/python3.15/site-packages/med/_medlocalization.so.0
debian/python3-med/usr/lib/python3.15/site-packages/med/_medparameter.so.0

Thanks.
Technical Details
Message-ID: <NSaPr-7PzO-143@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-149@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.rc
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 19:10:05 +0100
Message-ID: <NSaPr-7PzO-143@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-149@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sun Oct 25 18:07:08 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
X-Debian-User: sanvila
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835976
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 28
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 17:47:13 +0100
X-Original-Message-ID: <at4ykbUZD1N37sI9@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> <66faa219-cff7-41f1-9ba3-33c9582b69ed@debian.org>