Git Product home page Git Product logo

Comments (6)

Skarlso avatar Skarlso commented on August 28, 2024

Me too. Were you able to figure this out @coreybutler?

from node-minidump.

coreybutler avatar coreybutler commented on August 28, 2024

@Skarlso - No, I still haven't got this working.

from node-minidump.

Skarlso avatar Skarlso commented on August 28, 2024

@coreybutler I've got further with this after I installed a bunch of linux-header libraries. Then a.out.h showed up in /usr/include/linux. Doing that, I created a symlink to that file with:

   cd /usr/include 
   ln -s linux/a.out.h . 

However, now I'm facing this:

./deps/breakpad/src/common/linux/dump_symbols.cc:798:36: error: 'basename' was not declared in this scope

I tracked it down to this part of the code:
https://chromium.googlesource.com/external/google-breakpad/+/master/src/common/linux/dump_symbols.cc#849

And that's it. I'm stuck here.

Now, I'll attempt to fork Atom, and throw out minidump. :P

from node-minidump.

coreybutler avatar coreybutler commented on August 28, 2024

This seems vaguely familiar to me. Now that you mention it, I remember trying to symlink to that file as well, but I never tracked it down the way you did. The line that concerns me is

https://chromium.googlesource.com/external/google-breakpad/+/master/src/common/linux/dump_symbols.cc#847

I'm currently working on another aspect of my project and will likely look into this more... but that's probably a few weeks from now. If you come up with anything in the meantime, I'd love to hear about it... and maybe we can get someone from the atom team to provide some guidance.

@zcbenz - is this something you could provide some guidance on (or point us to someone who can)?

from node-minidump.

Skarlso avatar Skarlso commented on August 28, 2024

Sure I'll tell ya.

That basename is part of something called libgen which is there on alpine, but is not referenced by that Google stuff so it's really weird. I think we are better off if we just remove minidump and replace it with the stiff that's suggested by node-gyp anyways. :-)

from node-minidump.

Skarlso avatar Skarlso commented on August 28, 2024

@coreybutler Very quick workaround if you don't care about processing dump files for Darwin based architecture:

Remove the following line build/package.json:

    "minidump": "~0.9",

Remove the following task:

dump-symbols-task.coffee

Remove the following ciTasks.push from Gruntfile.coffee:

ciTasks.push('dump-symbols') if process.platform is 'darwin'

After this, I've got a gnome-key error but that was easily solved by apk add gnome-keyring and apk add libgnome-keyring-dev. Both are heavy packages unfortunately.

Also important, that you will probably have to build nodejs by hand, because the alpine package is frigging OLD. :/ So you will face other issues on the road. But, actually... If you got this far, building node, is like a frigging breeze. :P Building node took me ~35 minutes, then after make install:

[21:42:32 default@510cb40e8d18:~/atom/atom] $ node --version
v6.2.0

Cheers,
Gergely.

from node-minidump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.