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

BlackBerry : Studio sample apps with spaces in project name fails to build & gives errors

    Details

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

      Description

      Description:
      1. Import the todo sample app from studio into the workspace
      2. make sure it has 'blackberry' as deployment targets selected in the tiapp.xml
      3. Now build & run on BB simulator or device.

      Actual Result:
      1. The build fails & throws the following errors for Todo app:

      [Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-nativepackager -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar" bar-descriptor.xml -e "/Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List" lchoudhary.Todo List -buildID 1 assets framework -devMode -debugToken /Applications/bbndk/debugtoken.bar 
      Error: Command failed: recurse.mk:97: target `List' given more than once in the same rule.
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
      make[2]: *** No rule to make target `/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
      make[1]: *** [List] Error 2
      make: *** [List] Error 2
       
      recurse.mk:97: target `List' given more than once in the same rule.
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo'
      make[2]: *** No rule to make target `/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
      make[1]: *** [List] Error 2
      make: *** [List] Error 2
       
      make -j 1 -Carm -fMakefile List
      make[1]: Entering directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm'
      make -j 1 -Co.le-v7 -fMakefile List 
      make[2]: Entering directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm/o.le-v7'
      make[2]: Leaving directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm/o.le-v7'
      make[1]: Leaving directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-3726-1vj9wdz-lchoudhary.Todo List/build/blackberry/arm'
      [Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-deploy -installApp -launchApp -device 169.254.2.9 -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar" -password password 
      Error: Command failed: Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List
       
      Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List
       
       
      Error: Command failed: Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar 
       
      Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/Todo List/build/blackberry/arm/o.le-v7/lchoudhary.Todo List.bar 
      

      Error Logs for RSS Reader app :

      [Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-nativepackager -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar" bar-descriptor.xml -e "/Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader" lchoudhary.RSS Reader -buildID 1 assets framework -devMode -debugToken /Applications/bbndk/debugtoken.bar 
      Error: Command failed: recurse.mk:97: target `Reader' given more than once in the same rule.
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
      make[2]: *** No rule to make target `/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
      make[1]: *** [Reader] Error 2
      make: *** [Reader] Error 2
       
       
       
       
      recurse.mk:97: target `Reader' given more than once in the same rule.
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/os_nto.mk:41: /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk: No such file or directory
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:55: warning: overriding recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
      /Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/qtargets.mk:50: warning: ignoring old recipe for target `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS'
      make[2]: *** No rule to make target `/Applications/bbndk/target_10_1_0_1020/qnx6/usr/include/mk/nto_.mk'.  Stop.
      make[1]: *** [Reader] Error 2
      make: *** [Reader] Error 2
       
       
       
       
      make -j 1 -Carm -fMakefile Reader
      make[1]: Entering directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm'
      make -j 1 -Co.le-v7 -fMakefile Reader 
      make[2]: Entering directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm/o.le-v7'
      make[2]: Leaving directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm/o.le-v7'
      make[1]: Leaving directory `/private/var/folders/35/nwgw558n55951fnpxmxkjqmr0000gp/T/113415-7659-7feqe8-lchoudhary.RSS Reader/build/blackberry/arm'
      [Command] :source /Applications/bbndk/bbndk-env.sh && blackberry-deploy -installApp -launchApp -device 169.254.2.9 -package "/Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar" -password password 
      Error: Command failed: Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader
       
       
       
       
      Error: File or dir does not exist: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader
       
       
       
       
       
       
       
       
      Error: Command failed: Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar 
       
       
       
       
      Error: File does not exist or not a file or cannot read: /Users/lokeshchoudhary/Desktop/BB_test_workspace/RSS Reader/build/blackberry/arm/o.le-v7/lchoudhary.RSS Reader.bar 
      

      Expected Result:
      1. The todo app should build & run successfully on the device & the simulator

        Attachments

          Issue Links

            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-16486
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration