{"action":"created","issue":{"url":"https://api.github.com/repos/mamod/Pode/issues/4","labels_url":"https://api.github.com/repos/mamod/Pode/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mamod/Pode/issues/4/comments","events_url":"https://api.github.com/repos/mamod/Pode/issues/4/events","html_url":"https://github.com/mamod/Pode/issues/4","id":110849386,"number":4,"title":"Tests fails on OS X","user":{"login":"jomo666","id":719714,"avatar_url":"https://avatars.githubusercontent.com/u/719714?v=3","gravatar_id":"","url":"https://api.github.com/users/jomo666","html_url":"https://github.com/jomo666","followers_url":"https://api.github.com/users/jomo666/followers","following_url":"https://api.github.com/users/jomo666/following{/other_user}","gists_url":"https://api.github.com/users/jomo666/gists{/gist_id}","starred_url":"https://api.github.com/users/jomo666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jomo666/subscriptions","organizations_url":"https://api.github.com/users/jomo666/orgs","repos_url":"https://api.github.com/users/jomo666/repos","events_url":"https://api.github.com/users/jomo666/events{/privacy}","received_events_url":"https://api.github.com/users/jomo666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-11T11:07:05Z","updated_at":"2015-10-11T21:45:25Z","closed_at":null,"body":"Trying to install `pode` (for learning) and got the following:\r\n\r\n```\r\n$ perl Makefile.PL \r\nChecking if your kit is complete...\r\nWarning: the following files are missing in your kit:\r\n\tlib/Pode/NativeModules/test.js\r\nPlease inform the author.\r\nGenerating a Unix-style Makefile\r\nWriting Makefile for Pode\r\nWriting MYMETA.yml and MYMETA.json\r\n```\r\n\r\nalso the `make test` returns:\r\n\r\n```\r\n$ make test\r\ncp lib/Pode/NativeModules/colors.js blib/lib/Pode/NativeModules/colors.js\r\ncp lib/Pode/NativeModules/testUnit.js blib/lib/Pode/NativeModules/testUnit.js\r\ncp lib/Pode/NativeModules/child_process.js blib/lib/Pode/NativeModules/child_process.js\r\ncp lib/Pode/Open.pm blib/lib/Pode/Open.pm\r\ncp lib/Pode/Wrapper.pm blib/lib/Pode/Wrapper.pm\r\ncp lib/Pode/NativeModules/timer_wrap.js blib/lib/Pode/NativeModules/timer_wrap.js\r\ncp lib/Pode/NativeModules/mime.js blib/lib/Pode/NativeModules/mime.js\r\ncp lib/Pode/TTY.pm blib/lib/Pode/TTY.pm\r\ncp lib/Pode/NativeModules/_rbtree.js blib/lib/Pode/NativeModules/_rbtree.js\r\ncp lib/Pode/NativeModules/events.js blib/lib/Pode/NativeModules/events.js\r\ncp lib/Pode/Fs.pm blib/lib/Pode/Fs.pm\r\ncp lib/Pode/NativeModules/util.js blib/lib/Pode/NativeModules/util.js\r\ncp lib/Pode/NativeModules/http.js blib/lib/Pode/NativeModules/http.js\r\ncp lib/Pode/NativeModules/stream.js blib/lib/Pode/NativeModules/stream.js\r\ncp lib/Pode/NativeModules/coffee-script.js blib/lib/Pode/NativeModules/coffee-script.js\r\ncp lib/Pode/NativeModules/vm.js blib/lib/Pode/NativeModules/vm.js\r\ncp lib/Pode/NativeModules/assert.js blib/lib/Pode/NativeModules/assert.js\r\ncp lib/Pode/NativeModules/binary.js blib/lib/Pode/NativeModules/binary.js\r\ncp lib/Pode/Utils.pm blib/lib/Pode/Utils.pm\r\ncp lib/Pode.pm blib/lib/Pode.pm\r\ncp lib/Pode/NativeModules/console.js blib/lib/Pode/NativeModules/console.js\r\ncp README.pod blib/lib/README.pod\r\ncp lib/Pode/NativeModules/_treebase.js blib/lib/Pode/NativeModules/_treebase.js\r\ncp lib/Pode/IP.pm blib/lib/Pode/IP.pm\r\ncp lib/Pode/Buffer.pm blib/lib/Pode/Buffer.pm\r\ncp lib/Pode/NativeModules/path.js blib/lib/Pode/NativeModules/path.js\r\ncp lib/Pode/NativeModules/pode.js blib/lib/Pode/NativeModules/pode.js\r\ncp lib/Pode/NativeModules/timers.js blib/lib/Pode/NativeModules/timers.js\r\ncp lib/Pode/bin/daemon.pl blib/lib/Pode/bin/daemon.pl\r\ncp lib/Pode/Repl.pm blib/lib/Pode/Repl.pm\r\ncp lib/Pode/NativeModules/fs.js blib/lib/Pode/NativeModules/fs.js\r\ncp lib/Pode/HTTP.pm blib/lib/Pode/HTTP.pm\r\ncp lib/Pode/IPC.pm blib/lib/Pode/IPC.pm\r\ncp lib/Pode/NativeModules/repl.js blib/lib/Pode/NativeModules/repl.js\r\ncp lib/Pode/NativeModules/eval.js blib/lib/Pode/NativeModules/eval.js\r\ncp lib/Pode/NativeModules/_linklist.js blib/lib/Pode/NativeModules/_linklist.js\r\ncp lib/Pode/Stream.pm blib/lib/Pode/Stream.pm\r\ncp lib/Pode/NativeModules/require.js blib/lib/Pode/NativeModules/require.js\r\ncp lib/Pode/bin/nohup.exe blib/lib/Pode/bin/nohup.exe\r\ncp lib/Pode/NativeModules/buffer.js blib/lib/Pode/NativeModules/buffer.js\r\ncp script/pode blib/script/pode\r\n\"/Users/clt/.anyenv/envs/plenv/versions/5.20.3/bin/perl5.20.3\" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pode\r\nPERL_DL_NONLAZY=1 \"/Users/clt/.anyenv/envs/plenv/versions/5.20.3/bin/perl5.20.3\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t\r\nt/Pode.t ......... ok   \r\nt/pode_all.t ..... load package/index.js\r\n\r\n-> Fail | 15 == 12\r\nCaller -> undefined @ undefined\r\n\r\n-> Fail | 15 == 6\r\nCaller -> undefined @ undefined\r\n\r\n\r\n2 of 211 Tests Failed ( 3.065 seconds )\r\n# Looks like your test exited with 1 before it could output anything.\r\nt/pode_all.t ..... Dubious, test returned 1 (wstat 256, 0x100)\r\nFailed 1/1 subtests \r\nt/pode_buffer.t .. \r\n\r\n9301 Tests Ran Successfully ( 5.34 seconds )\r\nt/pode_buffer.t .. ok   \r\nt/pode_fs.t ...... close() on unopened filehandle . at /me/github/Pode/blib/lib/Pode/Fs.pm line 95, <GEN4> line 10153.\r\nclose() on unopened filehandle . at /me/github/Pode/blib/lib/Pode/Fs.pm line 95, <GEN4> line 10173.\r\n\r\n\r\n10039 Tests Ran Successfully ( 2.484 seconds )\r\nt/pode_fs.t ...... ok   \r\n\r\nTest Summary Report\r\n-------------------\r\nt/pode_all.t   (Wstat: 256 Tests: 0 Failed: 0)\r\n  Non-zero exit status: 1\r\n  Parse errors: Bad plan.  You planned 1 tests but ran 0.\r\nFiles=4, Tests=3, 12 wallclock secs ( 1.58 usr  0.22 sys +  8.25 cusr  1.29 csys = 11.34 CPU)\r\nResult: FAIL\r\nFailed 1/4 test programs. 0/3 subtests failed.\r\nmake: *** [test_dynamic] Error 255\r\n```\r\n\r\nThe interesting parts from the `prove -rbv` are:\r\n\r\n```\r\n2 1444561369035\r\n------------------------------------------------------\r\n------------------------------------------------------\r\n\r\n-> Fail | 15 == 12\r\n------------------------------------------------------\r\nCaller -> undefined @ undefined\r\n------------------------------------------------------\r\n------------------------------------------------------\r\n------------------------------------------------------\r\n3 1444561369045\r\n\r\n...\r\n\r\n30 1444561369313\r\n------------------------------------------------------\r\n------------------------------------------------------\r\n------------------------------------------------------\r\n\r\n-> Fail | 15 == 6\r\n------------------------------------------------------\r\nCaller -> undefined @ undefined\r\n------------------------------------------------------\r\n```\r\n\r\nUnfortunately I haven't any idea how to help track down the error source... :(\r\n"},"comment":{"url":"https://api.github.com/repos/mamod/Pode/issues/comments/147249010","html_url":"https://github.com/mamod/Pode/issues/4#issuecomment-147249010","issue_url":"https://api.github.com/repos/mamod/Pode/issues/4","id":147249010,"user":{"login":"jomo666","id":719714,"avatar_url":"https://avatars.githubusercontent.com/u/719714?v=3","gravatar_id":"","url":"https://api.github.com/users/jomo666","html_url":"https://github.com/jomo666","followers_url":"https://api.github.com/users/jomo666/followers","following_url":"https://api.github.com/users/jomo666/following{/other_user}","gists_url":"https://api.github.com/users/jomo666/gists{/gist_id}","starred_url":"https://api.github.com/users/jomo666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jomo666/subscriptions","organizations_url":"https://api.github.com/users/jomo666/orgs","repos_url":"https://api.github.com/users/jomo666/repos","events_url":"https://api.github.com/users/jomo666/events{/privacy}","received_events_url":"https://api.github.com/users/jomo666/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T21:45:25Z","updated_at":"2015-10-11T21:45:25Z","body":"It is ok if you didn't fix it. Because I know nothing about Javascript (yet), but i know (a little bit) perl - just tried install something what resembles `node.js` in friendly (read perlish) environment. :) I just want learn how some `node.js` \"things\" should be implemented in perl (like \"require\" and such) and the `pode` will be perfect  even without clean install.\r\n\r\nAnd why? Maybe sometime (in the (very) _FAR_ future :)) I could try port `nunjucsks` to the perl - e.g. the `nunjucks` parsing will be done in perl, but the generated `JavaScript` will be executed sandboxed using your `JavaScript::Duktape` module. (btw, it is really wonderful piece of work - at least, for what i tried it yet).\r\n\r\nI reported the bug - but don't waste your time with fixing - it isn't crucial for me. ;) Thanks for the answer."}}