From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 7 06:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1519ECA4 for ; Wed, 7 Aug 2013 06:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E76D82913 for ; Wed, 7 Aug 2013 06:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r776A0WI076698 for ; Wed, 7 Aug 2013 06:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r776A03d076675; Wed, 7 Aug 2013 06:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 7 Aug 2013 06:10:00 GMT Resent-Message-Id: <201308070610.r776A03d076675@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Natacha Porté Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6A896992 for ; Wed, 7 Aug 2013 06:01:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5814628CF for ; Wed, 7 Aug 2013 06:01:28 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7761RaJ031571 for ; Wed, 7 Aug 2013 06:01:27 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7761RlA031565; Wed, 7 Aug 2013 06:01:27 GMT (envelope-from nobody) Message-Id: <201308070601.r7761RlA031565@oldred.freebsd.org> Date: Wed, 7 Aug 2013 06:01:27 GMT From: Natacha Porté To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181102: [PATCH] audio/mumble cannot find bundled libcelt X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 06:10:01 -0000 >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: