# Compile Failed 4.6

**URL:** <https://emuelec.discourse.group/t/compile-failed-4-6/1651>\
**Category:** Amlogic Devices\
**Created:** [January 28, 2023, 2:07pm UTC](https://emuelec.discourse.group/t/compile-failed-4-6/1651 "2023-01-28T14:07:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidLiu](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@DavidLiu](https://emuelec.discourse.group/u/DavidLiu)\
**Post date:** [January 28, 2023, 2:07pm UTC](https://emuelec.discourse.group/t/compile-failed-4-6/1651/1 "2023-01-28T14:07:00Z")

</div>

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%/\*}

* * *

---

<div class="post-metadata">

**Author:** ![DavidLiu](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@DavidLiu](https://emuelec.discourse.group/u/DavidLiu)\
**Post date:** [January 28, 2023, 2:08pm UTC](https://emuelec.discourse.group/t/compile-failed-4-6/1651/2 "2023-01-28T14:08:42Z")

</div>

@EmuELEC I’ve been trying to get through here

---

<div class="post-metadata">

**Author:** ![DavidLiu](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@DavidLiu](https://emuelec.discourse.group/u/DavidLiu)\
**Post date:** [January 29, 2023, 9:27am UTC](https://emuelec.discourse.group/t/compile-failed-4-6/1651/3 "2023-01-29T09:27:10Z")

</div>

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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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](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

---

<div class="post-metadata">

**Author:** ![DavidLiu](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@DavidLiu](https://emuelec.discourse.group/u/DavidLiu)\
**Post date:** [January 29, 2023, 10:16am UTC](https://emuelec.discourse.group/t/compile-failed-4-6/1651/4 "2023-01-29T10:16:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![7Ji](https://yyz2.discourse-cdn.com/free1/user_avatar/emuelec.discourse.group/7ji/32/336_2.png) [@7Ji](https://emuelec.discourse.group/u/7Ji)\
**Post date:** [January 31, 2023, 8:25am UTC](https://emuelec.discourse.group/t/compile-failed-4-6/1651/5 "2023-01-31T08:25:58Z")

</div>

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](https://github.com/EmuELEC/EmuELEC/commit/53585891cae85cd3bc8f97fb49d0cfbec204247f) 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…
