Compile Failed 4.6

emuelec@ubuntu:~/project/EmuELEC$ PROJECT=Amlogic-ce DEVICE=Amlogic-ng ARCH=aarch64 DISTRO=EmuELEC ./scripts/build emuelec-emulationstation
BUILD emuelec-emulationstation (target)
TOOLCHAIN cmake (auto-detect)
Executing (target): cmake -GNinja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE=/home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/etc/cmake-aarch64-libreelec-linux-gnueabi.conf -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=MinSizeRel -DENABLE_EMUELEC=1 -DDISABLE_KODI=1 -DENABLE_FILEMANAGER=1 -DGLES2=1 /home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/emuelec-emulationstation-a70313633ef29b57e287efaeb6dfa7967684969b
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.

kodi disabled
file manager enabled
CEC enabled
– Looking for FreeImage…
– Checking for module ‘freeimage’
– No package ‘freeimage’ found
– Found FreeImage: optimized;/home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/lib/libfreeimage.so;debug;/home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/lib/libfreeimage.so
– VLC library found
pulse audio disabled
udev found. guns enabled
tts disabled
– Looking for libCEC…
– Checking for module ‘libcec’
– No package ‘libcec’ found
– Could not locate libCEC
– Native language support enabled.
CMake Error at external/CMakeLists.txt:5 (add_subdirectory):
** The source directory**

** /home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/emuelec-emulationstation-a70313633ef29b57e287efaeb6dfa7967684969b/external/pugixml**

** does not contain a CMakeLists.txt file.**

CMake Deprecation Warning at external/id3v2lib/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.

Building the pot file
LANG = ar
LANG = ca
LANG = cs_CZ
LANG = cy_GB
LANG = de
LANG = el
LANG = en_GB
LANG = es
LANG = es_MX
LANG = eu_ES
LANG = fi_FI
LANG = fr
LANG = he
LANG = hu
LANG = it
LANG = ja_JP
LANG = ko
LANG = nb_NO
LANG = nl
LANG = nn_NO
LANG = oc_FR
LANG = pl
LANG = pt_BR
LANG = pt_PT
LANG = ru_RU
LANG = sv_SE
LANG = tr
LANG = uk_UA
LANG = zh_CN
LANG = zh_TW
– Configuring incomplete, errors occurred!
See also “/home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/build/emuelec-emulationstation-a70313633ef29b57e287efaeb6dfa7967684969b/.aarch64-libreelec-linux-gnueabi/CMakeFiles/CMakeOutput.log”.
FAILURE: ./scripts/build emuelec-emulationstation during configure_target (default)
*********** FAILED COMMAND ***********
cmake ${CMAKE_GENERATOR_NINJA} ${TARGET_CMAKE_OPTS} ${PKG_CMAKE_OPTS_TARGET} ${PKG_CMAKE_SCRIPT%/*}


@EmuELEC I’ve been trying to get through here

install reminiscence:target
<<< scummvm:target seq 435 <<<
GET scummvm (archive)
–2023-01-29 17:24:47-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:48-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:49-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:50-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:51-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:52-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:53-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:54-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:55-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:56-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:57-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:58-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:24:59-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:00-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:01-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:02-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:03-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:04-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:05-- https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.
–2023-01-29 17:25:06-- http://sources.libreelec.tv/mirror/scummvm/scummvm-2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Connecting to 192.168.3.72:7890… failed: Connection refused.

Cannot get scummvm sources : https://github.com/libretro/scummvm/archive/2fb2e4c551c9c1510c56f6e890ee0300b7b3fca3.tar.gz
Try later!
*********** FAILED COMMAND ***********
. “${get_handler}”


*********** FAILED COMMAND ***********
${SCRIPTS}/get “${PKG_NAME}”


*********** FAILED COMMAND ***********
${SCRIPTS}/unpack “${PKG_NAME}” “${PARENT_PKG}”


*********** FAILED COMMAND ***********
${SCRIPTS}/build “${1}” “${PARENT_PKG}”


FAILURE: scripts/install scummvm:target has failed!

The following log for this failure is available:
/home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/.threads/logs/435.log

scummvm:target seq 435 >>>
[433/627] [FAIL] install scummvm:target

The following log for this failure is available:
/home/emuelec/project/EmuELEC/build.EmuELEC-Amlogic-ng.aarch64-4/.threads/logs/435.log

Parallel build failure - see log for details. Time of failure: Sun Jan 29 17:25:07 CST 2023
make: *** [Makefile:10:image] 错误 1
@EmuELEC

Traceback (most recent call last):
File “/home/emuelec/project/EmuELEC/scripts/genbuildplan.py”, line 369, in
REQUIRED_PKGS = processPackages(args, ALL_PACKAGES)
File “/home/emuelec/project/EmuELEC/scripts/genbuildplan.py”, line 298, in processPackages
raise Exception(msg)
Exception: Invalid package reference: dependency SDL2-git in package scummvmsa::PKG_DEPENDS_TARGET is not valid
Parallel build failure - see log for details. Time of failure: Sun Jan 29 18:15:35 CST 2023

Seems spleen1981 has force pushed libretro/scummvm so the commit used in v4.6 is missing.

Multiple ways to work around this:

  • Edit scummvm’s package.mk to use another existing commit by yourself

  • Or backport this commit to your EmuELEC tree which updates scummvm (so an existing commit)

  • Or build from the newer EmuELEC source that contains the above commit

Force push is never a good idea for some repo that’s definitely gonna be referred to in other projects…