meinproc/docbook can't handle paths with spaces ?

Alexander Neundorf neundorf at kde.org
Mon Dec 17 20:12:28 GMT 2007


Hi,

currently kdelibs doesn't build if the source dir contains spaces:
man-checkXML.1.docbook:4: warning: failed to load external 
entity "dtd/kdex.dtd"

strace says the following:
stat64("/home/alex/src/kde4-svn/KDE", 0xbfcf68ec) = -1 ENOENT (No such file or 
directory)
stat64("dir/kdelibs/kdoctools/customization/catalog", 0xbfcf68ec) = -1 ENOENT 
(No such file or directory)

This is obviously wrong and should be:
stat64("/home/alex/src/kde4-svn/KDE\  
dir/kdelibs/kdoctools/customization/catalog", ... )

So, is libxml actually able to deal with paths which contains spaces ?
Or are we just forgetting somewhere to escape some paths ?

(libxml docs seem to say that separators are the colon and spaces, which 
doesn't sound good...)

Alex




More information about the kde-core-devel mailing list