Skip to content

Issue with downloading the submdules #1680

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

Closed
TVS2004Chaitanya opened this issue Feb 24, 2025 · 1 comment
Closed

Issue with downloading the submdules #1680

TVS2004Chaitanya opened this issue Feb 24, 2025 · 1 comment

Comments

@TVS2004Chaitanya
Copy link

I cloned the gnu-toolchain in t=my home-directory. And then I am conjfiguuring using the command
chaitanya@pop-os:~/riscv-gnu-toolchain/build$ ../configure --prefix=/home/chaitanya/riscv_vector --enable-multilib in the build directory in the toolchain. After thi when i am doing make, I am getting this issue:

chaitanya@pop-os:~/riscv-gnu-toolchain/build$ make -j$(nproc)
cd /home/chaitanya/riscv-gnu-toolchain/build/.. &&
flock git rev-parse --git-dir/config git submodule init /home/chaitanya/riscv-gnu-toolchain/build/../gcc/ &&
flock git rev-parse --git-dir/config git submodule update --progress --depth 1 /home/chaitanya/riscv-gnu-toolchain/build/../gcc/
cd /home/chaitanya/riscv-gnu-toolchain/build/.. &&
flock git rev-parse --git-dir/config git submodule init /home/chaitanya/riscv-gnu-toolchain/build/../newlib/ &&
flock git rev-parse --git-dir/config git submodule update --progress --depth 1 /home/chaitanya/riscv-gnu-toolchain/build/../newlib/
cd /home/chaitanya/riscv-gnu-toolchain/build/.. &&
flock git rev-parse --git-dir/config git submodule init /home/chaitanya/riscv-gnu-toolchain/build/../binutils/ &&
flock git rev-parse --git-dir/config git submodule update --progress --depth 1 /home/chaitanya/riscv-gnu-toolchain/build/../binutils/
mkdir -p /home/chaitanya/riscv_vector/.test ||
(echo "Sorry, you don't have permission to write to"
"'/home/chaitanya/riscv_vector'. Please make sure that the location is "
"writable or use --prefix to specify another destination.'"
&& exit 1)
cd /home/chaitanya/riscv-gnu-toolchain/build/.. &&
flock git rev-parse --git-dir/config git submodule init /home/chaitanya/riscv-gnu-toolchain/build/../gdb/ &&
flock git rev-parse --git-dir/config git submodule update --progress --depth 1 /home/chaitanya/riscv-gnu-toolchain/build/../gdb/
rm -r /home/chaitanya/riscv_vector/.test
mkdir -p stamps/ && touch stamps/check-write-permission
Submodule 'newlib' (https://sourceware.org/git/newlib-cygwin.git) registered for path 'newlib'
Submodule 'gcc' (https://gcc.gnu.org/git/gcc.git) registered for path 'gcc'
Cloning into '/home/chaitanya/riscv-gnu-toolchain/newlib'...
Submodule 'binutils' (https://sourceware.org/git/binutils-gdb.git) registered for path 'binutils'
Cloning into '/home/chaitanya/riscv-gnu-toolchain/gcc'...
Submodule 'gdb' (https://sourceware.org/git/binutils-gdb.git) registered for path 'gdb'
Cloning into '/home/chaitanya/riscv-gnu-toolchain/binutils'...
Cloning into '/home/chaitanya/riscv-gnu-toolchain/gdb'...
remote: Enumerating objects: 6972, done.
remote: Counting objects: 100% (6972/6972), done.
remote: Compressing objects: 100% (5338/5338), done.
remote: Enumerating objects: 146242, done. 74.00 KiB/s
remote: Counting objects: 100% (146242/146242), done.
remote: Enumerating objects: 40806, done. iB/s
remote: Counting objects: 100% (40806/40806), done. /s
remote: Total 6972 (delta 2585), reused 3213 (delta 1506), pack-reused 0
Receiving objects: 100% (6972/6972), 14.32 MiB | 674.00 KiB/s, done.
Resolving deltas: 100% (2585/2585), done.
remote: Compressing objects: 100% (112586/112586), done.
remote: Compressing objects: 100% (31822/31822), done.
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Total 40806 (delta 10593), reused 24291 (delta 7599), pack-reused 0
Receiving objects: 100% (40806/40806), 78.37 MiB | 582.00 KiB/s, done.
Resolving deltas: 100% (10593/10593), done.
error: Server does not allow request for unadvertised object 26f7004bf73c421c3fd5e5a6ccf470d05337b435
fatal: Fetched in submodule path 'newlib', but it did not contain 26f7004bf73c421c3fd5e5a6ccf470d05337b435. Direct fetching of that commit failed.
fatal:
make: *** [Makefile:348: /home/chaitanya/riscv-gnu-toolchain/build/../newlib/.git] Error 128
make: *** Waiting for unfinished jobs....
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
error: Server does not allow request for unadvertised object beb2cdbcda911764b2bed5e57921fe90493260bd
fatal: Fetched in submodule path 'binutils', but it did not contain beb2cdbcda911764b2bed5e57921fe90493260bd. Direct fetching of that commit failed.
fatal:
make: *** [Makefile:348: /home/chaitanya/riscv-gnu-toolchain/build/../binutils/.git] Error 128
remote: Total 146242 (delta 37683), reused 90993 (delta 31629), pack-reused 0
Receiving objects: 100% (146242/146242), 175.63 MiB | 459.00 KiB/s, done.
Resolving deltas: 100% (37683/37683), done.
remote: Enumerating objects: 40806, done.
remote: Counting objects: 100% (40806/40806), done.
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Compressing objects: 100% (31822/31822), done.
remote: Total 40806 (delta 10590), reused 24291 (delta 7599), pack-reused 0
Receiving objects: 100% (40806/40806), 78.38 MiB | 538.00 KiB/s, done.
Resolving deltas: 100% (10590/10590), done.
error: Server does not allow request for unadvertised object 04696df09633baf97cdbbdd6e9929b9d472161d3
fatal: Fetched in submodule path 'gcc', but it did not contain 04696df09633baf97cdbbdd6e9929b9d472161d3. Direct fetching of that commit failed.
fatal:
make: *** [Makefile:348: /home/chaitanya/riscv-gnu-toolchain/build/../gcc/.git] Error 128
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
error: Server does not allow request for unadvertised object 23c84db5b3cb4e8a0d555c76e1a0ab56dc8355f3
fatal: Fetched in submodule path 'gdb', but it did not contain 23c84db5b3cb4e8a0d555c76e1a0ab56dc8355f3. Direct fetching of that commit failed.
fatal:
make: *** [Makefile:348: /home/chaitanya/riscv-gnu-toolchain/build/../gdb/.git] Error 128

Does anyone know what is the issue with this?

@TommyMurphyTM1234
Copy link
Collaborator

Duplicate of this issue - please don't unnecessarily open duplicate issues:

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

2 participants