[mythtv] Compile failure : android mythfrontend

Mark Kendall mark.kendall at gmail.com
Wed Jul 22 18:30:13 UTC 2020


Peter

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.

Regards
Mark

On Wed, 22 Jul 2020 at 18:04, Peter Bennett <pb.mythtv at gmail.com> wrote:

> Hi Mark
>
> The new ffmpeg is causing this compile error
>
> libavcodec/v4l2_buffers.c:24:10: fatal error: 'drm_fourcc.h' file not found
> #include <drm_fourcc.h>
>          ^~~~~~~~~~~~~~
>
> This is the same error as happened in Ubuntu (see below). On ubuntu it was
> solved by installing libdrm-dev.
> What is the process for including another lib (librm-dev) in the android
> package? Do you have a recipe for this?
>
> Peter
>
> -------- Forwarded Message --------
> Subject: [Mythtv-developers] Ubuntu FTBFS on 32
> Date: Mon, 20 Jul 2020 13:49:04 -0500
> From: Mario Limonciello <superm1 at gmail.com> <superm1 at gmail.com>
> Reply-To: mythtv-developers at mythtv.org
> To: mythtv-developers at mythtv.org
>
> This just started to show up on focal and groovy builds:
>
> 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
>
>    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
>
>
> --
> Mario Limonciello
> superm1 at gmail.com
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20200722/446f0f8c/attachment.htm>


More information about the mythtv-dev mailing list