Noticed when building 1.4.1: ``` aarch64-unknown-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/dev-python/debugpy-1.4.1/image/usr/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so' aarch64-unknown-linux-gnu-strip: Unable to recognise the format of the input file `/var/tmp/portage/dev-python/debugpy-1.4.1/image/usr/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so' * QA Notice: Unresolved soname dependencies: * * /usr/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so: libc.so.6 libgcc_s.so.1 libstdc++.so.6 * /usr/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so: libc.so.6 libgcc_s.so.1 libstdc++.so.6 * /usr/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so: libc.so.6 libgcc_s.so.1 libstdc++.so.6 * /usr/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so: libc.so.6 libgcc_s.so.1 libstdc++.so.6 * >>> Done. >>> Installing (1 of 1) dev-python/debugpy-1.4.1::gentoo ```
debugpy seems to bundle all or part of pydevd for some reason: https://pypi.org/project/pydevd/ Will have to investigate the why of this, and what we can do about it later.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d3a7b1f7e33488fd4fe6bdcfa77af5b4de2c70 commit b8d3a7b1f7e33488fd4fe6bdcfa77af5b4de2c70 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2021-09-09 16:23:05 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2021-09-09 16:25:16 +0000 dev-python/debugpy: add version 1.4.2 No keywords until I'm sure the unbundling hack doesn't produce any unexpected side effects Bug: https://bugs.gentoo.org/812041 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> dev-python/debugpy/Manifest | 1 + dev-python/debugpy/debugpy-1.4.2.ebuild | 44 ++++++++++++ .../files/debugpy-1.4.2-unbundle-pydevd.patch | 78 ++++++++++++++++++++++ 3 files changed, 123 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ccbf9e6f729dfd229a24915bfe27ec7c9f5ecaf commit 9ccbf9e6f729dfd229a24915bfe27ec7c9f5ecaf Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2021-09-09 15:43:28 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2021-09-09 16:25:16 +0000 dev-python/pydevd: unbundle from debugpy Bug: https://bugs.gentoo.org/812041 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> dev-python/pydevd/Manifest | 1 + dev-python/pydevd/metadata.xml | 12 ++++++++ dev-python/pydevd/pydevd-2.5.0.ebuild | 53 +++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+)
This still needs some work, so far I've only succeeded in moving this problem to a separate package. Pydevd is now unbundled but we still have that prebuilt file in the source code. Will look at this again later.
(In reply to Andrew Ammerlaan from comment #3) > This still needs some work, so far I've only succeeded in moving this > problem to a separate package. Pydevd is now unbundled but we still have > that prebuilt file in the source code. Will look at this again later. Thank you!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb4db026c7bc38389f7d897498b1204d9edf98c commit 1fb4db026c7bc38389f7d897498b1204d9edf98c Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2021-09-10 13:30:15 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2021-09-10 13:35:44 +0000 dev-python/pydevd: properly recompile pre-built file Bug: https://bugs.gentoo.org/812041 Closes: https://bugs.gentoo.org/812386 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> dev-python/pydevd/pydevd-2.5.0-r1.ebuild | 80 ++++++++++++++++++++++++++++++++ dev-python/pydevd/pydevd-2.5.0.ebuild | 60 ------------------------ 2 files changed, 80 insertions(+), 60 deletions(-)