Build Errors

Hello~

I’m trying to build CoreELEC following guide coreelec:build_ce [CoreELEC Wiki].
However, the 404: Not Found error continues to occur after the “DEVICE= Amlogic-ng make” command. I’ve tried for 3 days.
Any help would be greatly appreciated.

[025/358] [DONE] build   libpng:host
<<< xz:host seq 23 <<<
GET      xz (archive)
--2024-04-05 13:56:11--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:11 ERROR 404: Not Found.

--2024-04-05 13:56:11--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:13--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:14 ERROR 404: Not Found.

--2024-04-05 13:56:14--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:14 ERROR 404: Not Found.

--2024-04-05 13:56:14--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:14 ERROR 404: Not Found.

--2024-04-05 13:56:14--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:15--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:17 ERROR 404: Not Found.

--2024-04-05 13:56:17--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:17 ERROR 404: Not Found.

--2024-04-05 13:56:17--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:17 ERROR 404: Not Found.

--2024-04-05 13:56:17--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:18--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:19 ERROR 404: Not Found.

--2024-04-05 13:56:19--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:20 ERROR 404: Not Found.

--2024-04-05 13:56:20--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:20 ERROR 404: Not Found.

--2024-04-05 13:56:20--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:20--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:21 ERROR 404: Not Found.

--2024-04-05 13:56:21--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:22 ERROR 404: Not Found.

--2024-04-05 13:56:22--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:22 ERROR 404: Not Found.

--2024-04-05 13:56:22--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:23--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:24 ERROR 404: Not Found.

--2024-04-05 13:56:24--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:24 ERROR 404: Not Found.

--2024-04-05 13:56:24--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:24 ERROR 404: Not Found.

--2024-04-05 13:56:24--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:25--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:26 ERROR 404: Not Found.

--2024-04-05 13:56:26--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:26 ERROR 404: Not Found.

--2024-04-05 13:56:26--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:26 ERROR 404: Not Found.

--2024-04-05 13:56:26--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:27--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:28 ERROR 404: Not Found.

--2024-04-05 13:56:28--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:29 ERROR 404: Not Found.

--2024-04-05 13:56:29--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:29 ERROR 404: Not Found.

--2024-04-05 13:56:29--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:29--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:30 ERROR 404: Not Found.

--2024-04-05 13:56:30--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:31 ERROR 404: Not Found.

--2024-04-05 13:56:31--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:31 ERROR 404: Not Found.

--2024-04-05 13:56:31--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:31--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:32 ERROR 404: Not Found.

--2024-04-05 13:56:32--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:33 ERROR 404: Not Found.

--2024-04-05 13:56:33--  https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Resolving github.com (github.com)... 20.200.245.247
Connecting to github.com (github.com)|20.200.245.247|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:33 ERROR 404: Not Found.

--2024-04-05 13:56:33--  http://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Resolving sources.coreelec.org (sources.coreelec.org)... 116.203.16.118
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.coreelec.org/xz/xz-5.4.6.tar.xz [following]
--2024-04-05 13:56:34--  https://sources.coreelec.org/xz/xz-5.4.6.tar.xz
Connecting to sources.coreelec.org (sources.coreelec.org)|116.203.16.118|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:35 ERROR 404: Not Found.

--2024-04-05 13:56:35--  http://sources.libreelec.tv/mirror/xz/xz-5.4.6.tar.xz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 65.109.172.87
Connecting to sources.libreelec.tv (sources.libreelec.tv)|65.109.172.87|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-04-05 13:56:35 ERROR 404: Not Found.


Cannot get xz sources : https://github.com/tukaani-project/xz/releases/download/v5.4.6/xz-5.4.6.tar.xz
Try later!

I did upload the sources now and it should work again.
The repo was now completely removed:

Ah yes the xz drama. Causing quite a stir amongst my fellow Cybersecurity peers. Supposedly a highly sophisticated bad actor infiltrated the xz dev space gained their trust over like a 2 year period, eventually gained authorship of the project and ultimately injected a very nasty remote code execution backdoor. As a result GitHub disabled the xz repo on their end as a safety precaution and due to ToS violation.

In the future if you get 404 issues with sources (e.g. I had this issue intermittently with some of my builds with gnu sources a few times). You can manually download the source package, and then create a sha256sum file, URL and stick all three in the respective source directory and allow the build to continue.

@Portisch @PurplePlayer
Thank you. I’ve just built successfully.

Some issues with Amlogic-ne as well, https://sources.coreelec.org/libaio/libaio-0.3.113.tar.gz returns 404 and other sources either timeout or give error 301.

Original link is h**ps://pagure.io/libaio/archive/libaio-0.3.113/libaio-libaio-0.3.113.tar.gz which works. So it must be someething on your side.
Next time put terminal output to pastebin or other service to see what actually happen.

Yes, now I was able to continue and build Kodi. Must have been a network glitch.

Next issue happened after running make to build CoreELEC, elfutils fails.
Log at BUILD elfutils (host) TOOLCHAIN autotoolsExecuting (host): /hom - Pastebin.com

On which OS you are building? Looks like not Ubuntu.

It is Ubuntu 20.04.5, running in VirtualBox. I’ve been using this setup for a long time and this is the first time I have issues.

./scripts/clean elfutils
./scripts/build elfutils:host

Also check if you have enough disk space.

1 Like

Thanks! I was now able to compile all :slight_smile:

And one more build error in the Kodi part, this time I’ve set up Ubuntu in WSL2, didn’t test if a VBoxed Ubuntu would work. Looks like the packages are just not matching because the checksum oddly varies between the mirrored files.

This is again the issue which happens only for you. This zlib package download here without an issue.

And you should know that WSL is not really something we deal with and no idea about it’s status.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.