Bug 260646

Summary: multimedia/pipewire: Fails to build when ports OpenSSL installed: module-raop-sink.c: multiple errors
Product: Ports & Packages Reporter: Ashish SHUKLA <ashish>
Component: Individual Port(s)Assignee: Gleb Popov <arrowd>
Status: Closed FIXED    
Severity: Affects Some People CC: rhurlin
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (arrowd)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere failure log
none
patch to fix none

Description Ashish SHUKLA freebsd_committer freebsd_triage 2021-12-23 17:42:58 UTC
Created attachment 230354 [details]
poudriere failure log
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2021-12-23 17:46:17 UTC
Created attachment 230355 [details]
patch to fix

The attached patch includes:

 - a patch to fix the compiler error

 - disable the codepath (raop option) altogether to not trigger the compiler error

I'm not a user of pipewire, only came across when building gnome-terminal port, so perhaps maintainer can decide to add a OPTION for raop pipewire option which will require depending on openssl port, or just disable it altogether.

HTH
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-12-24 18:15:20 UTC
A commit in branch main references this bug:

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

commit 463583e8beb0757fbfb2eeb360f1f23e7f7791b0
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-12-24 18:13:01 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-12-24 18:14:03 +0000

    multimedia/pipewire: Teach the port to use OpenSSL.

    Enable raop plugin that was previosly disabled.

    PR:             260646

 multimedia/pipewire/Makefile                         |  6 ++++--
 multimedia/pipewire/files/patch-meson.build (new)    | 20 ++++++++++++++++++++
 .../files/patch-src_modules_module-raop-sink.c (new) | 10 ++++++++++
 multimedia/pipewire/pkg-plist                        |  1 +
 4 files changed, 35 insertions(+), 2 deletions(-)
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2021-12-24 18:17:27 UTC
The correct fix is to explicitly enable raop module and teach the Meson build system to properly locate both base and ports OpenSSL.