8000 Error building on FreeBSD · Issue #2599 · atom/atom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Error building on FreeBSD #2599

Closed
rudrabhoj opened this issue Jun 13, 2014 · 19 comments
Closed

Error building on FreeBSD #2599

rudrabhoj opened this issue Jun 13, 2014 · 19 comments

Comments

@rudrabhoj
Copy link

I followed the build instructions given for the FreeBSD (10.0 x86_64) here- https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md

I compiled node and npm from sources (FreeBSD ports) but still no luck. Here is the full error log:
http://pastebin.com/WQx8UXWs

@izuzak
Copy link
Contributor
izuzak commented Jun 13, 2014

Error log from that paste bin:

[harshvardhan@hari-rudra] ~/Dev/atom% script/build
Node: v0.10.28
npm: v1.4.15
gyp: Dependency 'deps/breakpad/breakpad.gyp:dump_syms#target' not found while trying to load target binding.gyp:minidump#target
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/home/harshvardhan/Dev/atom/build/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System FreeBSD 10.0-RELEASE-p12
gyp ERR! command "node" "/usr/home/harshvardhan/Dev/atom/build/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/harshvardhan/Dev/atom/build/node_modules/minidump
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok 
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: csslint@0.9.10
npm ERR! notsup Valid OS:    darwin,linux,win32
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   freebsd
npm ERR! notsup Actual Arch: x64

npm ERR! System FreeBSD 10.0-RELEASE-p12
npm ERR! command "node" "/usr/home/harshvardhan/Dev/atom/build/node_modules/.bin/npm" "--userconfig=/usr/home/harshvardhan/Dev/atom/.npmrc" "install" "--quiet"
npm ERR! cwd /usr/home/harshvardhan/Dev/atom/build
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.15
npm ERR! code EBADPLATFORM
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/home/harshvardhan/Dev/atom/build/node_modules/grunt-lesslint'
npm ERR! error rolling back  grunt-lesslint@0.13.0 { [Error: ENOTEMPTY, rmdir '/usr/home/harshvardhan/Dev/atom/build/node_modules/grunt-lesslint']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/usr/home/harshvardhan/Dev/atom/build/node_modules/grunt-lesslint' }
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /usr/home/harshvardhan/Dev/atom/build/npm-debug.log
npm ERR! not ok code 0

@bcadieux
Copy link

Oops, I opened a ticket, 2765, effectively a duplicate of this one but for FreeBSD 8.4

@AnyCPU
Copy link
AnyCPU commented Jul 13, 2014

Same errors on vanilla FreeBSD 10 Amd64, FreeBSD 9.2 Amd64.
In readme should be mentioned full tool-set spec that used to successful build.

@kolgotko
Copy link

Who successfully build the atom under freebsd?

@bcadieux
Copy link

I highly doubt anyone could build it successfully. If it could have been built successfully in the past, it would mean that breakpad had support for FreeBSD and then dropped it, or that it never did an OS check.

@AnyCPU
Copy link
AnyCPU commented Jul 17, 2014

Broken modules at least:

  • minidump
  • breakpad
  • grunt css
  • grunt less
  • atom-package-manager
  • first-mate
  • oniguruma

For FreeBSD 10 all modules should be configured to use Clang and C++11.

@kolgotko
Copy link

bcadieux. Will be very upset if so.

@teachop
Copy link
teachop commented Aug 2, 2014

Is there a way to make this build for FreeBSD 10, or one in the works?

@teachop
Copy link
teachop commented Oct 25, 2014

Anybody working on this?

@kolgotko
Copy link

today tried again to compile. all to no avail, the problem remains.

@kolgotko
Copy link

forgot to clarify. freebsd 10 amd64, atom v0.140.0

@rudrabhoj
Copy link
Author

Can somebody really understand that the problem is??? Atom is a JavaScript program which run over Chromium platform which works fine with FreeBSD.

@kolgotko
Copy link
kolgotko commented Nov 1, 2014

#3684
Wrote here, maybe the developers will pay attention.

@AnyCPU
Copy link
AnyCPU commented Nov 1, 2014

Some modules not available on FreeBSD, for example, breakpad and minidump.
Some packages have a c++ code and gmake required on FreeBSD 10.
Some GYP files should be edited to add support of FreeBSD 10.
Also should be set at least this env vars:

setenv CXX /path/to/clang++
setenv CC /path/tp/clang
setenv LINK /path/to/clang++
setenv GYP_DEFINES "clang=1"

Relax. It is simple ;)

@AnyCPU
Copy link
AnyCPU commented Nov 1, 2014

Oh, and bugs in c++ code also here ;-)

@grobe0ba
Copy link
grobe0ba commented Jan 2, 2015

So, have people actually succesfully built this on FreeBSD at this point?

@graemeg
Copy link
graemeg commented May 11, 2015

So much for a cross-platform editor. 👎 I just tried with the latest atom and node and npm from the port tree. Still no luck in compiling atom.

@pusateri
Copy link
Contributor

This ticket should be closed. It's a duplicate of #6035 and there's more information there.

@lock
Copy link
lock bot commented Jan 21, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants
0