Closed Bug 1023373 Opened 10 years ago Closed 10 years ago

Build fails with JSON.parse error

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: andy+bugzilla, Unassigned)

References

Details

[master] gaia $ g pull
Updating 16c39ab..a4a0cdf
Fast-forward
 apps/settings/elements/developer_hud.html       |   6 ++++
 apps/settings/locales/settings.en-US.properties |   4 +--
 apps/system/js/devtools/developer_hud.js        |  86 ++++++++++++++++++++++++++++++++++++++++++-------
 apps/system/style/devtools/developer_hud.css    |  14 ++++----
 apps/system/style/zindex.css                    |   6 +++-
 apps/system/test/unit/developer_hud_test.js     | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 build/config/common-settings.json               |   1 +
 7 files changed, 213 insertions(+), 31 deletions(-)
[master] gaia $ gd
[master] gaia $ gt
# On branch master
nothing to commit, working directory clean
[master] gaia $ make
Exception: SyntaxError: JSON.parse: unexpected character at line 1 column 215 of the JSON data
CommonjsRunner.prototype.run@/Users/andy/sandboxes/gaia/build/xpcshell-commonjs.js:56:1
run@/Users/andy/sandboxes/gaia/build/xpcshell-commonjs.js:84:3
@-e:1:1

make: *** [preferences] Error 3

Can't currently build gaia to test payment changes.
passed with: DEBUG=1 make profile
I had an environment variable DEBUG=True for another project. The make file takes the environment variables, turns them into JSON and assumes its parseable, in this case it not.

Thanks jrburke for the help.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.