However the folder exists but just with a slightly different name: out/atom-1.14.0-dev-26b128dd4 (<- the tailing "d4" is missing in the "cp" command)

I checked the PKGBUILD file and found that in line 77 there is the expression: _commit=$(git rev-parse --short=7 HEAD) which extracts this commit id from the git repository. - Truncated to 7 characters. So when I changed the expression from "--short=7" to just "--short" (which then extracts the first 9 characters from the git commit id), the installation went fine.

jhofer commented on 2016-12-10 03:11

I am trying to build the package, but it keeps failing soon after all the language files were installed. I stopped the build, cloned everything again, and tried rebuilding the package which still resulted in it failing. This is the terminal output with each failed attempt and reattempt to finish the build:

Error: spawnSync 7z ENOENT
at exports._errnoException (util.js:1022:11)
at Object.spawnSync (child_process.js:461:20)
at module.exports (/home/jhofer/pkgbuilds/atom-editor-git/src/atom/script/lib/spawn-sync.js:10:41)
at unzipPath (/home/jhofer/pkgbuilds/atom-editor-git/src/atom/script/lib/download-chromedriver.js:58:7)
at module.exports (/home/jhofer/pkgbuilds/atom-editor-git/src/atom/script/lib/download-chromedriver.js:30:3)
at Object.<anonymous> (/home/jhofer/pkgbuilds/atom-editor-git/src/atom/script/build:61:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3

lostkhaos commented on 2016-10-22 13:24

fusion809 commented on 2016-10-15 14:26

Yeah I tried the build yet again and it went without a hitch.

fusion809 commented on 2016-10-15 14:06

What one from GitHub? GitHub doesn't provide a binary for the latest snapshot from the master branch of the Atom repo. For me the package builds fine, although I'm re-building to see if there's anything I can learn that might fix this error of yas.