Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789078 - media-video/pipewire-0.3.27[jack-sdk] does not install jack headers
Summary: media-video/pipewire-0.3.27[jack-sdk] does not install jack headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-05-09 12:16 UTC by Andrei Slavoiu
Modified: 2021-05-09 14:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info pipewire (emerge.info,9.01 KB, text/plain)
2021-05-09 12:17 UTC, Andrei Slavoiu
Details
pipewire-0.3.27.ebuild.patch (pipewire-0.3.27.ebuild.patch,712 bytes, patch)
2021-05-09 13:20 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2021-05-09 12:16:09 UTC
It installs the libraries clients should link against, but not the header files needed to build. This leads to clients failing to compile (for example timidity++):
jack_a.c:60:10: fatal error: jack/jack.h: No such file or directory
   60 | #include <jack/jack.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

# qlist pipewire | grep jack
/usr/share/man/man1/pw-jack.1.xz
/usr/lib/libjack.so.0.327.0
/usr/lib/libjack.so.0
/usr/lib/libjack.so
/usr/lib/libjackserver.so.0.327.0
/usr/lib/libjackserver.so.0
/usr/lib/libjackserver.so
/usr/lib/libjacknet.so.0.327.0
/usr/lib/libjacknet.so.0
/usr/lib/libjacknet.so
/usr/bin/pw-jack
/usr/lib64/libjack.so.0.327.0
/usr/lib64/libjack.so.0
/usr/lib64/libjack.so
/usr/lib64/libjackserver.so.0.327.0
/usr/lib64/libjackserver.so.0
/usr/lib64/libjackserver.so
/usr/lib64/libjacknet.so.0.327.0
/usr/lib64/libjacknet.so.0
/usr/lib64/libjacknet.so
/etc/pipewire/jack.conf
/etc/pipewire/media-session.d/with-jack

Reproducible: Always
Comment 1 Andrei Slavoiu 2021-05-09 12:17:34 UTC
Created attachment 706701 [details]
emerge --info pipewire
Comment 2 Ionen Wolkens gentoo-dev 2021-05-09 12:31:50 UTC
Looks like ebuild is missing -Djack-devel=enabled when USE=jack-sdk

(this let me build timidity++[jack] and jack_capture as a quick test)
Comment 3 Andrei Slavoiu 2021-05-09 13:20:13 UTC
Created attachment 706707 [details, diff]
pipewire-0.3.27.ebuild.patch

Properly enables jack sdk
Comment 4 Larry the Git Cow gentoo-dev 2021-05-09 14:02:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b40db56664eb4dbe052681227df3a5d3da9da9

commit 30b40db56664eb4dbe052681227df3a5d3da9da9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-05-09 13:51:18 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-05-09 14:02:52 +0000

    media-video/pipewire: fix USE=jack-sdk, install JACK headers
    
    Closes: https://bugs.gentoo.org/789078
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../pipewire/{pipewire-0.3.27.ebuild => pipewire-0.3.27-r1.ebuild}       | 1 +
 media-video/pipewire/pipewire-9999.ebuild                                | 1 +
 2 files changed, 2 insertions(+)