From owner-freebsd-ports@FreeBSD.ORG Sat May 24 19:26:24 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 50F941065684 for ; Sat, 24 May 2008 19:26:24 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.freebsd.org (Postfix) with ESMTP id 064128FC1F for ; Sat, 24 May 2008 19:26:23 +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-1JzzNU3WiZ-0004B4; Sat, 24 May 2008 21:26:05 +0200 Message-ID: <48386BCE.7040500@janh.de> Date: Sat, 24 May 2008 21:26:06 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: David Wolfskill References: <48381B22.30507@janh.de> <18488.8559.136513.226315@jerusalem.litteratus.org> <4838284A.3030400@janh.de> <20080524151658.GW69430@bunrab.catwhisker.org> In-Reply-To: <20080524151658.GW69430@bunrab.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18H5K8V2lumZB2uVhh8UADa52GYy3bllUZiWHT jh1phV7qcTV6/cXHY32A33HkSL6pZamU9FPyOGwMsRHX4GEn+v YDdd9w1DK2zQjnz5jpjaQ== Cc: ports-list freebsd 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 19:26:24 -0000 David Wolfskill wrote: > On Sat, May 24, 2008 at 04:38:02PM +0200, Jan Henrik Sylvester wrote: >> ... >>>> ImageMagick fails to build for me. I guess it is because I do the >>>> build as root while a different user "owns the display". (I do >>>> use kdm for login and start the build after su in a Konsole.) >>> Built just fine for me, about an hour ago, on -CURRENT with no >>> KDE involved. OPTIONS screen worked fine. >> Thanks. As I said, I tried to build with root while root was not allowed >> to use the display. Granting root access with 'xhost +local:' or 'setenv >> XAUTHORITY /usr/home/USER/.Xauthority' fixes the problem. Having to do >> that was kind of unexpected for me... >> >> Maybe I was just wrong trying this with 'su' as root instead of properly >> being logged in with 'su -'. Having a DISPLAY=:0 set but being >> disallowed from using it, may not be expected. > > I don't use KDE, but I do use xdm(1), so if I understand correctly, I > have a similar $DISPLAY ownership situation as yours. > > ImageMagick just built for me under 6.3-STABLE (also freshly built > today). (Although I track RELENG_6, RELENG_7, and HEAD daily, I only > build ports under RELENG_6, as that's what I actually mostly use.) Since only with the last commit to ImageMagick, IMAGEMAGICK_TESTS was turned back on by default, you may have saved OPTIONS with off being reused for the tests. Jan Henrik