I have LibreELEC compiling file I can create a release, but it appears the release simply uses the previously built packages, if I modify Kodi for instance, and then want to include the changes in the release I'm getting lost. I have made the changes and I ran "make clean" on "odi-17.0-beta3-7041777" so I can recompile kodi, however I can not simply run make as that fails:
make[1]: *** No rule to make target '/usr/lib/libdvdcss.a', needed by '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/system/players/VideoPlayer/libdvdcss-aarch64.so'. Stop.
make[1]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/lib/libdvd'
Makefile:346: recipe for target 'dvdpcodecs' failed
make: *** [dvdpcodecs] Error 2
So I need to locate what command the initial "make image" uses to compile kodi, second I need to understand how to get the newly compiled copy of kodi included. Since "make release" does not work as I'd expected and still adds kodi without recompiling it.
I need help with 2 things:
First I need some help tracking down how kodi is compiled (what are the values passed to make), many of these come from package.mk for kodi, but that is not the whole story.
Second what is required to get the updated kodi binaries included in the tar so that I can push it to teh device for testing.
All of this is because the ODRIOD C2 EDID dection is worthless and entirely useless, so I'm looking to add a patch that will allow a user to over-ride the C2 detection with a manual list. I have the fix it is 5 lines (and it compiles), but to include it and test I need to get past the 2 issues I'm encountering above.
Thanks,
ERIC
[hr]
I think I figured out how to force a recompile of a component remove the <build>/.stamps/<component name> this seems to force the package to be rebuilt, now however I have a another issue and it is a big one:
BUILD kodi (host)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin
make[1]: Entering directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin'
make[2]: Entering directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin'
make[3]: Entering directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin'
make[3]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin'
[100%] Built target JsonSchemaBuilder
make[2]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin'
make[1]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/JsonSchemaBuilder/bin'
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.5)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin
make[1]: Entering directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin'
make[2]: Entering directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin'
make[3]: Entering directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin'
make[3]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin'
[100%] Built target TexturePacker
make[2]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin'
make[1]: Leaving directory '/home/egandt/libreelec/http://LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/tools/depends/native/TexturePacker/bin'
BUILD kodi (target)
make: getcwd: No such file or directory
make[1]: Entering directory ''
make[1]: *** No rule to make target 'configure.ac', needed by 'configure'. Stop.
make[1]: Leaving directory ''
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 2
There are many copies of configure.ac in kodi:
./configure.ac
./lib/gtest/configure.ac
./lib/cpluff/examples/configure.ac
./lib/cpluff/configure.ac
./tools/depends/configure.ac
./tools/depends/native/JsonSchemaBuilder/src/configure.ac
./tools/depends/native/TexturePacker/src/configure.ac
Also I manually can compile ./tools/depends/native/TexturePacker/bin, which is where it seems to error out.
Packer/bin$ make
[ 10%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/md5.o
[ 20%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/XBTFWriter.o
[ 30%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/TexturePacker.o
[ 40%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/DecoderManager.o
[ 50%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/decoder/JPGDecoder.o
[ 60%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/decoder/PNGDecoder.o
[ 70%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/decoder/GifHelper.o
[ 80%] Building CXX object CMakeFiles/http://TexturePacker.dir/src/decoder/GIFDecoder.o
[ 90%] Building CXX object CMakeFiles/http://TexturePacker.dir/home/egandt/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/kodi-17.0-beta3-7041777/xbmc/guilib/XBTF.o
[100%] Linking CXX executable TexturePacker
[100%] Built target TexturePacker
I'm starting to think removing kodi* from .stamps was not teh right thing to do, but I can not come up with any way to repair it (as make image does not work), or else how to get make image to pick update code changes to a component.
So this is where I'm stuck for the night.
Thanks,
ERIC