Bug 276685

Summary: audio/py-essentia: fix build with python 3.11
Product: Ports & Packages Reporter: Ruslan Makhmatkhanov <rm>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me CC: rm
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 275494    
Attachments:
Description Flags
waf update none

Description Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2024-01-28 18:24:16 UTC
Created attachment 248036 [details]
waf update

Bundled waf is outdated and doesn't support changes, introduced in python3.11, This leads to packaging issue:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-01-19_13h48m36s/logs/errors/py311-essentia-2.1.b5.859_2.log

Add patch that is pulling freshier waf from upstream repository to fix the issue.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-28 18:35:41 UTC
Approved, thanks for the patch.
Please commit it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-01-28 18:42:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d179521238ffd98c49a67787a796f335786e233f

commit d179521238ffd98c49a67787a796f335786e233f
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-01-28 18:39:53 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-01-28 18:39:53 +0000

    audio/py-essentia: fix build with python 3.11

    Bundled waf is outdated and doesn't support changes, introduced in python3.11,
    this leads to packaging issue. Make it pull freshier waf from upstream
    repository to fix the issue.

    PR:             276685
    PR:     275494
    Approved by:    yuri (maintainer)

 audio/py-essentia/Makefile | 8 +++++++-
 audio/py-essentia/distinfo | 4 +++-
 2 files changed, 10 insertions(+), 2 deletions(-)
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2024-01-28 18:42:29 UTC
Committed, thanks!