<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1482868792120_16067">Migrate your work to libdrm 2.4.74 and we'll scan it for our compliance review.</div><div id="yui_3_16_0_ym19_1_1482868792120_16074"><br></div><div id="yui_3_16_0_ym19_1_1482868792120_16068">~ Ken</div><div id="yui_3_16_0_ym19_1_1482868792120_16069"><br></div><div id="yui_3_16_0_ym19_1_1482868792120_16070"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Tuesday, December 27, 2016 7:17 AM, Alexander Pyhalov <alp@rsu.ru> wrote:<br></font></div>  <br><br> <div class="y_msg_container">On 12/27/16 02:02 PM, Alexander Pyhalov wrote:<br clear="none">> On 12/26/16 09:17 PM, Andreas Wacknitz wrote:<br clear="none">>> Hi,<br clear="none">>><br clear="none">>> I have two kind of problems building and publishing packages with drm.<br clear="none">>><br clear="none">>> 1. #include <drm.h> fails for several packags now.<br clear="none">>>     I don't know whether this is simply because of a missing include<br clear="none">>> path or something else.<br clear="none">>>     Example packages: x11/mesa, x11/redshift, x11/tigervnc,<br clear="none">>> x11/xf86-video-ati, x11/xf86-video-openchrome<br clear="none">>> 2. Some package cannot link successfully anymore because of 32/64 clash<br clear="none">>> with libdrm.so:<br clear="none">>>     They fail with "ld: fatal: file /usr/lib/xorg/amd64/libdrm.so: wrong<br clear="none">>> ELF class: ELFCLASS64"<br clear="none">>>     It seems as if 32 bit builds try to use 64 bit libdrm.<br clear="none">>>     Example packages: clutter-gst, clutter-gtk<br clear="none">>><br clear="none">>> Are these problems local here or does anybody else suffer? And how can<br clear="none">>> this be fixed?<br clear="none">>><br clear="none">><br clear="none">> Hi.<br clear="none">> Updated my build zone, installed header-drm....<br clear="none">> See the same.<br clear="none">> libdrm.pc is broken.<br clear="none">><br clear="none">> Created <a shape="rect" href="https://www.illumos.org/issues/7692" target="_blank">https://www.illumos.org/issues/7692 </a>.<br clear="none">><br clear="none">><br clear="none"><br clear="none">Gordon, it seems the following patch fixes the issue:<br clear="none"><br clear="none"><a shape="rect" href="https://github.com/pyhalov/gfx-drm/commit/b1ebcc82b300cdb4abd4ad83b0b1b832758fb73f" target="_blank">https://github.com/pyhalov/gfx-drm/commit/b1ebcc82b300cdb4abd4ad83b0b1b832758fb73f</a><br clear="none"><br clear="none">Current patch mechanism in gfx-drm is ugly, so I had to update also <br clear="none">another patch, touching *.pc.in files, but it's as sepate issue.<br clear="none"><br clear="none">Also this patch fixes one compilation warning:<br clear="none"><a shape="rect" href="https://github.com/pyhalov/gfx-drm/commit/b30075dd1203a123a871687281c2dc1f38fe956e" target="_blank">https://github.com/pyhalov/gfx-drm/commit/b30075dd1203a123a871687281c2dc1f38fe956e</a><br clear="none">(seems to appear only in debug build).<br clear="none"><br clear="none"><br clear="none">As this issue affects oi-userland build, I'd appreciate if someone <br clear="none">committed this (or another) fix for <a shape="rect" href="https://www.illumos.org/issues/7692" target="_blank">https://www.illumos.org/issues/7692</a><div class="yqt2557363846" id="yqtfd64178"><br clear="none">-- <br clear="none">Best regards,<br clear="none">Alexander Pyhalov,<br clear="none">system administrator of Southern Federal University IT department<br clear="none"><br clear="none">_______________________________________________<br clear="none">oi-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:oi-dev@openindiana.org" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br clear="none"><a shape="rect" href="https://openindiana.org/mailman/listinfo/oi-dev" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>