aegypius / overlay

Gentoo overlay
http://aegypius.github.io/overlay/
31 stars 8 forks source link

app-editors/atom build error while applying patch #16

Closed fermuch closed 10 years ago

fermuch commented 10 years ago

build log:

 * Package:    app-editors/atom-9999
 * Repository: aegypius
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
remote: Counting objects: 417, done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 417 (delta 261), reused 298 (delta 186)
Receiving objects: 100% (417/417), 130.80 KiB | 89.00 KiB/s, done.
Resolving deltas: 100% (261/261), done.
From git://github.com/atom/atom
   c748fc4..4127936  master     -> master
 * [new tag]         v0.120.0   -> v0.120.0
GIT update -->
   repository:               git://github.com/atom/atom
   updating from commit:     c748fc49bbc5f3d9a3d4ea80976f6b9733fd3b70
   to commit:                412793697f0b21b9cec304923486fb8757b44db3
 apm/package.json                                                                                                    |   2 +-
 docs/build-instructions/linux.md                                                                                    |  29 +++--
 package.json                                                                                                        |  65 +++++------
 spec/editor-component-spec.coffee                                                                                   | 410 +++++++++++++++++++++++++++++++++------------------------------------
 spec/editor-view-spec.coffee                                                                                        |   1 -
 spec/fixtures/packages/package-with-incompatible-native-module/main.js                                              |   0
 spec/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/build/Release/native.node |   0
 spec/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/main.js                   |   1 +
 spec/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/package.json              |   4 +
 spec/fixtures/packages/package-with-incompatible-native-module/package.json                                         |   5 +
 spec/package-spec.coffee                                                                                            |  28 +++++
 spec/spec-helper.coffee                                                                                             |   2 +
 spec/workspace-view-spec.coffee                                                                                     |  29 ++++-
 src/atom.coffee                                                                                                     |   4 +-
 src/browser/main.coffee                                                                                             |   4 -
 src/coffee-cache.coffee                                                                                             |   7 +-
 src/cursor-component.coffee                                                                                         |  17 +--
 src/cursors-component.coffee                                                                                        |   4 +-
 src/editor-component.coffee                                                                                         | 110 +++++++++----------
 src/language-mode.coffee                                                                                            |  20 ++--
 src/lines-component.coffee                                                                                          |  17 ++-
 src/package.coffee                                                                                                  |  69 ++++++++++++
 src/react-editor-view.coffee                                                                                        |   3 +
 src/workspace-view.coffee                                                                                           |  25 +++++
 24 files changed, 506 insertions(+), 350 deletions(-)
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/atom"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/app-editors/atom-9999/work/atom-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/app-editors/atom-9999/work/atom-9999
>>> Source unpacked in /var/tmp/portage/app-editors/atom-9999/work
>>> Preparing source in /var/tmp/portage/app-editors/atom-9999/work/atom-9999 ...
 * Applying 0001-fix-atom.sh.patch ...

 * Failed Patch: 0001-fix-atom.sh.patch !
 *  ( /var/lib/layman/aegypius/app-editors/atom/files/0001-fix-atom.sh.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-editors/atom-9999/temp/0001-fix-atom.sh.patch.out

 * ERROR: app-editors/atom-9999::aegypius failed (prepare phase):
 *   Failed Patch: 0001-fix-atom.sh.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 5698:  Called epatch '/var/lib/layman/aegypius/app-editors/atom/files/0001-fix-atom.sh.patch'
 *   environment, line 1639:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=app-editors/atom-9999::aegypius'`,
 * the complete build log and the output of `emerge -pqv '=app-editors/atom-9999::aegypius'`.
 * The complete build log is located at '/var/tmp/portage/app-editors/atom-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/atom-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-editors/atom-9999/work/atom-9999'
 * S: '/var/tmp/portage/app-editors/atom-9999/work/atom-9999'
aegypius commented 10 years ago

Thanks for the report, I'll try to find a better way to fix Atom instanciation.

aegypius commented 10 years ago

Patch is good, you might need to run layman -S to update your overlays but atom is broken from now because of issue #17.

I will provide a working version with atom-shell-0.13.3

aegypius commented 10 years ago

You should try app-editors/atom-0.119.0 this is the last version using atom-shell-0.13.3

aegypius commented 10 years ago

Any update ?

fermuch commented 10 years ago

Sorry for the late response. 0.119.0 gives me this error, but maybe I should fill this bug to the atom project and not here.

uncaughtException: «undefined symbol: node_module_register»
fermuch commented 10 years ago

I recompiled it and now it works! Shall we close this thread then?

aegypius commented 10 years ago

Great ! Yes I am closing this issue.