Skip to content

won't build on ARM without a manual include #5

Closed

Description

@anomaly256

It apparently tries to find a variable named 'chromeos' if on arm, which isn't set anywhere

gyp: name 'chromeos' is not defined while evaluating condition 'target_arch=="arm" and chromeos==1' in deps/breakpad/breakpad.gyp while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.8.13.23
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/anomaly/node_modules/minidump
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok 
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the minidump package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls minidump
npm ERR! There is likely additional logging output above.

Adding this to ~/.gyp/include.gypi works around it:

{
  'variables': {
    'chromeos%': 0
  }
}

or, I assume, set that to '1' if actually on ChromeOS

Activity

  1. changed the title [-]won't build on ARM without an override[/-] [+]won't build on ARM without a manual include[/+] on Jul 10, 2014
  2. techhazard commented on Oct 9, 2014

    @techhazard

    +1
    I had this issue as well.
    please fix this

  3. alecthegeek commented on Dec 15, 2014

    @alecthegeek

    +1.

    @anomaly256 manual fix worked for me.

  4. anomaly256 commented on Dec 18, 2014

    @anomaly256
    Author

    @probablycorey I think this is more a bug than an enhancement :)

  5. zcbenz commented on Dec 22, 2014

    @zcbenz
    Contributor

    [email protected] has been published to fix this, please reopen if this still occurs for you.

  6. anomaly256 commented on Jan 3, 2015

    @anomaly256
    Author

    Thanks, will try it out soon

  7. reopened this on Jun 12, 2015
  8. jlord commented on Jun 12, 2015

    @jlord

    I'm getting this issue building Atom from master on Chromebook: 32bit ARM, Ubuntu 14.04 with Xfce

  9. zcbenz commented on Jun 16, 2015

    @zcbenz
    Contributor

    @jlord I think it might be caused that atom is using node-minidump 0.8.

  10. jlord commented on Jun 16, 2015

    @jlord

    @zcbenz can we update it? I'd bump the ver myself but I searched the repo and don't see where we're requiring node-minidump?

  11. zcbenz commented on Jun 17, 2015

    @zcbenz
    Contributor

    @jlord Yeah we can, 0.9 is a quite minor update. In Atom node-minidump is used by the dump-symbols-task.coffee.

  12. added a commit that references this issue on Jul 2, 2015
  13. zcbenz commented on Jul 15, 2015

    @zcbenz
    Contributor

    Closing since it works in 0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions