Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

npm install fails on freebsd 11.0-RELEASE-p2 #1160

Copy link
Copy link
@Kanaye

Description

@Kanaye
Issue body actions

npm install nodegit fail when trying to build libgit2.

The errors generated:

  CC(target) Release/obj.target/libgit2/vendor/libgit2/src/iterator.o
../vendor/libgit2/src/iterator.c:1459:44: error: no member named 'st_ctime_nsec' in 'struct stat'
        iter->entry.ctime.nanoseconds = entry->st.st_ctime_nsec;
                                        ~~~~~~~~~ ^
../vendor/libgit2/src/iterator.c:1462:44: error: no member named 'st_mtime_nsec' in 'struct stat'
        iter->entry.mtime.nanoseconds = entry->st.st_mtime_nsec;

System is FreeBSD 11.0-RELEASE-p2
Node version: v7.1.0
npm version: 3.10.9

The npm-debug logfile and the stderr are attached below (the compiler errors / warnings seems not to get captued by npm).

Building the submodule in vendor/libgit2 as documented on the libgit2 repo works.

Please let me know if you need more information.

Thanks for your time.

npm-debug.log.txt
npm-install-stdderr.log.txt

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.