| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This is useful information if the build does fail, although with latest Node 0.12 or 4.1 it should download the prebuilt binary that we publish. |
Sorry, something went wrong.
|
It doesn't though, see the log for the latest build I did: $ npm install > nodegit@0.5.0 install /home/travis/build/Coaxial/coverall/node_modules/nodegit > node lifecycleScripts/install [nodegit] Fetching binary from S3. [nodegit] Failed to install prebuilt binary, building manually. [nodegit] Regenerating and configuring code I'm not sure why this happens but it makes builds take forever because it has to recompile every time. |
Sorry, something went wrong.
|
Can you give us your platform (nix/osx?), arch, and node/npm versions? |
Sorry, something went wrong.
|
Sure, this occurs on Travis CI when testing against node 0.10, 0.11 and 0.12, npm 1.4.28. I believe they are using Ubuntu 12.04 in Docker containers. On 4.0 and 4.1 with npm 2.14, it fails with the following, no matter what I tried: Message:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /home/travis/build/Coaxial/coverall/node_modules/nodegit/build/Release/nodegit.node)
Stack:
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /home/travis/build/Coaxial/coverall/node_modules/nodegit/build/Release/nodegit.node)
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/travis/build/Coaxial/coverall/node_modules/nodegit/lib/nodegit.js:8:12)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Object.Module._extensions.(anonymous function) [as .js] (/home/travis/build/Coaxial/coverall/node_modules/gulp-istanbul/node_modules/istanbul/lib/hook.js:109:37)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/home/travis/build/Coaxial/coverall/lib/archive.js:9:269)
at Module._compile (module.js:434:26)
at Object.Module._extensions.(anonymous function) [as .js] (/home/travis/build/Coaxial/coverall/node_modules/gulp-istanbul/node_modules/istanbul/lib/hook.js:107:24)
|
Sorry, something went wrong.
|
By the way, why not use bluebird's promisify and bluebird's promises rather than node-promisify? |
Sorry, something went wrong.
|
@coaxial someone tried to use Bluebird in the past, but it broke wayyyy too much stuff. I don't remember the specifics, but you can crawl through the history log for the revert. We do not support 0.10 for precompiled builds, which means it will compile in those cases. Node 0.12 and Node 4.1 on Travis should not be compiling, can you verify this and/or show us where that's not the case? |
Sorry, something went wrong.
|
This might no longer be needed after #761 |
Sorry, something went wrong.
|
We're having a similar issue. Travis fails to install the precompiled binary and eventually dies during build on v0.12. When installing nodegit from master (npm i --save nodegit/nodegit#master), which includes @johnhaley81's #761, it still fails to install the precompiled binary but successfully builds and everything is A-OK. |
Sorry, something went wrong.
|
@contolini installing nodegit from the master branch won't download pre-built binaries since there are none published for master. We're looking to release again soon and when we do we'll have the pre-built binaries up for downloading during install. |
Sorry, something went wrong.
|
I think we finally git rid of the glibc requirement correct? If so this can just be closed |
Sorry, something went wrong.
|
Yeah, we can close this one down. You don't need that anymore to build. If that changes for any reason we can open this back up. Thanks @coaxial |
Sorry, something went wrong.
|
I've since added instructions that are easier and don't require rebuilding the module (prebuilt works fine), so closing this. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
If one is using Travis CI to build a project that depends on nodegit, the build will fail because it can't compile.
These steps will keep this from happening and will let nodegit compile happily.