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
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to