{"action":"created","issue":{"url":"https://api.github.com/repos/nxhack/openwrt-node-packages/issues/252","repository_url":"https://api.github.com/repos/nxhack/openwrt-node-packages","labels_url":"https://api.github.com/repos/nxhack/openwrt-node-packages/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/nxhack/openwrt-node-packages/issues/252/comments","events_url":"https://api.github.com/repos/nxhack/openwrt-node-packages/issues/252/events","html_url":"https://github.com/nxhack/openwrt-node-packages/issues/252","id":304368383,"number":252,"title":"failed to compile","user":{"login":"muradurm","id":18314835,"avatar_url":"https://avatars1.githubusercontent.com/u/18314835?v=4","gravatar_id":"","url":"https://api.github.com/users/muradurm","html_url":"https://github.com/muradurm","followers_url":"https://api.github.com/users/muradurm/followers","following_url":"https://api.github.com/users/muradurm/following{/other_user}","gists_url":"https://api.github.com/users/muradurm/gists{/gist_id}","starred_url":"https://api.github.com/users/muradurm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muradurm/subscriptions","organizations_url":"https://api.github.com/users/muradurm/orgs","repos_url":"https://api.github.com/users/muradurm/repos","events_url":"https://api.github.com/users/muradurm/events{/privacy}","received_events_url":"https://api.github.com/users/muradurm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-12T13:21:01Z","updated_at":"2018-03-14T11:44:37Z","closed_at":null,"author_association":"NONE","body":"Failed to compile nodejs. Error during compilation:\r\n\r\n> In file included from ../src/node.cc:37:0:\r\n> ../src/node_crypto.h:39:25: fatal error: openssl/ssl.h: No such file or directory compilation terminated.\r\n\r\nI tried it with SDK for openwrt 17.04 and 17.01 for ar711 and for x86 under ubuntu 17.10\r\n"},"comment":{"url":"https://api.github.com/repos/nxhack/openwrt-node-packages/issues/comments/372993100","html_url":"https://github.com/nxhack/openwrt-node-packages/issues/252#issuecomment-372993100","issue_url":"https://api.github.com/repos/nxhack/openwrt-node-packages/issues/252","id":372993100,"user":{"login":"muradurm","id":18314835,"avatar_url":"https://avatars1.githubusercontent.com/u/18314835?v=4","gravatar_id":"","url":"https://api.github.com/users/muradurm","html_url":"https://github.com/muradurm","followers_url":"https://api.github.com/users/muradurm/followers","following_url":"https://api.github.com/users/muradurm/following{/other_user}","gists_url":"https://api.github.com/users/muradurm/gists{/gist_id}","starred_url":"https://api.github.com/users/muradurm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muradurm/subscriptions","organizations_url":"https://api.github.com/users/muradurm/orgs","repos_url":"https://api.github.com/users/muradurm/repos","events_url":"https://api.github.com/users/muradurm/events{/privacy}","received_events_url":"https://api.github.com/users/muradurm/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T11:44:37Z","updated_at":"2018-03-14T11:44:37Z","author_association":"NONE","body":"Thank you very much.\r\n\r\nI've successfully complied node and node-npm.\r\n\r\nBut I also need node-serialport.\r\n\r\nDuring compilation I've errors about node.cc again:\r\n\r\n`  g++ '-DNODE_ARCH=\"x64\"' '-DNODE_PLATFORM=\"linux\"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=\"\"' '-DHAVE_INSPECTOR=0' '-D__POSIX__' '-DHAVE_OPENSSL=1' '-DNODE_USE_V8_PLATFORM=1' '-DHTTP_PARSER_STRICT=0' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_POSIX_C_SOURCE=200112' '-DNGHTTP2_STATICLIB' -I../src -I../tools/msvs/genfiles -I/home/murad/o17x86/build_dir/target-i386_pentium4_musl-1.1.16/host/node-v8.10.0/out/Release/obj/gen -I../deps/openssl/openssl/include -I../deps/v8/include -I../deps/http_parser -I../deps/cares/include -I../deps/uv/include -I../deps/nghttp2/lib/includes  -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /home/murad/o17x86/build_dir/target-i386_pentium4_musl-1.1.16/host/node-v8.10.0/out/Release/.deps//home/murad/o17x86/build_dir/target-i386_pentium4_musl-1.1.16/host/node-v8.10.0/out/Release/obj.target/node/src/node_crypto.o.d.raw -I/home/murad/o17x86/staging_dir/host/include -I/home/murad/o17x86/staging_dir/host/usr/include -I/home/murad/o17x86/staging_dir/target-i386_pentium4_musl-1.1.16/host/include  -c -o /home/murad/o17x86/build_dir/target-i386_pentium4_musl-1.1.16/host/node-v8.10.0/out/Release/obj.target/node/src/node_crypto.o ../src/node_crypto.cc\r\n../src/node_crypto.cc: In function 'void node::crypto::PBKDF2(const v8::FunctionCallbackInfo<v8::Value>&)':\r\n../src/node_crypto.cc:5626:43: error: 'isnan' was not declared in this scope\r\n   if (raw_keylen < 0.0 || isnan(raw_keylen) || isinf(raw_keylen) ||\r\n                                           ^\r\n../src/node_crypto.cc:5626:43: note: suggested alternative:\r\nIn file included from /usr/include/c++/5/random:38:0,\r\n                 from /usr/include/c++/5/bits/stl_algo.h:66,\r\n                 from /usr/include/c++/5/algorithm:62,\r\n                 from ../src/node_crypto.cc:46:\r\n/usr/include/c++/5/cmath:641:5: note:   'std::isnan'\r\n     isnan(_Tp __x)\r\n     ^\r\n../src/node_crypto.cc:5626:64: error: 'isinf' was not declared in this scope\r\n   if (raw_keylen < 0.0 || isnan(raw_keylen) || isinf(raw_keylen) ||\r\n                                                                ^\r\n../src/node_crypto.cc:5626:64: note: suggested alternative:\r\nIn file included from /usr/include/c++/5/random:38:0,\r\n                 from /usr/include/c++/5/bits/stl_algo.h:66,\r\n                 from /usr/include/c++/5/algorithm:62,\r\n                 from ../src/node_crypto.cc:46:\r\n/usr/include/c++/5/cmath:621:5: note:   'std::isinf'\r\n     isinf(_Tp __x)\r\n     ^\r\nnode.target.mk:173: recipe for target '/home/murad/o17x86/build_dir/target-i386_pentium4_musl-1.1.16/host/node-v8.10.0/out/Release/obj.target/node/src/node_crypto.o' failed\r\n`\r\n"}}
{"actor":{"display_login":"muradurm"}}