Summary: | Build of frameworks/kdoctools fails | ||
---|---|---|---|
Product: | [Unmaintained] kde-windows | Reporter: | Asuka Langley <AsukaLangleyfag> |
Component: | buildsystem | Assignee: | KDE-Windows <kde-windows> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | kfunk, zrax0111 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | http://commits.kde.org/kdoctools/38265304276e6305f72a7e1a68aa1b4193657820 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Allow colon in Windows path URIs |
Description
Asuka Langley
2015-05-21 14:47:19 UTC
Found an actual error: file:///C:/KDE/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/kdedbx45.dtd:102: warning: failed to load external entity "file:///C:/KDE/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/C%3A/KDE/share/xml/docbook/schema/dtd/4.5/docbookx.dtd" Not sure if error of makefile or error of cmake. Btw, error with shortways is file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/kdedbx45.dtd:102: warning: failed to load external entity "file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/r%3A/share/xml/docbook/schema/dtd/4.5/docbookx.dtd" >[ 41%] Generating checkXML5.1
Qt: Untested Windows version 10.0 detected!
file:///C:/KDE/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/kdedbx45.dtd:102: warning: failed to load external entity "file:///C:/KDE/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/C%3A/KDE/share/xml/docbook/schema/dtd/4.5/docbookx.dtd"
with mingw32-make
Created attachment 93354 [details]
Allow colon in Windows path URIs
I was able to work around this by adding a ':' to the list of escape chars in the kdoctools_encode_uri CMake function. It is probably not the ideal solution, since ':' should only be unescaped after the drive letter (and only on Windows), but it let me successfully build and install kdoctools. Michael-san, how to integrate this with script? (In reply to Michael from comment #4) > I was able to work around this by adding a ':' to the list of escape chars > in the kdoctools_encode_uri CMake function. It is probably not the ideal > solution, since ':' should only be unescaped after the drive letter (and > only on Windows), but it let me successfully build and install kdoctools. Tried to use it with kdoctools.py and got: r:\emerge\portage\frameworks\tier2\kdoctools\dirtyhack.patch:10: trailing whitespace. execute_process(COMMAND perl -MURI::Escape -e "print uri_escape_utf8(\"${escaped_uri}\", \"^A-Za-z0-9\\-\\._~:\\/\");" fatal: corrupt patch at line 13 @Asuke: Patch against kdoctools master: https://git.reviewboard.kde.org/r/124542/ I still need to submit it, I'll work on it. Git commit 38265304276e6305f72a7e1a68aa1b4193657820 by Kevin Funk. Committed on 06/08/2015 at 06:36. Pushed by kfunk into branch 'master'. uriencode.cmake: Also escape colon (for Windows) REVIEW: 124542 M +1 -1 cmake/uriencode.cmake http://commits.kde.org/kdoctools/38265304276e6305f72a7e1a68aa1b4193657820 |