[oi-dev] Problems with packages and drm
Gordon Ross
gordon.w.ross at gmail.com
Sat Dec 31 17:35:56 UTC 2016
Here's a PR to cleanup the warning and pkgconfig nits
(Make the Check-patches output clean)
https://github.com/illumos/gfx-drm/pull/3
On Sat, Dec 31, 2016 at 12:57 AM, Gordon Ross <gordon.w.ross at gmail.com> wrote:
> I've been only occasionally available the last couple weeks.
> I see you committed the pkgconfig, which is fine of course,
> but now Check_patches doesn't run "clean"...
>
> I'll need to fix that before the next version bump in libdrm.
>
> BTW, does the upstream (libdrm development) really use
> usr/include/libdrm (not usr/include/drm?)
> If so, perhaps we should too.
>
>
>
> On Tue, Dec 27, 2016 at 10:18 AM, Alexander Pyhalov <alp at rsu.ru> wrote:
>> On 12/27/16 02:02 PM, Alexander Pyhalov wrote:
>>>
>>> On 12/26/16 09:17 PM, Andreas Wacknitz wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have two kind of problems building and publishing packages with drm.
>>>>
>>>> 1. #include <drm.h> fails for several packags now.
>>>> I don't know whether this is simply because of a missing include
>>>> path or something else.
>>>> Example packages: x11/mesa, x11/redshift, x11/tigervnc,
>>>> x11/xf86-video-ati, x11/xf86-video-openchrome
>>>> 2. Some package cannot link successfully anymore because of 32/64 clash
>>>> with libdrm.so:
>>>> They fail with "ld: fatal: file /usr/lib/xorg/amd64/libdrm.so: wrong
>>>> ELF class: ELFCLASS64"
>>>> It seems as if 32 bit builds try to use 64 bit libdrm.
>>>> Example packages: clutter-gst, clutter-gtk
>>>>
>>>> Are these problems local here or does anybody else suffer? And how can
>>>> this be fixed?
>>>>
>>>
>>> Hi.
>>> Updated my build zone, installed header-drm....
>>> See the same.
>>> libdrm.pc is broken.
>>>
>>> Created https://www.illumos.org/issues/7692 .
>>>
>>>
>>
>> Gordon, it seems the following patch fixes the issue:
>>
>> https://github.com/pyhalov/gfx-drm/commit/b1ebcc82b300cdb4abd4ad83b0b1b832758fb73f
>>
>> Current patch mechanism in gfx-drm is ugly, so I had to update also another
>> patch, touching *.pc.in files, but it's as sepate issue.
>>
>> Also this patch fixes one compilation warning:
>> https://github.com/pyhalov/gfx-drm/commit/b30075dd1203a123a871687281c2dc1f38fe956e
>> (seems to appear only in debug build).
>>
>>
>> As this issue affects oi-userland build, I'd appreciate if someone committed
>> this (or another) fix for https://www.illumos.org/issues/7692
>> --
>> Best regards,
>> Alexander Pyhalov,
>> system administrator of Southern Federal University IT department
>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
More information about the oi-dev
mailing list