Bug 103532 - Ninja build doesn't support paths with spaces in them
Summary: Ninja build doesn't support paths with spaces in them
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-01 02:51 UTC by Nate Graham
Modified: 2017-11-01 05:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2017-11-01 02:51:18 UTC
~/SpiderOak Hive/Software projects/git projects/FreeDesktop/libinput$ ninja -C builddir/
ninja: Entering directory `builddir/'
[1/264] Generating doxygen with a custom command.
FAILED: html 
/usr/bin/doxygen libinput.doxygen
error: tag HTML_HEADER: header file `/home/nate/SpiderOakHive/Softwareprojects/gitprojects/FreeDesktop/libinput/doc/style/header.html' does not exist
[6/264] Compiling C object 'libinput-debug-events@exe/tools_libinput-debug-events.c.o'.
ninja: build stopped: subcommand failed.

Notice how the spaces have disappeared in the ninja-generated build command: "/SpiderOak Hive/Software projects/git projects/" has become "SpiderOakHive/Softwareprojects/gitprojects"


If I move my checkout to a path with no spaces in it, like ~, the ninja command completes successfully.

Versions used:

$ /usr/bin/ninja --version
1.7.2
$ /home/nate/.local/bin/meson --version
0.43.0
Comment 1 Peter Hutterer 2017-11-01 05:07:37 UTC
commit fb467dce8fd3271697b5cc1aec6fdf6a12b865cc 
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Nov 1 14:54:59 2017 +1000

    doc: quote all paths in the doxygen file


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.