Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build because toolchain-external-custom downloading link is broken #89

Open
azaslavskis opened this issue Aug 12, 2024 · 1 comment

Comments

@azaslavskis
Copy link

azaslavskis commented Aug 12, 2024

Hello, trying to build an buildroot Linux on my Fedora 40,but facing with broking link and that toolchain cannot be build.
Build commands:

mkdir buildroot_bouffalo && cd buildroot_bouffalo
git clone https://github.com/buildroot/buildroot
git clone https://github.com/openbouffalo/buildroot_bouffalo
export BR_BOUFFALO_OVERLAY_PATH=$(pwd)/buildroot_bouffalo
cd buildroot
make BR2_EXTERNAL=$BR_BOUFFALO_OVERLAY_PATH pine64_ox64_defconfig
make

Output:

>>> toolchain-external-custom  Downloading
wget -nd -t 3 -O '/home/alex/buildroot-ox64/buildroot_bouffalo/buildroot/output/build/.Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz.uinB9D/output' 'https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz' 
0 files              100% [=============================================================================================================================>]     456     --.-KB/s
                          [Files: 0  Bytes: 456  [357 B/s] Redirects: 0  Todo: 0  Errors: 1                                                              ]
wget -nd -t 3 -O '/home/alex/buildroot-ox64/buildroot_bouffalo/buildroot/output/build/.Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz.ibmQ5D/output' 'https://sources.buildroot.net/toolchain-external-custom/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz' 
0 files              100% [=============================================================================================================================>]     140     --.-KB/s
                          [Files: 0  Bytes: 140  [187 B/s] Redirects: 0  Todo: 0  Errors: 1                                                              ]
wget -nd -t 3 -O '/home/alex/buildroot-ox64/buildroot_bouffalo/buildroot/output/build/.Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz.2QlDw6/output' 'https://sources.buildroot.net/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz' 
0 files              100% [=============================================================================================================================>]     140     --.-KB/s
                          [Files: 0  Bytes: 140  [284 B/s] Redirects: 0  Todo: 0  Errors: 1                                                              ]
make: *** [package/pkg-generic.mk:179: /home/alex/buildroot-ox64/buildroot_bouffalo/buildroot/output/build/toolchain-external-custom/.stamp_downloaded] Error 1

log.txt

Full log is appended like log.txt file.

@azaslavskis
Copy link
Author

azaslavskis commented Aug 12, 2024

cheap and dirty solution

mkdir -p '/home/alex/buildroot_bouffalo/buildroot/output/build/.Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz.OZNqhu' && \
curl --retry 3 -o '/home/alex/buildroot_bouffalo/buildroot/output/build/.Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz.OZNqhu/output' \
'https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz'

and to fix gzip error

curl --retry 3 -o '/home/alex/buildroot_bouffalo/buildroot/dl/toolchain-external-custom/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz' 'https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz'

better solution is not use download marco in .mk and just clone file using curl. comming soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant