Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#10026 closed bug (fixed)

PM: Building on Haiku: Spaces in paths no longer supported

Reported by: stippi Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version: R1/Package Management
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Note how the volumn where my source repo is located has a space in its name:

/Code SSD/haiku/src/apps/haiku-depot> jam -q -j4
WebKit build feature not available for x86_gcc2 
...patience...
...patience...
...found 11182 target(s)...
...updating 84 target(s)...
C++ ../../../generated/objects/haiku_host/x86/release/build/libpackage/PackageWriterImpl.o 
gcc: error: SSD/haiku/src/apps/haiku-depot/../../../data/system/data": No such file or directory

gcc -c "../../../src/kits/package/hpkg/PackageWriterImpl.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -include ../../../headers/build/HaikuBuildCompatibility.h -DHAIKU_BUILD_SYSTEM_DATA_DIRECTORY=\"`pwd`/../../../data/system/data\" -fPIC -DARCH_x86 -D_NO_INLINE_ASM -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAIKU_HOST_PLATFORM_HAIKU -DHAIKU_PACKAGING_ARCH=\"x86\" -iquote ../../../build/user_config_headers -iquote ../../../build/config_headers -iquote ../../build/libpackage -iquote ../../../generated/objects/common/build/libpackage -iquote ../../../generated/objects/haiku_host/x86/common/build/libpackage -iquote ../../../generated/objects/haiku/x86/common/build/libpackage -iquote ../../../src/kits/package -iquote ../../../src/kits/package/hpkg -iquote ../../../src/kits/package/hpkg/v1 -iquote ../../../src/kits/package/manager -iquote ../../../src/kits/package/solver -I ../../../headers/build/private/kernel -I ../../../headers/build/private/package -I ../../../headers/build/private/shared -I ../../../headers/build/private/storage -I ../../../headers/build/host/haiku_host -I ../../../headers/build -I ../../../headers/build/os -I ../../../headers/build/os/app -I ../../../headers/build/os/drivers -I ../../../headers/build/os/kernel -I ../../../headers/build/os/interface -I ../../../headers/build/os/locale -I ../../../headers/build/os/opengl -I ../../../headers/build/os/storage -I ../../../headers/build/os/support -I ../../../headers/build/private -o "../../../generated/objects/haiku_host/x86/release/build/libpackage/PackageWriterImpl.o" ;

...failed C++ ../../../generated/objects/haiku_host/x86/release/build/libpackage/PackageWriterImpl.o ...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 83 target(s)...
/Code SSD/haiku/src/apps/haiku-depot> 

Change History (4)

comment:1 by bonefish, 11 years ago

Status: newin-progress

Hmph, I didn't even think we supported paths with spaces at all. But maybe it works with a in-source "generated" directory, due to the relative paths. Will see, if some extra quoting can be applied.

comment:2 by bonefish, 11 years ago

Resolution: fixed
Status: in-progressclosed

Should be fixed in hrev46119.

comment:3 by jstressman, 9 years ago

This seems to be broken again in the latest nightlies. (different bug, same general problem) I'll have to change my folder name and grab a copy of the error again once I'm done building.

It broke trying to run configure at the very beginning. Created 2 folders a folder up from my source folder and spit out some syntax errors and said it couldn't find configure. When I removed the space from the folder name in the path "Haiku stuff" -> "Haiku-stuff", it ran smoothly.

Path was ~/Downloads/work/Haiku stuff/source/haiku/...

Again, I'll update with the exact error when I'm done with my build.

comment:4 by jstressman, 9 years ago

justin@gin:~/Downloads/work/Haiku stuff/source/haiku/generated.x86gcc2$ ../configure --build-cross-tools x86_gcc2 ../../buildtools/ --build-cross-tools x86
/home/justin/Downloads/work/Haiku stuff/source/haiku/build/scripts/build_cross_tools: 29: [: /home/justin/Downloads/work/Haiku: unexpected operator
/home/justin/Downloads/work/Haiku stuff/source/haiku/build/scripts/build_cross_tools: 75: cd: can't cd to ../../buildtools//legacy
/home/justin/Downloads/work/Haiku stuff/source/haiku/build/scripts/build_cross_tools: 113: /home/justin/Downloads/work/Haiku stuff/source/haiku/build/scripts/build_cross_tools: /home/justin/Downloads/work/Haiku/binutils/configure: not found
justin@gin:~/Downloads/work/Haiku stuff/source/haiku/generated.x86gcc2$ 
Note: See TracTickets for help on using tickets.