[TIMOB-13512] BlackBerry : Build fails if we have space in working directory of the app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-19T21:25:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 08 BB, 2013 Sprint 08, Release 3.2.0 |
Components | BlackBerry |
Labels | qe-testadded, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-04-10T18:32:07.000+0000 |
Updated | 2014-02-20T18:50:51.000+0000 |
Description
Description:
1. Create an app for BB in studio
2. Make sure your workspace folder is having space in its name
3. Build & run on device or simulator
Actual result:
1. The build process fails as we have space in workspace name
LOGS:
[Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-nativepackager -package /Users/lokeshchoudhary/Desktop/Titanium BB Workspace/testapp/build/blackberry/arm/o.le-v7/testapp.bar bar-descriptor.xml -e /Users/lokeshchoudhary/Desktop/Titanium BB Workspace/testapp/build/blackberry/arm/o.le-v7/testapp testapp -buildID 1 assets framework -devMode -debugToken /Applications/bbndk/debugtoken.bar
make -j 1 -Carm -fMakefile
make[1]: Entering directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm'
make -j 1 -Co.le-v7 -fMakefile
make[2]: Entering directory
/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7'
/Applications/bbndk/host_10_1_0_132/darwin/x86/usr/bin/qcc -Vgcc_ntoarmv7 -c -Os -Wc,-Wall -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIE -frecord-gcc-switches -DNDEBUG -I. -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7 -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry -I/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/freetype2 -I/Applications/bbndk/target_10_1_0_1020/qnx6/../target-override/usr/include -I/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/libv8/include -I/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/tibb/include -I/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include -EL -DVARIANT_le -DVARIANT_v7 -DBUILDENV_qss /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/main.cpp
/bin/rm -f /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7/testapp
/Applications/bbndk/host_10_1_0_132/darwin/x86/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory -lang-c++ -Wl,-z,relro -Wl,-z,now -pie -lbbcascades -lbbdevice -lbbsystem -lQtCore -lQtDeclarative -lQtGui -lQtMultimedia -lQtNetwork -lm -lbb -lbbdata -lQtSql -lQtSvg -lQtTest -lQtXml -lsqlite3 -lQtLocationSubset -lbbcascadesmaps -lGLESv1_CM -lOpenAL -lalut -lasound -lbbmultimedia -o /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7/testapp main.o -L . -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib/qt4/lib -L /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/libv8/lib/arm -L /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/tibb/arm/a.le-v7 -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/lib -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -Wl,--rpath-link . -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib/qt4/lib -Wl,--rpath-link /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/libv8/lib/arm -Wl,--rpath-link /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/tibb/arm/a.le-v7 -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/lib -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -ltibb -lv8 -lsocket -lbps -EL
make[2]: Leaving directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7'
make -j 1 -Co.le-v7-g -fMakefile
make[2]: Entering directory
/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7-g'
/Applications/bbndk/host_10_1_0_132/darwin/x86/usr/bin/qcc -Vgcc_ntoarmv7 -c -Wc,-Wall -fstack-protector-all -D_FORTIFY_SOURCE=2 -I. -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/le.v7 -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7-g -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm -I/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry -I/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/freetype2 -I/Applications/bbndk/target_10_1_0_1020/qnx6/../target-override/usr/include -I/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/libv8/include -I/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/tibb/include -I/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include -EL -g -DVARIANT_le -DVARIANT_v7 -DVARIANT_g -DBUILDENV_qss /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/main.cpp
/bin/rm -f /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7-g/testapp
/Applications/bbndk/host_10_1_0_132/darwin/x86/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory -lang-c++ -Wl,-z,relro -Wl,-z,now -lbbcascades -lbbdevice -lbbsystem -lQtCore -lQtDeclarative -lQtGui -lQtMultimedia -lQtNetwork -lm -lbb -lbbdata -lQtSql -lQtSvg -lQtTest -lQtXml -lsqlite3 -lQtLocationSubset -lbbcascadesmaps -lGLESv1_CM -lOpenAL -lalut -lasound -lbbmultimedia -o /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7-g/testapp main.o -L . -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib/qt4/lib -L /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/libv8/lib/arm -L /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/tibb/arm/a.le-v7-g -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/lib -L /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -Wl,--rpath-link . -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib/qt4/lib -Wl,--rpath-link /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/libv8/lib/arm -Wl,--rpath-link /var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-5inttq-testapp/tibb/arm/a.le-v7-g -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/lib -Wl,--rpath-link /Applications/bbndk/target_10_1_0_1020/qnx6/armle-v7/usr/lib -ltibb -lv8 -lsocket -lbps -EL -g
make[2]: Leaving directory /private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm/o.le-v7-g'
make[1]: Leaving directory
/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113310-9839-ae7kxz-testapp/build/blackberry/arm'
[Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-deploy -installApp -launchApp -device 169.254.2.9 -package /Users/lokeshchoudhary/Desktop/Titanium BB Workspace/testapp/build/blackberry/arm/o.le-v7/testapp.bar -password password
Error: Command failed: Error: Bar file must have .bar extension: /Users/lokeshchoudhary/Desktop/Titanium
Error: Bar file must have .bar extension: /Users/lokeshchoudhary/Desktop/Titanium
Error: Command failed: Error: Unknown argument: BB
Error: Unknown argument: BB
Expected resultL
1. The build process should not fail
Verified the fix & the apps in a workspace with space in their name builds & runs fine. Thus closing. Environment: Ti Studio : 3.1.0.201304051530 Ti BB SDK : 3.2.0.v20130411012621 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.10.261 Z10 device running 10.0.10.88
Closing. Issue not seen. Environment: Ti Studio : 3.1.1.201305031650 Ti BB SDK : 3.2.0.v20130506213759 Mac OSX : 10.8.2 Z10 BB simulator : 10.0.10.261 Q10 Simulator : 10.1.0.1020