{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/iotjs/issues/322","labels_url":"https://api.github.com/repos/Samsung/iotjs/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/iotjs/issues/322/comments","events_url":"https://api.github.com/repos/Samsung/iotjs/issues/322/events","html_url":"https://github.com/Samsung/iotjs/issues/322","id":123269673,"number":322,"title":"Build on MacOS fails with genromfs missing","user":{"login":"mulderp","id":220560,"avatar_url":"https://avatars.githubusercontent.com/u/220560?v=3","gravatar_id":"","url":"https://api.github.com/users/mulderp","html_url":"https://github.com/mulderp","followers_url":"https://api.github.com/users/mulderp/followers","following_url":"https://api.github.com/users/mulderp/following{/other_user}","gists_url":"https://api.github.com/users/mulderp/gists{/gist_id}","starred_url":"https://api.github.com/users/mulderp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulderp/subscriptions","organizations_url":"https://api.github.com/users/mulderp/orgs","repos_url":"https://api.github.com/users/mulderp/repos","events_url":"https://api.github.com/users/mulderp/events{/privacy}","received_events_url":"https://api.github.com/users/mulderp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T12:22:37Z","updated_at":"2015-12-21T13:58:48Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to run the `oneshot.sh` build script on MacOS.\r\nFor this, I installed genromfs manually from Sourceforge and run a local build. This works:\r\n\r\n```\r\npm:nuttx pmu$ ls -ltr ../../embedded/genromfs-0.5.2\r\ntotal 248\r\n-rw-r--r--  1 pmu  staff   8685 Jun 26  2007 romfs.txt\r\n-rw-r--r--  1 pmu  staff    307 Jun 26  2007 readme-kernel-patch\r\n-rwxr-xr-x  1 pmu  staff    415 Jun 26  2007 genrommkdev\r\n-rw-r--r--  1 pmu  staff    620 Jun 26  2007 genromfs.lsm\r\n-rw-r--r--  1 pmu  staff  19408 Jun 26  2007 genromfs.c\r\n-rw-r--r--  1 pmu  staff   3412 Jun 26  2007 genromfs.8\r\n-rwxr-xr-x  1 pmu  staff    243 Jun 26  2007 checkdist\r\n-rw-r--r--  1 pmu  staff    995 Jun 26  2007 NEWS\r\n-rw-r--r--  1 pmu  staff   1206 Jun 26  2007 Makefile\r\n-rw-r--r--  1 pmu  staff   3457 Jun 26  2007 ChangeLog\r\n-rw-r--r--  1 pmu  staff  17983 Jun 26  2007 COPYING\r\n-rw-r--r--  1 pmu  staff  16508 Dec 21 13:07 genromfs.o\r\n-rwxr-xr-x  1 pmu  staff  19668 Dec 21 13:07 genromfs\r\n```\r\n\r\nBut when I run the Nuttx build script, I still get a:\r\n\r\n```\r\npm:harmony pmu$ cd nuttx/nuttx/\r\npm:nuttx pmu$ make\r\nLN: include/arch/board to /Users/pmu/projects/iotjs/harmony/nuttx/nuttx/configs/stm32f4discovery/include\r\nLN: include/arch/chip to arch/arm/include/stm32\r\nLN: arch/arm/src/chip to arch/arm/src/stm32\r\nLN: include/apps to ../apps/include\r\nLN: platform/board to /Users/pmu/projects/iotjs/harmony/nuttx/apps/platform/stm32f4discovery\r\nmake[3]: Nothing to be done for `context'.\r\nmake[3]: Nothing to be done for `context'.\r\nLN: platform/board to /Users/pmu/projects/iotjs/harmony/nuttx/apps/platform/stm32f4discovery\r\n./nsh_romfsetc.c:59:41: fatal error: nsh_romfsimg_iotjs.h: No such file or directory\r\n #  include CONFIG_NSH_CUSTOMROMFS_HEADER\r\n                                         ^\r\ncompilation terminated.\r\nLN: platform/board to /Users/pmu/projects/iotjs/harmony/nuttx/apps/platform/stm32f4discovery\r\nmake[2]: Nothing to be done for `depend'.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Samsung/iotjs/issues/comments/166311041","html_url":"https://github.com/Samsung/iotjs/issues/322#issuecomment-166311041","issue_url":"https://api.github.com/repos/Samsung/iotjs/issues/322","id":166311041,"user":{"login":"mulderp","id":220560,"avatar_url":"https://avatars.githubusercontent.com/u/220560?v=3","gravatar_id":"","url":"https://api.github.com/users/mulderp","html_url":"https://github.com/mulderp","followers_url":"https://api.github.com/users/mulderp/followers","following_url":"https://api.github.com/users/mulderp/following{/other_user}","gists_url":"https://api.github.com/users/mulderp/gists{/gist_id}","starred_url":"https://api.github.com/users/mulderp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulderp/subscriptions","organizations_url":"https://api.github.com/users/mulderp/orgs","repos_url":"https://api.github.com/users/mulderp/repos","events_url":"https://api.github.com/users/mulderp/events{/privacy}","received_events_url":"https://api.github.com/users/mulderp/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T13:58:48Z","updated_at":"2015-12-21T13:58:48Z","body":"I can't find that source file:\r\n\r\n```\r\npm:iotjs pmu$ find harmony -name \"nsh_romfs*\"\r\nharmony/nuttx/apps/nshlib/nsh_romfsetc.c\r\nharmony/nuttx/apps/nshlib/nsh_romfsimg.h\r\nharmony/nuttx/nuttx/configs/sama5d4-ek/include/nsh_romfsimg.h\r\nharmony/nuttx/nuttx/configs/vsn/include/nsh_romfsimg.h\r\n```\r\n\r\nAlso not sure where/how to update the branches to possibly see the file."}}