{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/459","labels_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/459/comments","events_url":"https://api.github.com/repos/mapbox/node-sqlite3/issues/459/events","html_url":"https://github.com/mapbox/node-sqlite3/issues/459","id":87521235,"number":459,"title":"npm install sqlite3 --build-from-source (fails)","user":{"login":"fractalf","id":5707457,"avatar_url":"https://avatars.githubusercontent.com/u/5707457?v=3","gravatar_id":"","url":"https://api.github.com/users/fractalf","html_url":"https://github.com/fractalf","followers_url":"https://api.github.com/users/fractalf/followers","following_url":"https://api.github.com/users/fractalf/following{/other_user}","gists_url":"https://api.github.com/users/fractalf/gists{/gist_id}","starred_url":"https://api.github.com/users/fractalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fractalf/subscriptions","organizations_url":"https://api.github.com/users/fractalf/orgs","repos_url":"https://api.github.com/users/fractalf/repos","events_url":"https://api.github.com/users/fractalf/events{/privacy}","received_events_url":"https://api.github.com/users/fractalf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T22:30:26Z","updated_at":"2015-07-14T00:45:59Z","closed_at":"2015-07-14T00:45:59Z","body":"I've had heaps of problems with sqlite3 earlier, but mostly managed to figure it out by reading the errors carefully. This time however I'm quite stuck. Any ideas?\r\n\r\n````\r\nFROM alpine:edge\r\n\r\nRUN echo \"http://nl.alpinelinux.org/alpine/edge/main\" > /etc/apk/repositories && \\\r\n    echo \"http://nl.alpinelinux.org/alpine/edge/testing\" >> /etc/apk/repositories && \\\r\n    apk add -U iojs wget ca-certificates python make gcc libc-dev g++ && \\\r\n    apk upgrade && \\\r\n    npm install sqlite3 --build-from-source\r\n````\r\nthis will give error\r\n````\r\n...\r\n../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)':\r\n../src/macros.h:122:9: warning: unused variable 'status' [-Wunused-variable]\r\n     int status = uv_queue_work(uv_default_loop(),                              \\\r\n         ^\r\n../src/statement.cc:725:5: note: in expansion of macro 'STATEMENT_BEGIN'\r\n     STATEMENT_BEGIN(Reset);\r\n     ^\r\n  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node\r\n/usr/lib/gcc/x86_64-alpine-linux-musl/5.1.0/../../../../x86_64-alpine-linux-musl/bin/ld: Release/obj.target/node_sqlite3.node: No symbol version section for versioned symbol `memcpy@GLIBC_2.2.5'\r\n/usr/lib/gcc/x86_64-alpine-linux-musl/5.1.0/../../../../x86_64-alpine-linux-musl/bin/ld: final link failed: Nonrepresentable section on output\r\ncollect2: error: ld returned 1 exit status\r\nnode_sqlite3.target.mk:130: recipe for target 'Release/obj.target/node_sqlite3.node' failed\r\nmake: *** [Release/obj.target/node_sqlite3.node] Error 1\r\nmake: Leaving directory '/node_modules/sqlite3/build'\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:199:12)\r\ngyp ERR! System Linux 3.13.0-43-generic\r\ngyp ERR! command \"/usr/bin/iojs\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/node_modules/sqlite3/lib/binding/node-v44-linux-x64/node_sqlite3.node\" \"--module_name=node_sqlite3\" \"--module_path=/node_modules/sqlite3/lib/binding/node-v44-linux-x64\"\r\ngyp ERR! cwd /node_modules/sqlite3\r\ngyp ERR! node -v v2.2.1\r\ngyp ERR! node-gyp -v v1.0.3\r\ngyp ERR! not ok\r\n...\r\n````\r\nI suspect it has to do with memcpy@GLIBC_2.2.5, but really I couldn't find out what.\r\n\r\nFull log (commands and all errors)\r\nhttp://pastebin.com/YZShJzY2\r\n\r\nThanks for any input"}}