[oi-dev] Problems with packages and drm
alp at rsu.ru
Tue Dec 27 15:18:05 UTC 2016
On 12/27/16 02:02 PM, Alexander Pyhalov wrote:
> On 12/26/16 09:17 PM, Andreas Wacknitz wrote:
>> 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?
> 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:
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:
(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
system administrator of Southern Federal University IT department
More information about the oi-dev