From owner-freebsd-ports@FreeBSD.ORG Sat May 24 20:52:57 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BA411065679 for ; Sat, 24 May 2008 20:52:57 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0E8B98FC14 for ; Sat, 24 May 2008 20:52:57 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (f054101034.adsl.alicedsl.de [78.54.101.34]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1K00j41h9e-0004G2; Sat, 24 May 2008 22:52:27 +0200 Message-ID: <4838800F.4090205@janh.de> Date: Sat, 24 May 2008 22:52:31 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Matthew Donovan References: <48381B22.30507@janh.de> <18488.8559.136513.226315@jerusalem.litteratus.org> <4838284A.3030400@janh.de> <20080524151658.GW69430@bunrab.catwhisker.org> <483864C2.5090605@math.missouri.edu> <1305.72.65.6.48.1211656566.squirrel@kitchetech.com> <48386F0A.5030202@janh.de> <1525.72.65.6.48.1211658471.squirrel@kitchetech.com> <20080524202730.GA46063@njord.Belkin> In-Reply-To: <20080524202730.GA46063@njord.Belkin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18WTAk2WATIOnJh2SX15WRmww99Q0C4OfZUc8M oOCN1wI7SBOVx+OhasNr10mae2m1+yiL5LhPSSx0FaYqS9q9di bZurCrouAFqPdvUnJ2kxw== Cc: stephen@math.missouri.edu, freebsd-ports@freebsd.org Subject: Re: ImageMagick-6.4.1-3_1 selftest fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 20:52:57 -0000 Matthew Donovan wrote: > On Sat, May 24, 2008 at 03:47:51PM -0400, Kitche wrote: >>> As you can see from my original log, X is used. >>> >>> X is not required, since it is not used, if I build with 'su -' instead >>> of 'su' (and thus have a clear environment without DISPLAY being set). >>> If the build tries to use X and is denied, the test fails. >> the whole Su and su - is not related to this it seems considering I can su >> to my root account and it works. >> >> I'll try compiling ImageMagick on X to see if an error occurs. > > Passes all tests in X on 7.0 for me Not that this really adds anything to this discussion, but I did test again: With DISPLAY=:0.0 being set but no access to the display (XAUTHORITY unset) being owned by a different user, the PerlMagick tests x11/read and x11/write do fail. Without DISPLAY being set, these tests do run and report 'ok', although they do not do anything (window does not appear). (Of course, this is the case if I do 'su -' in my Konsole instead of 'su'.) With DISPLAY and XAUTHORITY both being set properly, a window appears during the tests and they both report 'ok'. (This is all for 6.4.1-3_1 with all OPTIONS to default on 7.0.) If I did not make this clear earlier, in contrast to my very first post, I now consider this behavior ok, since it does not really make sense to have DISPLAY set to something that is not accessible. (Not that it really makes sense to have the build fail if access to the display is being denied, but have it succeed, if no X is present at all...) Jan Henrik