From nobody@FreeBSD.org  Mon Feb  7 16:43:23 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 477711065670
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Feb 2011 16:43:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 37B008FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Feb 2011 16:43:23 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p17GhMI4047571
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 7 Feb 2011 16:43:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p17GhMeW047564;
	Mon, 7 Feb 2011 16:43:22 GMT
	(envelope-from nobody)
Message-Id: <201102071643.p17GhMeW047564@red.freebsd.org>
Date: Mon, 7 Feb 2011 16:43:22 GMT
From: Kenneth Lind <exil@sasurai.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11/xpra missing dependency on graphics/py-imaging
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154577
>Category:       ports
>Synopsis:       x11/xpra missing dependency on graphics/py-imaging
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 07 16:50:07 UTC 2011
>Closed-Date:    Sat Feb 12 02:23:08 UTC 2011
>Last-Modified:  Sat Feb 12 02:30:08 UTC 2011
>Originator:     Kenneth Lind
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD lennon 8.1-RELEASE FreeBSD 8.1-RELEASE #2: Fri Aug 20 21:46:33 CEST 2010     root@zappa:/usr/obj/misc/shared/FreeBSD/8.1/src/sys/LENNON_FW  i386

>Description:
Simply installing x11/xpra yields the following result when starting xpra:

[exil@lennon ~]$ more .xpra/lennon-9.log 
..
Xlib:  extension "RANDR" missing on display ":9.0".
Xlib:  extension "RANDR" missing on display ":9.0".
Traceback (most recent call last):
  File "/usr/X11R6/bin/xpra", line 6, in <module>
    xpra.scripts.main.main(__file__, sys.argv)
  File "/usr/local/lib/python2.7/site-packages/xpra/scripts/main.py", line 126, in main
    run_server(parser, options, mode, script_file, args)
  File "/usr/local/lib/python2.7/site-packages/xpra/scripts/server.py", line 304, in run_server
    import xpra.server
  File "/usr/local/lib/python2.7/site-packages/xpra/server.py", line 19, in <module>
    import Image
ImportError: No module named Image
xpra: Fatal IO error 35 (Resursen är tillfälligt otillgänglig) on X server :9.0.
---

After installing graphics/py-imaging, on the other hand:

Xlib:  extension "RANDR" missing on display ":9.0".
Xlib:  extension "RANDR" missing on display ":9.0".
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  21
  Current serial number in output stream:  21

xpra is ready.
---



>How-To-Repeat:
If necessary, deinstall graphics/py-imaging. Then cd to x11/xpra and make install.


>Fix:
Makefile patch:
22a23
>               ${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging \


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 7 16:50:15 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154577 
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Sat Feb 12 02:23:06 UTC 2011 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154577: commit references a PR
Date: Sat, 12 Feb 2011 02:22:10 +0000 (UTC)

 swills      2011-02-12 02:22:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11/xpra             Makefile 
   Log:
   - Add missing py-imaging RUN_DEPENDS
   
   PR:             ports/154577
   Approved by:    wxs (mentor)
   
   Revision  Changes    Path
   1.3       +2 -0      ports/x11/xpra/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
