Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 09:40:22 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Niclas Zeising <zeising@freebsd.org>
Cc:        x11@FreeBSD.org
Subject:   Re: [ia64] graphics/dri breaks poudriere bulk
Message-ID:  <0D36CB89-5769-4160-A850-594925FFE609@xcllnt.net>
In-Reply-To: <52AC4654.1060002@freebsd.org>
References:  <3E272052-D3D6-4684-9B31-E638A41C4858@xcllnt.net> <D82E4E90-407F-48FF-832D-4FB53677EC11@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> <52AC4654.1060002@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_0F89B6DF-1FD4-4A68-A042-5E2C0BFC9DDC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1251


On Dec 14, 2013, at 3:51 AM, Niclas Zeising <zeising@freebsd.org> wrote:

> 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.
>>>>>>=20
>>>>>> I have no idea what you can test there.
>>>>>>=20
>>>>>=20
>>>>> 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
>>>> =46rom 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:
>>>>=20
>>>> 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
>>>>=20
>>>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>>>> installed software in a non-standard prefix.
>>>>=20
>>>> 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.
>>=20
>> 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.
>>=20
>> libdrm autoconf.ac correctly disables build of libdrm_intel.so on =
!x86.
>>=20
>=20
> 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.

Sorry for the delay. I concur with what kib@ said. I'll see about
fixing libdrm and the Mesa ports.

FYI,

--=20
Marcel Moolenaar
marcel@xcllnt.net



--Apple-Mail=_0F89B6DF-1FD4-4A68-A042-5E2C0BFC9DDC
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlKvOwYACgkQpgWlLWHuifazgwCgie+DPOGjmXtuM4ehJ+0rqo3i
ye8An2U2GENwbUmZV2b4G+aGphKw0xTO
=ytLy
-----END PGP SIGNATURE-----

--Apple-Mail=_0F89B6DF-1FD4-4A68-A042-5E2C0BFC9DDC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0D36CB89-5769-4160-A850-594925FFE609>