Summary: | Re-running kdesrc-build with no external changes fails due to "conflicting source dirs" | ||
---|---|---|---|
Product: | [Developer tools] kdesrc-build | Reporter: | Eike Hein <hein> |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | faure |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | 57b741d374f9bc5403eb45a3ca90f1524ffb842c | Version Fixed In: | 1.16 |
Attachments: | kdesrc-build config |
Adding dfaure as he noted this to me in an email. FWIW I still can't reproduce in master (although I do keep getting a notification that the remote URL is wrong somehow) Yeah, I ran a couple of times and somehow it had trouble cloning baseapps, and then later kate ... eventually i just kept rerunning and rerunning with --delete-my-patches and at some point it finished successfully. Sadly I didn't have time to keep an exact log :/. I "fixed" this today in kdesrc-buildrc-sample by moving kde-baseapps before kate and konsole. Git commit edd09d94c2e50d360f8c48e16d9175481fbe2153 by Michael Pyne. Committed on 04/10/2011 at 23:26. Pushed by mpyne into branch 'master'. Fix module build order regarding kde-baseapps. kde-baseapps must precede kate and konsole since kate/konsole are logically under kde-baseapps. Thanks to dfaure for finally nailing down the cause of this bug. I will keep the bug open until I develop a way to detect and automatically correct the module ordering should this happen again. CCBUG:283127 M +3 -1 kdesrc-build-setup http://commits.kde.org/kdesrc-build/edd09d94c2e50d360f8c48e16d9175481fbe2153 I actually fixed this back in June with 57b741d374f9bc5403eb45a3ca90f1524ffb842c - "Depend on parent project modules if also in build." |
Created attachment 64119 [details] kdesrc-build config Yesterday I did a fresh kdesrc-build run with completely new dirs and a fresh config. Unfortunately I had to interrupt this run half-way through due to having to shut down the machine. As I re-ran "kdesrc-build" today, I got the following: <<< Build Process >>> Building qt-copy (1/45) Waiting for source code update. Already on 'origin-4.8' LGPL license selected for Qt. See /home/kdesrc/kdesrc/qt-copy/LICENSE.LGPL Running configure... The source directory for kde-baseapps does not exist. kdesrc-build would download it, except there is already a file or directory present in the desired source directory: /home/kdesrc/kdesrc/kde/kde-baseapps Please either remove the source directory yourself and re-run this script, or pass the --delete-my-patches option to kdesrc-build and kdesrc-build will try to do so for you. DO NOT FORGET TO VERIFY THERE ARE NO UNCOMMITTED CHANGES OR OTHER VALUABLE FILES IN THE DIRECTORY. Error updating kde-baseapps, removing from list of packages to build. > Conflicting source-dir present at /home/kdesrc/kdesrc-build/kdesrc-build line 2955. --- snip --- This is pretty weird, since that source dir was created by kdesrc-build itself ... Config is attached.