Bug 147666 - Build of multimedia/kdemultimedia4 fails if audio/alsa-lib is installed
Summary: Build of multimedia/kdemultimedia4 fails if audio/alsa-lib is installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 21:10 UTC by Pascal Stumpf
Modified: 2010-08-05 19:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Stumpf 2010-06-07 21:10:05 UTC
Apparently, cmake finds libasound.so (and thus tries to compile with ALSA support), but fails to locate the headers at /usr/local/include/alsa/*. So the build fails.

Fix: 

Disable ALSA support in the Makefile (unset HAVE_LIBASOUND2) or hack the ports cmake build system to find the ALSA headers in %%LOCALBASE%%.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-07 21:10:13 UTC
Maintainer of audio/alsa-lib,

Please note that PR ports/147666 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147666

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-07 21:10:15 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2010-06-19 03:48:14 UTC
State Changed
From-To: feedback->open

On checking this PR, I think it applies to multimedia/kdemultimedia4. 


Comment 4 Mark Linimon freebsd_committer freebsd_triage 2010-06-19 03:48:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde
Comment 5 mickael.maillot 2010-07-01 11:34:12 UTC
Hi

CMake module: FindAlsa.cmake (x11/kdelibs4)
failed to detect alsa installed from audio/alsa-plugins port.
the prob is from check_include_file_cxx macro, so i just replace it by find_path
patch for x11/kdelibs4:
http://freelooser.fr/freebsd/patch-cmake_modules_FindAlsa.cmake

this fix installation of multimedia/kdemultimedia4 when
audio/alsa-plugins is installed.
Comment 6 Max Brazhnikov freebsd_committer freebsd_triage 2010-07-17 20:35:35 UTC
State Changed
From-To: open->analyzed

I'm aware of the problem, added to my TODO list.
Comment 7 Max Brazhnikov freebsd_committer freebsd_triage 2010-08-05 19:12:18 UTC
State Changed
From-To: analyzed->closed

Fixed, thanks for report!