ports/162929: [PATCH] Fix port: audio/mumble on 9+/amd64

Chris Rees crees at FreeBSD.org
Mon Nov 28 22:20:12 UTC 2011


>Number:         162929
>Category:       ports
>Synopsis:       [PATCH] Fix port: audio/mumble on 9+/amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 28 22:20:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #5 r227907: Wed Nov 23 21:55:50 UTC 2011 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	Mumble has been broken on 9+ for a while with amd64, failing with a cryptic error message.
>How-To-Repeat:
	on a 9/amd64 machine: make -DTRY_BROKEN -C /usr/ports/audio/mumble
>Fix:

	Stop building debug version of plugins; this is a workaround but the generated package is fine.

	Upstream will need chasing about this; I'm prepared to help however I can.

--- mumble-fix.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/mumble/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	12 Apr 2011 10:36:15 -0000	1.16
+++ Makefile	28 Nov 2011 20:37:49 -0000
@@ -45,10 +45,6 @@
 BROKEN=		does not compile on FreeBSD 7.x
 .endif
 
-.if ${ARCH} == "amd64" && ${OSVERSION} >= 900000
-BROKEN=		Does not compile on FreeBSD 9.X
-.endif
-
 .if defined(WITHOUT_DBUS)
 CONFIG+=	no-dbus
 .else
Index: files/patch-plugins-plugins.pri
===================================================================
RCS file: files/patch-plugins-plugins.pri
diff -N files/patch-plugins-plugins.pri
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-plugins-plugins.pri	28 Nov 2011 20:37:49 -0000
@@ -0,0 +1,25 @@
+$FreeBSD$
+
+Disable debug; runs into cryptic errors on 9+/amd64
+
+--- plugins/plugins.pri.orig	2011-02-19 21:35:16.000000000 +0000
++++ plugins/plugins.pri	2011-11-28 20:27:31.374646598 +0000
+@@ -1,16 +1,11 @@
+ include(../compiler.pri)
+ 
+ TEMPLATE	= lib
+-CONFIG		+= plugin debug_and_release warn_on
++CONFIG		+= plugin warn_on
+ CONFIG		-= qt
+ DIST		*= mumble_plugin.h
+ 
+-CONFIG(debug, debug|release) {
+-  CONFIG += console
+-  DESTDIR       = ../../debug/plugins
+-}
+-
+-CONFIG(release, debug|release) {
++CONFIG(release, release) {
+   DESTDIR       = ../../release/plugins
+ }
+ 
--- mumble-fix.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list