cancel
Showing results for 
Search instead for 
Did you mean: 

Qt SDK build failed with turorial

oli1
Associate II

Hey,

I'm following the Distribution Package tutorial, specifically the QT image and SDK with EGLFS tutorial: wiki 

I did build the Qt image with

 

 

bitbake st-example-image-qt

 

 

but building the SDK with

 

 

bitbake st-example-image-qt -c populate_SDL

 

 

gets me the following error:

 

 

ERROR: nativesdk-cmsis-svd-0.4+gitAUTOINC+f487b5ca7c-r0 do_fetch: Fetcher failure: Unable to find revision f487b5ca7c132b8f09d11514c509372f83a6cb75 in branch master even from upstream
ERROR: nativesdk-cmsis-svd-0.4+gitAUTOINC+f487b5ca7c-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/posborne/cmsis-svd.git;protocol=https;branch=master')
ERROR: Logfile of failure stored in: /home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/temp/log.do_fetch.3973
ERROR: Task (virtual:nativesdk:/home/alec/STM32MPU_workspace/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-devtools/cmsis-svd/cmsis-svd_git.bb:do_fetch) failed with exit code '1'

 

 

Logfile:

 

 

Cloning into bare repository '/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/downloads/git2/github.com.git.posborne.cmsis-svd.git'...
remote: Not Found
fatal: repository 'https://github.com/git/posborne/cmsis-svd.git/' not found
DEBUG: Mirror fetch failure for url git://github.com/git/posborne/cmsis-svd.git;protocol=https;branch=master (original url: git://github.com/posborne/cmsis-svd.git;protocol=https;branch=master)
DEBUG: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/alec/STM32MPU_workspace/Distribution-Package/layers/openembedded-core/scripts/nativesdk-intercept:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot-native/usr/bin/chrpath-native:/home/alec/STM32MPU_workspace/Distribution-Package/layers/openembedded-core/scripts:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot-native/usr/bin/x86_64-ostl_sdk-linux:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-ostl_sdk-linux/usr/bin/crossscripts:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot-native/usr/sbin:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot-native/usr/bin:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot-native/sbin:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/recipe-sysroot-native/bin:/home/alec/STM32MPU_workspace/Distribution-Package/layers/openembedded-core/bitbake/bin:/home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/tmp-glibc/hosttools"; export HOME="/home/alec"; LANG=C git -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/git/posborne/cmsis-svd.git /home/alec/STM32MPU_workspace/Distribution-Package/build-openstlinuxeglfs-stm32mp1/downloads/git2/github.com.git.posborne.cmsis-svd.git --progress failed with exit code 128, no output
ERROR: Fetcher failure: Unable to find revision f487b5ca7c132b8f09d11514c509372f83a6cb75 in branch master even from upstream
ERROR: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/posborne/cmsis-svd.git;protocol=https;branch=master')
DEBUG: Python function base_do_fetch finished
DEBUG: Python function do_fetch finished

 

 

Not sure what I can do here to get the SDK?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @oli1 ,

the master branch has been renamed into main branch in the github repository of cmsis-svd. The correction has been released in OSTL 5.0.2: https://wiki.st.com/stm32mpu/wiki/STM32_MPU_OpenSTLinux_release_note_-_v5.0.0#Minor_release_updates

 

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
oli1
Associate II

sry just realized this topic belongs to STM32 MPUs --> STM32 MPUs Boards and hardware tools

Can an admin move it there?

 

Hi @oli1 ,

the master branch has been renamed into main branch in the github repository of cmsis-svd. The correction has been released in OSTL 5.0.2: https://wiki.st.com/stm32mpu/wiki/STM32_MPU_OpenSTLinux_release_note_-_v5.0.0#Minor_release_updates

 

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

I was able to build the SDK by changing the file cmsis-svd_git.bb inside cmsis-svd folder. But shouldn't the Distribution_Package wiki page be updated accordingly so users don't have to manually update the cmsis file?

As far as I understand the new manifest tag is now openstlinux-6.1-yocto-mickledore-mp1-v23.11.15 while the wiki page still uses openstlinux-6.1-yocto-mickledore-mp1-v23.06.21

Hi @oli1 

I am glad your built is successful!

About your comment about the wiki page, I reported your point of view. However, the current ST policy is to warn  users of existing minor releases between two major releases. Hence the red warning box with the message «Check first if a minor release based on this ecosystem release v5.0.0 is already published here» in the section Installation of the wiki page https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.