Date: Wed, 7 Aug 2013 06:01:27 GMT From: Natacha Porté <natbsd@instinctive.eu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/181102: [PATCH] audio/mumble cannot find bundled libcelt Message-ID: <201308070601.r7761RlA031565@oldred.freebsd.org> Resent-Message-ID: <201308070610.r776A03d076675@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 181102 >Category: ports >Synopsis: [PATCH] audio/mumble cannot find bundled libcelt >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: Wed Aug 07 06:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Natacha Porté >Release: 9.1 >Organization: >Environment: FreeBSD yulai 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Mumble cannot find CELT codec (that should be bundled with it). This is a serious issue, since it prevents communication with other recent clients (tested with Android client, Fedora package v1.2.3 and Windows install v1.2.4). >From the truss log at http://instinctive.eu/tmp/truss-mumble.log.bz2 it seems that mumble looks for shared objects in a specific number of paths, and none of them match the installed object because of its "-mumble" suffix. The attached patch, added as audio/mumble/files/patch-src-mumble-CELTCodec.cpp includes the correct search name in the source. There is currently no collision with installation of audio/celt, since none of the other search paths match any object installed by it, but that's something to keep an eye on in the future. >How-To-Repeat: - Start mumble - Connect to murmur -> the server sends a warning about CELT being unavailable and potential issues with other users - Connect a known-to-work recent mumble client to the same murmur -> they indeed cannot communicate >Fix: the attached patch adds the correct shared object name to search paths Patch attached with submission follows: --- src/mumble/CELTCodec.cpp.orig 2013-08-07 07:26:41.259860710 +0200 +++ src/mumble/CELTCodec.cpp 2013-08-07 07:27:58.905421337 +0200 @@ -64,6 +64,7 @@ alternatives << QString::fromLatin1("libcelt0.so.%1").arg(version); alternatives << QString::fromLatin1("libcelt.so.%1").arg(version); alternatives << QString::fromLatin1("celt.so.%1").arg(version); + alternatives << QString::fromLatin1("libcelt-mumble.so.%1").arg(version); #else int cpuinfo[4]; __cpuid(cpuinfo, 1); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308070601.r7761RlA031565>