Skip to content

Instantly share code, notes, and snippets.

@veer66
Created July 3, 2013 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veer66/5916535 to your computer and use it in GitHub Desktop.
Save veer66/5916535 to your computer and use it in GitHub Desktop.
I plug Keon (nighly built 20130703) with Macbook Pro. Remote debug is already enable. But I cannot install gaia from github. I got following messages.
$ B2G_SYSTEM_APPS=1 make install-gaia
test -d profile || mkdir -p profile
run-js-command applications-data
Looking for packaged app: /Users/vee/Develop/gaia/external-apps/marketplace.firefox.com/update.webapp
run-js-command preferences
make[1]: Nothing to be done for `concatenated_scripts'.
make[1]: Nothing to be done for `concatenated_scripts'.
Finished: bootstrapping test proxies/sandboxes
Finished: test ui config file: ./test_apps/test-agent/config.json
run-js-command webapp-manifests
run-js-command webapp-optimize
[optimize] aggregating javascript for : "bluetooth"
[optimize] aggregating javascript for : "browser"
[optimize] aggregating javascript for : "browser"
[optimize] aggregating javascript for : "calendar"
[optimize] aggregating javascript for : "camera"
[optimize] aggregating javascript for : "clock"
[optimize] aggregating javascript for : "clock"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "communications"
[optimize] aggregating javascript for : "costcontrol"
[optimize] aggregating javascript for : "costcontrol"
[optimize] aggregating javascript for : "costcontrol"
[optimize] aggregating javascript for : "costcontrol"
[optimize] aggregating javascript for : "email"
[optimize] aggregating javascript for : "fm"
[optimize] aggregating javascript for : "gallery"
[optimize] aggregating javascript for : "gallery"
[optimize] aggregating javascript for : "homescreen"
[optimize] aggregating javascript for : "homescreen"
[optimize] aggregating javascript for : "music"
[optimize] aggregating javascript for : "music"
[optimize] aggregating javascript for : "pdfjs"
[optimize] aggregating javascript for : "settings"
[optimize] aggregating javascript for : "settings"
[optimize] aggregating javascript for : "sms"
[optimize] aggregating javascript for : "video"
[optimize] aggregating javascript for : "video"
[optimize] aggregating javascript for : "wallpaper"
[optimize] aggregating javascript for : "wallpaper"
[optimize] aggregating javascript for : "geoloc"
run-js-command webapp-zip
run-js-command optimize-clean
Finished: Generating extensions
# create a clean folder to store data for B2G, this folder will copy to b2g output folder.
rm -rf profile/defaults
mkdir -p profile/defaults/pref
# rename user_pref() to pref() in user.js
sed s/user_pref\(/pref\(/ profile/user.js > profile/defaults/pref/user.js
cp profile/settings.json profile/defaults/settings.json
Profile Ready: please run [b2g|firefox] -profile /Users/vee/Develop/gaia/profile
adb start-server
Stopping b2g
adb shell stop b2g
adb shell rm -r /cache/*
python build/install-gaia.py "adb" "/system/b2g"
push: profile/webapps/bluetooth.gaiamobile.org/manifest.webapp -> /system/b2g/webapps/bluetooth.gaiamobile.org/manifest.webapp
failed to copy 'profile/webapps/bluetooth.gaiamobile.org/manifest.webapp' to '/system/b2g/webapps/bluetooth.gaiamobile.org/manifest.webapp': Read-only file system
push: profile/webapps/bluetooth.gaiamobile.org/manifest.webapp -> /system/b2g/webapps/bluetooth.gaiamobile.org/manifest.webapp
failed to copy 'profile/webapps/bluetooth.gaiamobile.org/manifest.webapp' to '/system/b2g/webapps/bluetooth.gaiamobile.org/manifest.webapp': Read-only file system
Traceback (most recent call last):
File "build/install-gaia.py", line 182, in <module>
install_gaia()
File "build/install-gaia.py", line 165, in install_gaia
install_gaia_slow()
File "build/install-gaia.py", line 145, in install_gaia_slow
adb_push('profile/webapps', webapps_path)
File "build/install-gaia.py", line 41, in adb_push
subprocess.check_call([adb_cmd, 'push', local, remote])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['adb', 'push', 'profile/webapps', '/system/b2g/webapps']' returned non-zero exit status 1
make: *** [install-gaia] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment