Compile error

hi!
I was trying to compile the latest kodi on osmc and i got this error
i did a clean git clone from osmc
Tried to sudo make rbp2 i couple of time but with the same result
anyone got a clue?
CPP xbmc/filesystem/UPnPFile.o
AR xbmc/filesystem/filesystem.a
Build failed!
Makefile:8: recipe for target ‘rbp2’ failed
make: *** [rbp2] Error 1
make: Leaving directory ‘/mnt/package/mediacenter-osmc’
make: *** [rbp2] Fel 2

Can you copy the whole log to paste.osmc.io

hehe yes logning is good just have to learn to read first
solved the problem when I check the log,
it was JsonSchemaBuilder that cause the error

ran into another problem when I try and compile kodi 17 with popcornmix newclock5 patch any idea what I have missed?
AS libavcodec/arm/hevcdsp_deblock_neon.o
libavcodec/arm/hevcdsp_deblock_neon.S:1:0: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
/*
^
libavcodec/arm/hevcdsp_deblock_neon.S: Assembler messages:
libavcodec/arm/hevcdsp_deblock_neon.S:412: Error: thumb conditional instruction should be in IT block – ldrne a3,[v5,#0]' libavcodec/arm/hevcdsp_deblock_neon.S:413: Error: thumb conditional instruction should be in IT block -- ldreq a3,[v5,#4]’
libavcodec/arm/hevcdsp_deblock_neon.S:414: Error: thumb conditional instruction should be in IT block – moveq v1,v2' libavcodec/arm/hevcdsp_deblock_neon.S:416: Error: thumb conditional instruction should be in IT block -- ldrne v8,[v6,#0]’
libavcodec/arm/hevcdsp_deblock_neon.S:417: Error: thumb conditional instruction should be in IT block – ldreq v8,[v6,#4]' libavcodec/arm/hevcdsp_deblock_neon.S:418: Error: thumb conditional instruction should be in IT block -- moveq v3,v4’
libavcodec/arm/hevcdsp_deblock_neon.S:427: Error: thumb conditional instruction should be in IT block – movne a3,#1' libavcodec/arm/hevcdsp_deblock_neon.S:429: Error: thumb conditional instruction should be in IT block -- strbhs a3,[v7],a4’
libavcodec/arm/hevcdsp_deblock_neon.S:445: Error: thumb conditional instruction should be in IT block – teqeq v2,v4' libavcodec/arm/hevcdsp_deblock_neon.S:490: Error: thumb conditional instruction should be in IT block -- teqeq v2,v3’
AS libavcodec/arm/hevcdsp_epel_neon.o
common.mak:69: recipe for target ‘libavcodec/arm/hevcdsp_deblock_neon.o’ failed
make: *** [libavcodec/arm/hevcdsp_deblock_neon.o] Error 1
make: *** Waiting for unfinished jobs…
libavcodec/arm/hevcdsp_epel_neon.S:1:0: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
/*
^
libavcodec/arm/hevcdsp_epel_neon.S: Assembler messages:
libavcodec/arm/hevcdsp_epel_neon.S:113: Error: selected processor does not support Thumb mode adrl r12,epel_coeffs' libavcodec/arm/hevcdsp_epel_neon.S:173: Error: selected processor does not support Thumb mode adrl r12,epel_coeffs’
libavcodec/arm/hevcdsp_epel_neon.S:249: Error: selected processor does not support Thumb mode `adrl r12,epel_coeffs’
common.mak:69: recipe for target ‘libavcodec/arm/hevcdsp_epel_neon.o’ failed
make: *** [libavcodec/arm/hevcdsp_epel_neon.o] Error 1
AS libavcodec/arm/hevcdsp_idct_neon.o
libavcodec/arm/hevcdsp_idct_neon.S:1:0: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
/*
^
ERROR: Building ffmpeg failed
checking for FFMPEG… no
configure: error: “ffmpeg not found”
make: *** No targets specified and no makefile found. Stop.
Build failed!
Makefile:8: recipe for target ‘rbp2’ failed
make: *** [rbp2] Error 1
make: Leaving directory ‘/mnt/package/mediacenter-osmc’
make: *** [rbp2] Fel 2

Avoid the hevcdsp patch as we have done. We’re currently working on fixing this

i tried to compile osmc for rbp2 on debian system.
but i get this error:

AR      xbmc/filesystem/filesystem.a
Build failed!
Makefile:8: recipe for target 'rbp2' failed
make: *** [rbp2] Error 1
make: Leaving directory '/mnt/package/mediacenter-osmc'
Makefile:8: recipe for target 'rbp2' failed
make: *** [rbp2] Error 2

It’s not a full build log, so not clear what the issue is.

where is the build log placed?

Unless you redirected stdout or stderr, the console.

that’s my log:
http://paste.osmc.io/nuvaxucezo.coffee

do you know what’s the problem?

Not really. Does it build without your patch? I’d try that first.

compiling on rasp3 with the patch was working fine.
ok, i try it without the patch.

same error without my patch.

You said it builds fine on Pi3.

What are you trying to build on currently? OS and device please.

it’s virtual box with debian.
on first run, i got an error about arm-v7. so i needed to make this before.
now it stops on filesystem.a.
but i don’t know how to solve.

Which version of Debian?

We don’t recommend building Kodi for other platforms (non x64 or i386) on PC. You should build on your local device instead.

Build on your Pi instead

my version is: debian-live-8.7.1-amd64-kde-desktop.iso
ok i try the x86 version.

That won’t work.
I also don’t recommend building on a Live distro.

Just build on Pi.

switched back to rasp3
now i get this error. very confuse. it’s just a new setup with image 2/17 of osmc:

patching file xbmc/settings/AdvancedSettings.cpp
patching file xbmc/settings/AdvancedSettings.h
patching file xbmc/linux/RBP.cpp
patching file xbmc/settings/AdvancedSettings.cpp
patching file system/settings/rbp2.xml
patching file xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/MMALRenderer.cpp
patching file project/cmake/modules/FindFFMPEG.cmake
Exiting build
Makefile:8: recipe for target 'rbp2' failed
make: *** [rbp2] Error 1
make: Leaving directory '/mnt/package/mediacenter-osmc'
Makefile:8: recipe for target 'rbp2' failed
make: *** [rbp2] Error 2