Bug 7910 - build fails in directories with a space in their name
build fails in directories with a space in their name
Status: RESOLVED WONTFIX
Product: Samba 3.2
Classification: Unclassified
Component: Build environment
3.2.5
x86 Linux
: P3 minor
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-12 05:43 UTC by Jules
Modified: 2011-01-12 16:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jules 2011-01-12 05:43:36 UTC
Trying to build samba in a directory whose name contains a space results in errors from 'make':

jules@vengeance:/work/Projects/IT Projects/Linux/samba-3.2.5/source$ make
Makefile:1551: warning: overriding commands for target `/work/Projects/IT'
Makefile:1216: warning: ignoring old commands for target `/work/Projects/IT'
Makefile:1616: warning: overriding commands for target `/work/Projects/IT'
Makefile:1551: warning: ignoring old commands for target `/work/Projects/IT'
Makefile:1690: warning: overriding commands for target `/work/Projects/IT'
Makefile:1616: warning: ignoring old commands for target `/work/Projects/IT'
Makefile:1828: warning: overriding commands for target `/work/Projects/IT'
Makefile:1690: warning: ignoring old commands for target `/work/Projects/IT'
Makefile:2686: warning: overriding commands for target `/work/Projects/IT'
Makefile:1828: warning: ignoring old commands for target `/work/Projects/IT'
make: Circular /work/Projects/IT <- /work/Projects/IT dependency dropped.
make: *** No rule to make target `Projects/Linux/samba-3.2.5/source/configure.in', needed by `/work/Projects/IT'.  Stop.
Comment 1 Björn Jacke 2011-01-12 16:37:10 UTC
even if we could find and fix all the cases where spaces in $PWD (and whereever they come into play) would have to be escaped we would need to keep that working in the future. NO developer will actually think about people using spaces in $PWD, $PREFIX or $DESTDIR. Better rename your folder "IT Projects" to IT_Projects :-). However if you have a patch to easily fix your issues, feel free to add it here. For the time being I'll make this a WONTFIX, sorry.