Skip to content

Error trying to make a new buildroot #22

@Seriousattempts

Description

@Seriousattempts

I did the following:

This is what i've done:

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential gcc g++ make
sudo apt-get install -y libncurses5-dev libncurses-dev
sudo apt-get install -y git wget curl
sudo apt-get install -y cpio unzip rsync bc
sudo apt-get install -y python3 python3-dev python3-distutils
sudo apt-get install -y perl
sudo apt-get install -y file
sudo apt-get install -y which
sudo apt-get install -y bzip2
sudo apt-get install -y gzip
sudo apt-get install -y patch
sudo apt-get install -y diffutils
sudo apt-get install -y findutils
sudo apt-get install -y sed
sudo apt-get install -y tar
sudo apt-get install -y gcc-multilib g++-multilib
sudo apt-get install -y libc6-dev linux-libc-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y flex bison
sudo apt-get install -y texinfo
sudo apt-get install -y help2man
sudo apt-get install -y gawk

git clone [https://github.com/GarlicOS/buildroot.git](https://github.com/GarlicOS/buildroot.git)
cd buildroot
git tag -l
# Output showed: v2.0.0, v2.0.1, v2.0.2
git checkout v2.0.2

make garlicos_aarch64_defconfig
make menuconfig

export HOSTCC=gcc
export HOSTCC=gcc
make

This is what I got:

ralt@Ubuntu:~/Downloads/buildroot$ make
>>> sdl dd7260f1d7f79a58aba95a03fd6532729181eadb Downloading
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git init . 
Reinitialized existing Git repository in /home/ralt/Downloads/buildroot/dl/sdl/git/.git/
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git remote set-url origin 'https://github.com/OpenDingux/SDL.git' 
Fetching all references
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git fetch origin 
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git fetch origin -t 
Could not fetch special ref 'dd7260f1d7f79a58aba95a03fd6532729181eadb'; assuming it is not special.
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' 
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git checkout -f -q 'dd7260f1d7f79a58aba95a03fd6532729181eadb' 
warning: refname 'dd7260f1d7f79a58aba95a03fd6532729181eadb' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
  git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
GIT_DIR=/home/ralt/Downloads/buildroot/dl/sdl/git/.git git clean -ffdx 
ERROR: sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz has wrong sha256 hash:
ERROR: expected: a4b4886a4d2aae7adaa78ea7c92f4c16aabbd546c11945942eb833d53ec00699
ERROR: got     : 7bb26ca16d8ec71b164762895ebcb5e876691876f3d1017377b01dcb6f09f2f1
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
wget --passive-ftp -nd -t 3 -O '/home/ralt/Downloads/buildroot/output/build/.sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz.GFdVh2/output' 'http://sources.buildroot.net/sdl/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz' 
--2025-09-08 22:13:59--  [http://sources.buildroot.net/sdl/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz](http://sources.buildroot.net/sdl/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.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
2025-09-08 22:14:00 ERROR 404: Not Found.
wget --passive-ftp -nd -t 3 -O '/home/ralt/Downloads/buildroot/output/build/.sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz.1tWKcC/output' 'http://sources.buildroot.net/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz' 
--2025-09-08 22:14:00--  [http://sources.buildroot.net/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz](http://sources.buildroot.net/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb-br1.tar.gz)
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-09-08 22:14:00 ERROR 404: Not Found.
make[1]: *** [package/pkg-generic.mk:189: /home/ralt/Downloads/buildroot/output/build/sdl-dd7260f1d7f79a58aba95a03fd6532729181eadb/.stamp_downloaded] Error 1
make: *** [Makefile:82: _all] Error 2
ralt@Ubuntu:~/Downloads/buildroot$ 

Any recommendations? Was trying to build with the panfrost flag enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions