From owner-freebsd-x11@FreeBSD.ORG Sat Dec 14 11:51:55 2013 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE6F524A for ; Sat, 14 Dec 2013 11:51:55 +0000 (UTC) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A1D61D4E for ; Sat, 14 Dec 2013 11:51:55 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id BF30C4001A for ; Sat, 14 Dec 2013 12:51:53 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id B4F2940018; Sat, 14 Dec 2013 12:51:53 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=AWL,URIBL_BLACK autolearn=disabled version=3.3.1 X-Spam-Score: 0.9 Received: from mx.daemonic.se (unknown [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 6D8FC40007; Sat, 14 Dec 2013 12:51:52 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3dhRtJ1n5Gz8jLB; Sat, 14 Dec 2013 12:51:52 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id bJ3s60fmaMZZ; Sat, 14 Dec 2013 12:51:49 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3dhRtF4Zpmz8jL9; Sat, 14 Dec 2013 12:51:49 +0100 (CET) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3dhRtF3lbtz9CwV; Sat, 14 Dec 2013 12:51:49 +0100 (CET) Message-ID: <52AC4654.1060002@freebsd.org> Date: Sat, 14 Dec 2013 12:51:48 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: [ia64] graphics/dri breaks poudriere bulk 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> <20131214114601.GC59496@kib.kiev.ua> In-Reply-To: <20131214114601.GC59496@kib.kiev.ua> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP 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:51:55 -0000 On 12/14/13 12:46, Konstantin Belousov wrote: > 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 more >>>>>> importantly, the makefile for libdrm is wrong, since it says that intel >>>>>> dri drivers are built for i386, amd64, ia64 and pc98. However, it would >>>>>> be nice to get this tested. >>>>> It makes absolutely no sense to build libdrm_intel.so or any intel mesa >>>>> 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 ? >>> >> >> >From the original error report my Marcel: >> >>> 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 >= 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. >>> ===> Script "configure" failed unexpectedly. >> >> 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. > by dri I mean the port graphics/dri. So the error is that these drivers are built on ia64 anyway, and also that graphics/libdrm is in error to add those to the plist. Regards! -- Niclas Zeising