From owner-freebsd-x11@FreeBSD.ORG Sat Dec 14 11:46:07 2013 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75F8E124; Sat, 14 Dec 2013 11:46:07 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE7931CF6; Sat, 14 Dec 2013 11:46:06 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id rBEBk1Uo022247; Sat, 14 Dec 2013 13:46:01 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua rBEBk1Uo022247 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id rBEBk1ib022246; Sat, 14 Dec 2013 13:46:01 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 14 Dec 2013 13:46:01 +0200 From: Konstantin Belousov To: Niclas Zeising Subject: Re: [ia64] graphics/dri breaks poudriere bulk Message-ID: <20131214114601.GC59496@kib.kiev.ua> References: <3E272052-D3D6-4684-9B31-E638A41C4858@xcllnt.net> <52AB9164.20807@freebsd.org> <52AB93C0.3040004@freebsd.org> <20131214061455.GY59496@kib.kiev.ua> <52AC3CF1.2030103@freebsd.org> <20131214112009.GZ59496@kib.kiev.ua> <52AC3F65.20305@freebsd.org> <20131214113240.GB59496@kib.kiev.ua> <52AC42BF.8000307@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NrMjCYk1HKQ2dSHc" Content-Disposition: inline In-Reply-To: <52AC42BF.8000307@freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-0.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,URIBL_BLACK autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: x11@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Dec 2013 11:46:07 -0000 --NrMjCYk1HKQ2dSHc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 14, 2013 at 12:36:31PM +0100, Niclas Zeising wrote: > On 12/14/13 12:32, Konstantin Belousov wrote: > > On Sat, Dec 14, 2013 at 12:22:13PM +0100, Niclas Zeising wrote: > >> On 12/14/13 12:20, Konstantin Belousov wrote: > >>> On Sat, Dec 14, 2013 at 12:11:45PM +0100, Niclas Zeising wrote: > >>>> If that's the case, then dri is wrong to ask for them on ia64, and m= ore > >>>> importantly, the makefile for libdrm is wrong, since it says that in= tel > >>>> dri drivers are built for i386, amd64, ia64 and pc98. However, it w= ould > >>>> be nice to get this tested. > >>> It makes absolutely no sense to build libdrm_intel.so or any intel me= sa > >>> userspace driver on ia64, simply because there is no ia64 CPU which > >>> has any GPU, not specifically HD graphics. > >>> > >>> I have no idea what you can test there. > >>> > >> > >> Except for the fact that it seems dri is looking for it, and this may = be > >> a way to satisfy dri. > > I do not understand this sentence. Can you reference exact code ? > >=20 >=20 > >From the original error report my Marcel: >=20 > > checking expat.h usability... yes > > checking expat.h presence... yes > > checking for expat.h... yes > > checking for XML_ParserCreate in -lexpat... yes > > checking for INTEL... no > > configure: error: Package requirements (libdrm_intel >=3D 2.4.38) were > > not met: > > > > Package libdrm_intel was not found in the pkg-config search path. > > Perhaps you should add the directory containing `libdrm_intel.pc' > > to the PKG_CONFIG_PATH environment variable > > Package 'libdrm_intel', required by 'world', not found > > > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > > installed software in a non-standard prefix. > > > > Alternatively, you may set the environment variables INTEL_CFLAGS > > and INTEL_LIBS to avoid the need to call pkg-config. > > See the pkg-config man page for more details. > > =3D=3D=3D> Script "configure" failed unexpectedly. >=20 > dri is looking for libdrm_intel.pc, which is installed when the intel > drm bits are installed. Looking at the makefile in graphics/libdrm they > should be installed, so even if they are not needed, maybe this is a way > to make graphics/dri to build and install on ia64. As I understand things, by 'dri' you mean the mesa drivers. Mesa configure.ac only requires libdrm_intel when Intel GPU drivers are build, which are i915.so and i965.so. The drivers cannot work on ia64 even theoretically, since there is no hardware that would combine ia64 CPU and HD graphics. They must not be build on anything but x86. libdrm autoconf.ac correctly disables build of libdrm_intel.so on !x86. --NrMjCYk1HKQ2dSHc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSrET5AAoJEJDCuSvBvK1BsdYP/2o3YPLW6NPef9/Onnb242UM I2LgERj7p5jdenSD5l+sUff9YtKT1URagRAca/Rb2IEkbgwD8UjrNtgV0u1eHLI/ a/vjee3QY+lSwFkFUGAn78eiXg23bPISC736O5Z/TDkPVhZVGve+2dNdr+kI15qG ObKgxU+MMP+HZx/hfolcXus3lwWqIw8BtVPqYEheqNtlrNtSOzHC+RLyeQTmYIrQ d/eqCLEL+OAfBO5tG6CqyoIvc/HvYic69TUYbaXp5pqGI5v9AMhxd9WSmwcP7Wqz oNTQ8EwAfU61gXpqT5RBocLCQLsnlmxFSwCUIgYIaliRlnVHvsuifa/9IH18YML1 3Bgw9kj0M+TQCYlkv+Dj7texJHo8kGZisZFOaTZehZN8LXp9+a4NVFx1W8XJqLFS 5D20WEQHP8xfGx+cMRnvmd9rWuhJ8yxLjvSiTa3yE/EqxwKBW546+NZJXm06p9LT gC6aQSWV/+PlIEPY0L7ar2qz6nDNILMuV22akmu2YAm0T+QgrN+ymWq6AiLMGKLc Vgd9GUdxUGAgfL+4kIaHqJaaqhxuvWN4lJzXoZrLgAQP5GElkNNze58sctPcNfuy VrsF/1vtMkmKCG1fIJMPNGuiMsPPua2We1uwPS6RZQCS4QNPLcNKAYggBe3vSf8j aYeflP+NRIizA4d01NnD =bmWp -----END PGP SIGNATURE----- --NrMjCYk1HKQ2dSHc--