From owner-freebsd-ports@FreeBSD.ORG Sat May 24 15:45:51 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 775FB106566B for ; Sat, 24 May 2008 15:45:51 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 399848FC14 for ; Sat, 24 May 2008 15:45:51 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id m4OFGw9v076307; Sat, 24 May 2008 08:16:58 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id m4OFGwjB076306; Sat, 24 May 2008 08:16:58 -0700 (PDT) (envelope-from david) Date: Sat, 24 May 2008 08:16:58 -0700 From: David Wolfskill To: Jan Henrik Sylvester Message-ID: <20080524151658.GW69430@bunrab.catwhisker.org> References: <48381B22.30507@janh.de> <18488.8559.136513.226315@jerusalem.litteratus.org> <4838284A.3030400@janh.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bOC9TN0n4iVUZoxs" Content-Disposition: inline In-Reply-To: <4838284A.3030400@janh.de> User-Agent: Mutt/1.4.2.1i 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 15:45:51 -0000 --bOC9TN0n4iVUZoxs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Thanks. As I said, I tried to build with root while root was not allowed= =20 > to use the display. Granting root access with 'xhost +local:' or 'setenv= =20 > XAUTHORITY /usr/home/USER/.Xauthority' fixes the problem. Having to do=20 > that was kind of unexpected for me... >=20 > Maybe I was just wrong trying this with 'su' as root instead of properly= =20 > being logged in with 'su -'. Having a DISPLAY=3D:0 set but being=20 > 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.) I do the building within a run of script(1) that I start via sudo(1); that, in turn, is run under screen(1) within an xterm(1). (Yes, I could investigate ways to reduce the number of those tools, but as things stand, each is there for a specific reason that I think I understand.) In any case, I saw no evidence that the build of ImageMagick even needed to be run within an X11 environment. Examining the output from script(1) for the upgrade of ImageMagick shows no instances of the string "DISPLAY," for example. (The string "display" shows up, as the name of one of the programs in the ImageMagick suite.) Peace, david (who still uses a derivative of twm(1) as a WM) --=20 David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --bOC9TN0n4iVUZoxs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkg4MWgACgkQmprOCmdXAD3tggCePQeF+zA8CNt+6KsOuuWFCfks G4gAnApUCDO1TK38dTrZKM/m2jTZzQPI =7RcR -----END PGP SIGNATURE----- --bOC9TN0n4iVUZoxs--