Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 21:26:06 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        David Wolfskill <david@catwhisker.org>
Cc:        ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: ImageMagick-6.4.1-3_1 selftest fails
Message-ID:  <48386BCE.7040500@janh.de>
In-Reply-To: <20080524151658.GW69430@bunrab.catwhisker.org>
References:  <48381B22.30507@janh.de> <18488.8559.136513.226315@jerusalem.litteratus.org> <4838284A.3030400@janh.de> <20080524151658.GW69430@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48386BCE.7040500>