Created attachment 253008 [details] patch to update PyAudio 0.2.14 is a new release that fixes a build issue.
(In reply to Jaap Akkerhuis from comment #0) > fixes a build issue What build issue? Just tested build on 14.1 amd64 - no errors, 1 warning: Warning: 'lib/python3.11/site-packages/pyaudio/_portaudio.cpython-311.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
It's just copy&paste from changelog…
(In reply to Vladimir Druzenko from comment #2) Yes, it's copied from the change log.
1. PORTVERSION => DISTVERSION. 2. Test runtime with patch please: post-build-DOCS-on: (cd ${BUILD_WRKSRC} && \ ${DO_MAKE_BUILD} docs) +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_portaudio.cpython-${PYTHON_VER:S/.//}.so + post-install-DOCS-on: (cd ${WRKSRC}/docs && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*")
If you agree, I'll add this changes self.
(In reply to Vladimir Druzenko from comment #5) Ah, yes please, do make these changes. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea9b5bfc7f379c8ef81a66977404aa06c66e8ff6 commit ea9b5bfc7f379c8ef81a66977404aa06c66e8ff6 Author: Jaap Akkerhuis <jaap@NLnetLabs.nl> AuthorDate: 2024-08-23 09:02:53 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-23 09:04:24 +0000 audio/py-pyaudio: Update 0.2.13 → 0.2.14 Changelog: https://people.csail.mit.edu/hubert/pyaudio/ - Replace PORTVERSION with DISTVERSION. - Add strip of installed library. PR: 280991 audio/py-pyaudio/Makefile | 5 ++++- audio/py-pyaudio/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-)
Thanks.