Tags: patch The attached patch fixes the issue.
The problem is that libjs-jquery doesn't contain files relevant here anymore and uses symlinks itself instead. Which dh_linktree doesn't seem support. Switching to node-jquery and the relevant path fixes the build error
Index: python-pyaudio-0.2.11/debian/control =================================================================== --- python-pyaudio-0.2.11.orig/debian/control +++ python-pyaudio-0.2.11/debian/control @@ -2,7 +2,7 @@ Source: python-pyaudio Section: python Priority: optional Standards-Version: 3.9.8 -Build-Depends: python3-all-dev, debhelper(>= 9), portaudio19-dev, python3-sphinx, dh-linktree, dh-python, libjs-jquery, libjs-underscore +Build-Depends: python3-all-dev, debhelper(>= 9), portaudio19-dev, python3-sphinx, dh-linktree, dh-python, node-jquery, libjs-underscore Maintainer: Hubert Pham <hub...@mit.edu> Uploaders: Felipe Sateler <fsate...@debian.org>, Justin Mazzola Paluska <j...@mit.edu> Homepage: https://people.csail.mit.edu/hubert/pyaudio/ Index: python-pyaudio-0.2.11/debian/python-pyaudio-doc.linktrees =================================================================== --- python-pyaudio-0.2.11.orig/debian/python-pyaudio-doc.linktrees +++ python-pyaudio-0.2.11/debian/python-pyaudio-doc.linktrees @@ -1,3 +1,3 @@ -replace usr/share/javascript/jquery usr/share/doc/python-pyaudio-doc/docs/_static +replace usr/share/nodejs/jquery/dist usr/share/doc/python-pyaudio-doc/docs/_static replace usr/share/javascript/underscore usr/share/doc/python-pyaudio-doc/docs/_static