ni / nilrt

Tools to build NI Linux RT distribution.
MIT License
80 stars 69 forks source link

Failed to fetch URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol=git #206

Closed mruizglz closed 1 year ago

mruizglz commented 1 year ago

Executing bitbake packagefeed-ni-core I am getting this error, "Failed to fetch URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol=git" I am using an Ubuntu 22.04 . Is there any workaround to solve the issue?

mruizglz commented 1 year ago

Issue solved adding nobranch=1 in qt5-git.inc

# each module needs to define valid SRCREV
SRC_URI = " \
    ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL};nobranch=1 \
"
JKSH commented 1 year ago

Looks like someone made a mistake upstream. The correct value of QT_MODULE_BRANCH should be "5.15", not "5.15.2".

This was fixed in March 2022: https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qt5-git.inc

shruthi-ravi commented 1 year ago

@mruizglz, @JKSH thank you for bringing this to our attention. We'll fix the branch value shortly.

chaitu236 commented 1 year ago

@mruizglz, @JKSH This should be fixed now. Closing the issue.