cancel
Showing results for 
Search instead for 
Did you mean: 

How can i solve iso-codes-4.4-r0 do fetch error?(I proceeded according to the procedures of the WIKI Page. : https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package)

SPark.15
Associate II

0693W000001sHz8QAE.pngHello guys.

​I am proceeding in the manner provided on the WIKI page(https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package).

However, the following problems still occur in Step 6.

[error codes]

-----------------------------------------------------------------------------------------------------------------------

WARNING: iso-codes-4.4-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http, attempting MIRRORS if available

ERROR: iso-codes-4.4-r0 do_fetch: Fetcher failure: Unable to find revision 38edb926592954b87eb527124da0ec68d2a748f3 in branch master even from upstream

ERROR: iso-codes-4.4-r0 do_fetch: Fetcher failure for URL: 'git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/parksh/STM32MPU_EV1_Workspace/SDK/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/all-ostl-linux/iso-codes/4.4-r0/temp/log.do_fetch.39779

ERROR: Task (/home/parksh/STM32MPU_EV1_Workspace/SDK/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/openembedded-core/meta/recipes-support/iso-codes/iso-codes_4.4.bb:do_fetch) failed with exit code '1'

-----------------------------------------------------------------------------------------------------------------------

I think there is a problem with that brench(do_fetch).

(I don't see the corresponding brench on the iso-codes page.)

How do I solve this problem?

The contents of log_do_fetch are uploaded as attachments.

thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @SPark.15​ ,

Can you make sure you did all the prerequisites concerning the distribution package ?

https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/PC_prerequisites

Is it the first time you are trying to bitbake ?

Regards,

Armand

View solution in original post

6 REPLIES 6
ArmandG
ST Employee

Hi @SPark.15​ ,

Fetch errors are recurrent and may occur due to some network issues.

I suggest you to launch it again (or to source again the envsetup.sh file in another shell). Tasks already run are normally saved so you will not restart from scratch.

Best regards,

Armand

Hi ArmandG (ST Employee)

Thanks for your answer.

I tried again the way you suggested. But still, the same problem only occurs in iso-codes.

I tried about 20 more times, but it's still the same.

Is there any way other than trying again?

I keep trying, and now I get this message.

[Error Message]

----------------------------------------------------------------------------------------------------------------------------------------

ERROR: iso-codes-4.4-r0 do_unpack: Unpack failure for URL: 'git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http'. No up to date source found: clone directory not available or not up to date: /home/parksh/STM32MPU_EV1_Workspace/SDK/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/downloads/git2/salsa.debian.org.iso-codes-team.iso-codes.git; shallow clone not enabled

ERROR: Logfile of failure stored in: /home/parksh/STM32MPU_EV1_Workspace/SDK/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/all-ostl-linux/iso-codes/4.4-r0/temp/log.do_unpack.12771

ERROR: Task (/home/parksh/STM32MPU_EV1_Workspace/SDK/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/openembedded-core/meta/recipes-support/iso-codes/iso-codes_4.4.bb:do_unpack) failed with exit code '1'

----------------------------------------------------------------------------------------------------------------------------------------

I need your Help

In addition, Try to bitbake again by configuring a new directory(and new shell), the problem in the body occurs the same.

Hi @SPark.15​ ,

Can you make sure you did all the prerequisites concerning the distribution package ?

https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/PC_prerequisites

Is it the first time you are trying to bitbake ?

Regards,

Armand

Hi ArmandG (ST Employee)

Good news. I solved that problem.

I tried to clear and build only iso-code bb several times with bitbake(clean).

As a result, the build was successful once, and the rest proceeded without problems.

I 'm not sure exactly what caused the problem.

However, I think there was a problem with the build due to network issues.

​(The file may not have been downloaded normally.)

But, I 'm satisfied because I have successfully built.

Thanks for your help. and Very Thanks for your com​ment !