Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 06:15:03 GMT
From:      Markiyan Kushnir <markiyan.kushnir@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185016: audio/jack build broken in the presence of audio/portaudio2 installed (but audio/portaudio required)
Message-ID:  <201312200615.rBK6F39o053181@oldred.freebsd.org>
Resent-Message-ID: <201312200620.rBK6K0kW031681@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185016
>Category:       ports
>Synopsis:       audio/jack build broken in the presence of audio/portaudio2 installed (but audio/portaudio required)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 20 06:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Markiyan Kushnir
>Release:        11.0-CURRENT
>Organization:
>Environment:
FreeBSD mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259569: Thu Dec 19 07:54:44 EET 2013     root@vm.mkushnir.mooo.com:/usr/obj/usr/src.svnup/sys/MAREK  amd64
>Description:
The ports tree revision is 336920.

Once audio/portaudio2 was installed, then audio/jack being built/installed as a dependency of something else results in it being  broken. audio/jack requires portaudio v1x, not v2, and the dependency looks confusing to the system:

LIB_DEPENDS=    libportaudio.so:${PORTSDIR}/audio/portaudio

# ldconfig -r | grep portau
search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/event2:/usr/local/lib/nss:/usr/local/llvm33/lib:/usr/local/lib/ffmpeg0:/usr/local/lib/portaudio2
453:-lportaudio.2 => /usr/local/lib/portaudio2/libportaudio.so.2
>How-To-Repeat:
Try installing audio/denemo, without audio/portaudio having first installed.
>Fix:


Patch attached with submission follows:

--- Makefile	2013-12-20 08:12:24.000000000 +0200
+++ Makefile.mkushnir	2013-12-20 02:25:31.000000000 +0200
@@ -11,7 +11,7 @@
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Low latency audio server
 
-LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio \
+LIB_DEPENDS=	/usr/local/lib/libportaudio.so:${PORTSDIR}/audio/portaudio \
 		libsndfile.so:${PORTSDIR}/audio/libsndfile \
 		libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
 		libcelt0.so:${PORTSDIR}/audio/celt


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312200615.rBK6F39o053181>