Summary: | kdesrc-build should give a clear error if kde-projects database download fails | ||
---|---|---|---|
Product: | [Developer tools] kdesrc-build | Reporter: | koolstack |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | cfeck, michaelperik, mpyne |
Priority: | NOR | ||
Version: | 1.15.1 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdesrc-build/8ad8eacadfcbff966e7a14151f297953ec7cc11d | Version Fixed In: | 1.16 |
Sentry Crash Report: |
Description
koolstack
2012-08-08 18:48:09 UTC
This is all crazy... however I think the underlying problem is that the XML database describing the KDE projects is corrupt or malformed somehow, because you shouldn't see error messages like "Module konsole is apparently XML-based, but contains no active modules to build!", as that is definitely a valid module. I've just tried a run over here (which re-downloaded the XML file) and it seems to work OK. So please find your local XML database file (should be ~/kdesrc/kde_projects.xml unless you moved the source directory somewhere else) and remove it. If kdesrc-build still has problems please let me know. Also let me know if that works, so I can improve the error message in that case. The project.kde.org server is/was down, so it cannot download the projects.xml file. Thanks guys. As Mr. Feck has pointed out the server was down and as it is now working again I am able to build as expected. I didn't delete any local files - I just ran kdesrc-build after the server returned to service. Perhaps an error should be clearly shown to indicate that kdesrc-build is unable to contact the server... I agree that the error shown can be improved, reopening as a new bug. Git commit 8ad8eacadfcbff966e7a14151f297953ec7cc11d by Michael Pyne. Committed on 21/12/2012 at 04:29. Pushed by mpyne into branch 'master'. kde-projects: Improve error message somewhat. This improves the error message encountered with mal-formed XML in the kde-projects database, at least a little bit. FIXED-IN:1.16 M +7 -2 kdesrc-build M +3 -1 modules/ksb/KDEXMLReader.pm http://commits.kde.org/kdesrc-build/8ad8eacadfcbff966e7a14151f297953ec7cc11d *** Bug 307989 has been marked as a duplicate of this bug. *** Has the issue with the kde_projects.xml data being incomplete been resolved. I cannot build kde with kdesrc-build due to http://projects.kde.org/kde_projects.xml being incomplete. The source code repositories are currently undergoing emergency maintenance which has led to the kde_projects.xml data generator giving invalid XML output. I'd recommend trying again tomorrow, or you can follow http://identi.ca/kdesysadmin to see what the current status is. |