[oi-dev] Problems with packages and drm
ken mays
maybird1776 at yahoo.com
Tue Dec 27 20:30:33 UTC 2016
Migrate your work to libdrm 2.4.74 and we'll scan it for our compliance review.
~ Ken
On Tuesday, December 27, 2016 7:17 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20161227/85d4e524/attachment-0005.html>
More information about the oi-dev
mailing list