Build errors - downloading source files

Attempted to build a fresh pull of CoreELEC tonight using command:

DEVICE=Amlogic-ng make

Running into 400/404 errors when it tries to pull the source code for certain tools. First happened with “keyutils”, but I found a link that worked and fixed it. But now I’m having an issue with “connman” and figure there must be something going on.

--2024-05-04 21:23:58--  https://git.kernel.org/pub/scm/network/connman/connman.git/snapshot/connman-1cde7a6598a639d1f1eb16f7929f32919172ef10.tar.gz
Resolving git.kernel.org (git.kernel.org)... 139.178.84.217, 2604:1380:4641:c500::1
Connecting to git.kernel.org (git.kernel.org)|139.178.84.217|:443... connected.
HTTP request sent, awaiting response... 400 Bad request
2024-05-04 21:23:58 ERROR 400: Bad request.

Almost looks like it’s not possible to use snapshot downloading on git.kernel.org?

Looks like something wrong on server. But I copied file to CE server and should download it from there.

CoreELEC-22 Amlogic-no build error.
Ubuntu 22 (builds ng OK)

PROJECT=Amlogic-ce DEVICE=Amlogic-no ARCH=aarch64 make image -j4
1.log (9.5 KB)
Seems that there is a path problem or similar.

Try without -j4 because it is handled internaly.
Or use variable CONCURRENCY_MAKE_LEVEL.

Thanks…but no luck with either option.
As you can see, it gets through a couple of steps but trips out at openssl.

Packages loaded : 1023
Build trigger(s): 1 [image]
Package steps   : 349

<<< make:host seq 2 <<<
>>> make:host seq 2 >>>
[001/349] [DONE] build   make:host
<<< configtools:host seq 3 <<<
>>> configtools:host seq 3 >>>
[002/349] [DONE] build   configtools:host
<<< bkeymaps:init seq 4 <<<
>>> bkeymaps:init seq 4 >>>
[003/349] [DONE] build   bkeymaps:init
<<< openssl:host seq 1 <<<
BUILD      openssl (host)
    TOOLCHAIN      configure
Configuring OpenSSL version 3.3.1 for target linux-x86_64
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
....

/bin/sh: 1: aarch64-none-elf-/home/mike/CoreELEC/build.CoreELEC-Amlogic-no.aarch64-22/build/openssl-3.3.1/libreelec-local-cc: not found
make[2]: *** [Makefile:3382: apps/lib/libapps-lib-app_libctx.o] Error 127
make[2]: *** Waiting for unfinished jobs....

I don’t know what it could be because it works for everyone else. Try

DEVICE=Amlogic-no ./scripts/clean openssl
DEVICE=Amlogic-no ./scripts/build openssl:host

Er…finally reinstalled Ubuntu 20 and now have no problem. Seems it’s better to stick with your recommended options!

1 Like