Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13512

BlackBerry : Build fails if we have space in working directory of the app

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: BlackBerry
    • Environment:

      Environment:
      Ti Studio : 3.1.0.201304051530
      Ti BB SDK : 3.2.0.v20130410085001
      Mac OSX : 10.8.2
      win 7
      Win 8
      BB simulator : 10.0.10.261
      Z10 device running 10.0.10.88

      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

        Attachments

          Activity

            People

            • Assignee:
              rmcmahon Russell McMahon
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16208
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration