| Summary: | kdesrc-build failed building Qt5 claiming init_repository doesn't exist | ||
|---|---|---|---|
| Product: | [Developer tools] kdesrc-build | Reporter: | Brent Mackey <bjdm.92> |
| Component: | general | Assignee: | Michael Pyne <mpyne> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | CC: | ashark |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Brent Mackey
2023-01-07 13:43:13 UTC
Git commit 8826ab116f33e3ca6fd7907c42e176c148e0350c by Andrew Shark. Committed on 20/04/2024 at 00:35. Pushed by ashark into branch 'master'. Wait until finished cloning of qt5 repo before checking init-repository script M +3 -1 ksblib/Updater/Qt5.py https://invent.kde.org/sdk/kde-builder/-/commit/8826ab116f33e3ca6fd7907c42e176c148e0350c Thanks for the report. I can reproduce the issue in kdesrc-build. This happens because the `_updateRepository()`, and therefore the check for the init-repository file existence and its executable permission `(! -e "$srcdir/init-repository" || ! -x _)` is done before the function to clone/update existing clone was finished. In python (kde-builder) the promise is starting to execute right when it is created (unlike in perl), so it was working correctly in kde-builder already. But just to make the logic proper and to be on a safe side, I have added the promise awaits in the commit linked above). The similar change was needed for kdesrc-build, but it is now feature freeze, please switch to kde-builder. |