Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

Anyone seen this error with SDK 1.0.1.8 when trying to sign an app on a Mac?

'execvp(): No such file or directory'

 

I can build my app for debug with no issues. 

 

When I try to build with signing using either:

./bbwp "/Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/fivedice.zip" -g <mypass> -buildId 46

 or

./bbwp "/Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/fivedice.zip" -o "/Users/rory/Documents/git/BB_Apps/fivedice/build/bb10" -g <mypass> -buildId 46

I get the following output:

[INFO]    Populating application source
[INFO]    Parsing config.xml
[INFO]    Generating output files
[INFO]    Info: Package created: /Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/simulator/fivedice.bar
[INFO]    Info: Package created: /Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/device/fivedice.bar
[INFO]    execvp(): No such file or directory

 In both cases it creates the proper bar files, but they aren't signed.

 

I have copied over my signing keys and debug token:

-rwxr-xr-x   1 root  admin   75752 15 Aug 17:43 BlackBerry_10_WebWorks_SDK_1.0.1.8_InstallLog.log
drwxrwxr-x   8 root  admin     272 15 Aug 17:42 Framework
-rwxrwxr-x   1 root  admin     387  1 Aug 01:16 README.txt
-rwxrwxr-x   1 root  admin   91963  1 Aug 01:16 SDK_license_English.txt
-rw-r--r--   1 rory  admin     972  4 Feb  2012 author.p12
-rw-r--r--   1 rory  admin     253  4 Feb  2012 barsigner.csk
-rw-r--r--   1 rory  admin     228  4 Feb  2012 barsigner.db
-rwxrwxr-x   1 root  admin      98  1 Aug 01:16 bbwp
-rw-r--r--   1 rory  admin    2415 14 Aug 20:04 debugtoken.bar
-rwxrwxr-x   1 root  admin    5419  1 Aug 01:16 default-icon.png
drwxrwxr-x   7 root  admin     238 15 Aug 17:42 dependencies
drwxrwxr-x  18 root  admin     612 15 Aug 17:42 lib
-rwxrwxr-x   1 root  admin  109641  1 Aug 01:16 licenses.txt
drwxrwxr-x  12 root  admin     408 15 Aug 17:42 node_modules
-rwxrwxr-x   1 root  admin     339  1 Aug 01:16 params-example.json
drwxrwxr-x   3 root  admin     102 15 Aug 17:42 third_party
drwxrwxr-x   5 root  admin     170 15 Aug 17:43 uninstaller

I run these exact same commands against the 1.0.1.4 SDK and it signs with no problems (changing back to webworks-1.0.1.4.js of courseSmiley Happy)

 

Any Thoughts?

Rory

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful
Retired
Posts: 115
Registered: ‎06-06-2011
My Device: 9800
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

can I get listing of your  ~/Library/Research In Motionalso scroll to the bottom of this  page you should be able to see where it expect author.p12 file to existhttps://developer.blackberry.com/html5/documentation/signing_setup_bb10_apps_2008396_11.html

@nukulb
Retired
Posts: 115
Registered: ‎06-06-2011
My Device: 9800
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

that got formatter poorly, I am asking for a listing of your   ~/Library/Research In Motion folder on the mac

@nukulb
Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

 

pwd
/Users/rory/Library/Research In Motion
ls -l
-rw-r--r-- 1 rory staff 972 4 Feb 2012 author.p12 -rw-r--r-- 1 rory staff 253 4 Feb 2012 barsigner.csk -rw-r--r-- 1 rory staff 228 4 Feb 2012 barsigner.db

 

 

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful
Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

[ Edited ]

I should note I had forgotten that you standardized that location, that was amazing, should move debug tokens there too Smiley Happy

 

Doesn't fix the issue since the files were already there though Smiley Sad

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful
Retired
Posts: 115
Registered: ‎06-06-2011
My Device: 9800
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

I assume packaging works if you don't try to sign

@nukulb
Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

Yes I can package with debug and no signing it works fine creates and deploys no problem.

 

It even creates the bar files for signing, it just doesn't sign them, which is where I assume the execvp(): No such file or directory is coming from.

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful
Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

this is output I get which packaging with debug:

 

[INFO]    Populating application source
[INFO]    Parsing config.xml
[WARN]    Build ID set in config.xml [version], but no signing password was provided [-g]. Bar will be unsigned
[INFO]    Generating output files
[INFO]    Info: Package created: /Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/simulator/fivedicedebug.bar
[INFO]    Info: Package created: /Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/device/fivedicedebug.bar
[INFO]    BAR packaging complete

 

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful
Retired
Posts: 115
Registered: ‎06-06-2011
My Device: 9800
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

take the bar and use the blackberry-signer tool to sign it.

Ever used that before?

Its in

dependencies/tools/bin/

 

This will tell us if the problem is with SDK or not.

@nukulb
Developer
Posts: 214
Registered: ‎01-07-2011
My Device: Bold 9900
My Carrier: Rogers

Re: Signing app on Mac with SDK 1.0.1.8 ends with: execvp(): No such file or directory

blackberry-signer worked:

./blackberry-signer -storepass <mypass> /Users/rory/Documents/git/BB_Apps/fivedice/build/bb10/device/fivedice.bar
Info: Bar signed.

 Double checked the bar file and it has the proper signed files now:

-rwxr-xr-x  1 rory  staff    647 17 Aug 13:44 AUTHOR.EC
-rwxr-xr-x  1 rory  staff  16144 17 Aug 13:44 AUTHOR.SF
-rwxr-xr-x  1 rory  staff  19693 17 Aug 13:44 MANIFEST.MF
-rwxr-xr-x  1 rory  staff    383 17 Aug 13:02 MANIFEST.bbr
-rwxr-xr-x  1 rory  staff    280 17 Aug 13:44 RDK.EC
-rwxr-xr-x  1 rory  staff  16144 17 Aug 13:44 RDK.SF

Where do I go from here?

--
Rory (@roryboy)
Click "Accept as Solution" if post solved your original issue. Give like/thumbs up if you feel post is helpful