{"action":"closed","issue":{"url":"https://api.github.com/repos/dapphub/dapptools/issues/78","repository_url":"https://api.github.com/repos/dapphub/dapptools","labels_url":"https://api.github.com/repos/dapphub/dapptools/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/dapphub/dapptools/issues/78/comments","events_url":"https://api.github.com/repos/dapphub/dapptools/issues/78/events","html_url":"https://github.com/dapphub/dapptools/issues/78","id":382333781,"node_id":"MDU6SXNzdWUzODIzMzM3ODE=","number":78,"title":"`mapfile` not present on Mac OS","user":{"login":"Jasagredo","id":9791461,"node_id":"MDQ6VXNlcjk3OTE0NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9791461?v=4","gravatar_id":"","url":"https://api.github.com/users/Jasagredo","html_url":"https://github.com/Jasagredo","followers_url":"https://api.github.com/users/Jasagredo/followers","following_url":"https://api.github.com/users/Jasagredo/following{/other_user}","gists_url":"https://api.github.com/users/Jasagredo/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasagredo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasagredo/subscriptions","organizations_url":"https://api.github.com/users/Jasagredo/orgs","repos_url":"https://api.github.com/users/Jasagredo/repos","events_url":"https://api.github.com/users/Jasagredo/events{/privacy}","received_events_url":"https://api.github.com/users/Jasagredo/received_events","type":"User","site_admin":false},"labels":[{"id":1133211200,"node_id":"MDU6TGFiZWwxMTMzMjExMjAw","url":"https://api.github.com/repos/dapphub/dapptools/labels/macOS","name":"macOS","color":"c5def5","default":false},{"id":1134364979,"node_id":"MDU6TGFiZWwxMTM0MzY0OTc5","url":"https://api.github.com/repos/dapphub/dapptools/labels/not-nix","name":"not-nix","color":"6b4522","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-11-19T18:09:50Z","updated_at":"2018-12-08T04:44:34Z","closed_at":"2018-12-08T04:44:34Z","author_association":"CONTRIBUTOR","body":"Mac OS is shipped using an older version of bash so it doesn't have some commands that are built-in in Bash 4. That's the case of `mapfile`.\r\n\r\nThis is the reason why `dapp init` terminates with a failure caused by `dapp test` that is using such function. The error it rises is this one:\r\n\r\n```\r\n/usr/local/libexec/dapp/dapp-build: line 19: mapfile: command not found\r\n/usr/local/libexec/dapp/dapp---find-libraries: line 17: mapfile: command not found\r\n```\r\n\r\nOn the other hand, running `hevm dapp-test` runs successfully all the tests without using `mapfile`.\r\n\r\nMaybe this should be taken into account in future versions and use a different method if the system is Mac OS."}}
{"actor":{"display_login":"rainbreak"}}