Bug 214249

Summary: audio/openal-soft: Fails to configure with JACK option ON
Product: Ports & Packages Reporter: Grzegorz Junka <list1>
Component: Individual Port(s)Assignee: Jason E. Hale <jhale>
Status: Closed FIXED    
Severity: Affects Some People CC: jhale, mva
Priority: --- Flags: jhale: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Poudriere logs
none
audio/openal-soft, fix JACK option jhale: maintainer-approval? (mva)

Description Grzegorz Junka 2016-11-05 18:03:29 UTC
Created attachment 176662 [details]
Poudriere logs

Fails to build on 10.3 64-bit.

-- Could NOT find ALSA (missing:  ALSA_LIBRARY ALSA_INCLUDE_DIR) 
-- Found OSS: /usr/include  
-- Could NOT find AudioIO (missing:  AUDIOIO_INCLUDE_DIR) 
-- Found SoundIO: /usr/local/lib/libsndio.so  
-- Could NOT find QSA (missing:  QSA_LIBRARY QSA_INCLUDE_DIR) 
-- Found PortAudio: /usr/local/lib/libportaudio.so  
-- Could NOT find PulseAudio (missing:  PULSEAUDIO_LIBRARY PULSEAUDIO_INCLUDE_DIR) 
-- Found JACK: /usr/local/lib/libjack.so  
CMake Error at CMakeLists.txt:988 (MESSAGE):
  Failed to enabled required JACK backend


-- Configuring incomplete, errors occurred!
See also "/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.17.2/CMakeFiles/CMakeOutput.log".
See also "/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.17.2/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/openal-soft
====>> Cleaning up wrkdir
===>  Cleaning for openal-soft-1.17.2
build of audio/openal-soft ended at Sat Nov  5 14:50:18 UTC 2016
build time: 00:01:03
!!! build failure encountered !!!


Options:

# Options for openal-soft-1.17.2
_OPTIONS_READ=openal-soft-1.17.2
_FILE_COMPLETE_OPTIONS_LIST=CONFIG FLUIDSYNTH JACK PORTAUDIO PULSEAUDIO SNDIO
OPTIONS_FILE_SET+=CONFIG
OPTIONS_FILE_SET+=FLUIDSYNTH
OPTIONS_FILE_SET+=JACK
OPTIONS_FILE_SET+=PORTAUDIO
OPTIONS_FILE_UNSET+=PULSEAUDIO
OPTIONS_FILE_SET+=SNDIO
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2016-11-14 16:34:58 UTC
Created attachment 176997 [details]
audio/openal-soft, fix JACK option

I had the same error.  The problem is with the logic that the JACK option uses.  The attached patch should fix the issue.
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2016-12-07 10:24:12 UTC
Maintainer timeout.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-12-07 10:29:58 UTC
A commit references this bug:

Author: jhale
Date: Wed Dec  7 10:29:30 UTC 2016
New revision: 428046
URL: https://svnweb.freebsd.org/changeset/ports/428046

Log:
  Fix configure when JACK option is enabled

  -- Found JACK: /usr/local/lib/libjack.so
  CMake Error at CMakeLists.txt:988 (MESSAGE):
    Failed to enabled required JACK backend
  -- Configuring incomplete, errors occurred!

  PR:		214249
  Reported by:	Grzegorz Junka <list1@gjunka.com>
  Approved by:	maintainer timeout

Changes:
  head/audio/openal-soft/Makefile