unframework / licheepi-nano-buildroot

Config files for full Lichee Pi Nano Linux image build
GNU General Public License v3.0
113 stars 29 forks source link

404 compile error Ubuntu 2022.10 #25

Open peterbmckinley opened 1 year ago

peterbmckinley commented 1 year ago

toolchain-external-custom Downloading cp -v '/root/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz' '/home/peter/buildroot-2023.02-unframework-nano/output/build/.arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz.FCAOJq/output' cp: cannot stat '/root/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz': Permission denied wget --passive-ftp -nd -t 3 -O '/home/peter/buildroot-2023.02-unframework-nano/output/build/.arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz.QpeVC4/output' 'http://sources.buildroot.net/toolchain-external-custom/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz' --2023-05-07 12:49:48-- http://sources.buildroot.net/toolchain-external-custom/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.0.37, 104.26.1.37, ... Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2023-05-07 12:49:48 ERROR 404: Not Found.

wget --passive-ftp -nd -t 3 -O '/home/peter/buildroot-2023.02-unframework-nano/output/build/.arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz.epAxHr/output' 'http://sources.buildroot.net/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz' --2023-05-07 12:49:48-- http://sources.buildroot.net/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 104.26.0.37, 172.67.72.56, ... Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2023-05-07 12:49:49 ERROR 404: Not Found.

make[1]: [package/pkg-generic.mk:189: /home/peter/buildroot-2023.02-unframework-nano/output/build/toolchain-external-custom/.stamp_downloaded] Error 1 make: [Makefile:82: _all] Error 2

peterbmckinley commented 1 year ago

The problem appears to be related to this step:

Merge toolchain settings from licheepi_nano_sdk_defconfig helper into main licheepi_nano_defconfig. This is unfortunately complex because I split out the two as separate Docker build stages

Can you explain how to merge these entities

peterbmckinley commented 1 year ago

I tried:

sort -u licheepi_nano_defconfig licheepi_nano_sdk_defconfig > output

then appending the main defconfig file name with -OLD and renaming the "output" file to "licheepi_nano_defconfig" and compiling in a fresh build directory, but the 404 issue has persisted

peterbmckinley commented 1 year ago

I tried

awk '!seen[$0]++' licheepi_nano_defconfig licheepi_nano_sdk_defconfig

then copying the result into a new licheepi_nano_defconfig file, but the 404 issue persisted.

wget --passive-ftp -nd -t 3 -O '/home/peter/buildroot-2023.02-unframework-nano/output/build/.arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz.xDQO2e/output' 'http://sources.buildroot.net/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz' --2023-05-07 14:55:34-- http://sources.buildroot.net/arm-buildroot-linux-gnueabi_sdk-buildroot.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56, ... Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2023-05-07 14:55:34 ERROR 404: Not Found.

So I have no clue what im doing wrong

cjameshuff commented 1 year ago

"Merge toolchain settings": I just copied over the sections that didn't appear to have counterparts. This didn't appear to be very complicated, which has me wondering if "merging" the two was supposed to involve something more, but appears to have worked.

peterbmckinley commented 1 year ago

"Merge toolchain settings": I just copied over the sections that didn't appear to have counterparts. This didn't appear to be very complicated, which has me wondering if "merging" the two was supposed to involve something more, but appears to have worked.

Sadly imho the repo assumes too much prior knowledge. It would be nice if it was fixed