<div><div dir="auto">Peter</div></div><div dir="auto"><br></div><div dir="auto">I have a fix for this that I just need to sanitise one more time (the compilation failure is the v4l2 drm prime patch). There’s no need to make any changes for the android build.</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Mark</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 22 Jul 2020 at 18:04, Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div>
    <p>Hi Mark<br>
    </p>
    <p>The new ffmpeg is causing this compile error</p>
    <p>libavcodec/v4l2_buffers.c:24:10: fatal error: 'drm_fourcc.h' file
      not found<br>
      #include <drm_fourcc.h><br>
               ^~~~~~~~~~~~~~<br>
    </p>
    <p>This is the same error as happened in Ubuntu (see below). On
      ubuntu it was solved by installing libdrm-dev. <br>
    </p>
    <div>What is the process for including
      another lib (librm-dev) in the android package? Do you have a
      recipe for this?<br>
    </div>
    <div><br>
    </div>
    <div>Peter</div>
    <div><br>
    </div>
    <div>-------- Forwarded Message
      --------
      <table cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">Subject:
            </th>
            <td>[Mythtv-developers] Ubuntu FTBFS on 32</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">Date: </th>
            <td>Mon, 20 Jul 2020 13:49:04 -0500</td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">From: </th>
            <td>Mario Limonciello <a href="mailto:superm1@gmail.com" target="_blank"><superm1@gmail.com></a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">Reply-To:
            </th>
            <td><a href="mailto:mythtv-developers@mythtv.org" target="_blank">mythtv-developers@mythtv.org</a></td>
          </tr>
          <tr>
            <th valign="BASELINE" nowrap align="RIGHT">To: </th>
            <td><a href="mailto:mythtv-developers@mythtv.org" target="_blank">mythtv-developers@mythtv.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">This just started to show up on focal and
            groovy builds:
            <div><br>
            </div>
            <div>
              <pre style="color:rgb(0,0,0);white-space:pre-wrap">ccache gcc -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avcodec -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -std=c11 -DNDEBUG -fomit-frame-pointer -fPIC  -pthread -I/usr/include/libxml2 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16  -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -isystem/opt/vc/include/ -isystem/opt/vc/include/interface/vmcs_host/linux -isystem/opt/vc/include/interface/vcos/pthreads -fgnu89-inline -g -Wall -Wextra -Wdisabled-optimization -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -O3 -fno-math-errno -fno-signed-zeros   -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -fdiagnostics-color=auto -Wno-maybe-uninitialized -Wdouble-promotion -Wduplicated-cond -Wjump-misses-init -Wlogical-op -Wnull-dereference -Wshadow  -w -std=c11 -fomit-frame-pointer -fPIC -I/<<PKGBUILDDIR>>/mythtv/external/nv-codec-headers/install/include -pthread  -I/usr/include/p11-kit-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16      -I/usr/include/libxml2       -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -D_REENTRANT -I/usr/include/SDL2  -MMD -MF libavcodec/v4l2_buffers.d -MT libavcodec/v4l2_buffers.o -c -o libavcodec/v4l2_buffers.o libavcodec/v4l2_buffers.c
libavcodec/v4l2_buffers.c:24:10: fatal error: drm_fourcc.h: No such file or directory
<pre style="white-space:pre-wrap">   24 | #include <drm_fourcc.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [ffbuild/common.mak:59: libavcodec/v4l2_buffers.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/mythtv/external/FFmpeg'
make[3]: *** [Makefile:29: FFmpeg-all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mythtv/external'
make[2]: *** [Makefile:66: external] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/mythtv'
make[1]: *** [debian/rules:108: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:98: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 20200720-0422

Finished</pre></pre></div></div></div></div></div></div><div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>
              <div><br>
              </div>
              -- <br>
              <div dir="ltr"><span style="font-size:x-small"><font color="#666666">Mario
                    Limonciello<br>
                    <a href="mailto:superm1@gmail.com" target="_blank">superm1@gmail.com</a></font></span></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

_______________________________________________<br>
mythtv-dev mailing list<br>
<a href="mailto:mythtv-dev@mythtv.org" target="_blank">mythtv-dev@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-dev" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-dev</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div></div>