From nobody@FreeBSD.org  Mon Oct  7 02:16:37 2013
Return-Path: <nobody@FreeBSD.org>
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 1483F572
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Oct 2013 02:16:37 +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 00BB62CC8
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Oct 2013 02:16:37 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r972GaRF068166
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 7 Oct 2013 02:16:36 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r972GaJM068147;
	Mon, 7 Oct 2013 02:16:36 GMT
	(envelope-from nobody)
Message-Id: <201310070216.r972GaJM068147@oldred.freebsd.org>
Date: Mon, 7 Oct 2013 02:16:36 GMT
From: Kevin Zheng <kevinz5000@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Build failure for net/freerdp using non-default options
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182778
>Category:       ports
>Synopsis:       Build failure for net/freerdp using non-default options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fluffy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 07 02:20:00 UTC 2013
>Closed-Date:    Mon Oct 07 13:09:23 UTC 2013
>Last-Modified:  Mon Oct  7 13:10:01 UTC 2013
>Originator:     Kevin Zheng
>Release:        9.2-RELEASE
>Organization:
>Environment:
FreeBSD poppy.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Thu Oct  3 18:50:19 CDT 2013     kevinz@poppy.local:/usr/obj/usr/src/sys/QUASAR-PAE  i386
>Description:
Several non-default options cause build failures for net/freerdp.

ALSA (off by default) causes a configuration failure:

CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)

Build Log: http://quasarp.dyndns.org:8080/logs/bulk/9-i386-default/2013-10-05_20h45m05s/logs/errors/freerdp-1.0.2.log

SSE (off by default) causes a build failure:

/wrkdirs/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c: In function 'rfx_quantization_encode_sse2':
/wrkdirs/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate

Build Log: http://quasarp.dyndns.org:8080/logs/bulk/9-i386-default/latest/logs/errors/freerdp-1.0.2.log

Note that the machine with the build logs may not be accessible all the time.
>How-To-Repeat:
Build net/freerdp using one or more of the problematic options listed above.
>Fix:
The temporary fix is to mark the problematic options with BROKEN or disable them altogether. I have no idea what the long-term fix is.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->fluffy 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 7 02:20:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182778 
State-Changed-From-To: open->closed 
State-Changed-By: fluffy 
State-Changed-When: Mon Oct 7 13:09:23 UTC 2013 
State-Changed-Why:  
ALSA dependency fixed, SSE is always builds fine on sse-capable machines 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182778 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182778: commit references a PR
Date: Mon,  7 Oct 2013 13:07:25 +0000 (UTC)

 Author: fluffy
 Date: Mon Oct  7 13:07:16 2013
 New Revision: 329700
 URL: http://svnweb.freebsd.org/changeset/ports/329700
 
 Log:
   - Add missed dependency on ALSA when option is selected
   
   PR:		182778
   Submitted by:	Kevin Zheng
 
 Modified:
   head/net/freerdp/Makefile
 
 Modified: head/net/freerdp/Makefile
 ==============================================================================
 --- head/net/freerdp/Makefile	Mon Oct  7 12:52:34 2013	(r329699)
 +++ head/net/freerdp/Makefile	Mon Oct  7 13:07:16 2013	(r329700)
 @@ -53,6 +53,7 @@ PLIST_SUB+=	DIRECTFB="@comment "
  .endif
  
  .if ${PORT_OPTIONS:MALSA}
 +LIB_DEPENDS+=	asound:${PORTSDIR}/audio/alsa-lib
  PLIST_SUB+=	ALSA=""
  .else
  PLIST_SUB+=	ALSA="@comment "
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
