I am also facing same issue.
Thanks Stuartpreston for https://supermarket.chef.io/cookbooks/omnibus link
I have downloaded all the cookbooks which were required for omnibus.
Following cookbooks are required.
I created my chef folder wherein created cookbooks named folder and pasted all above downloaded cookbooks. And included the
omnibus::default recipe in node's run list.
And ran the cookbooks using chef-solo command.
All the cookbooks were successfully executed and Omnibus cookbook planted a
load_omnibus_toolchain.bat that I ran to set all required environment variables.
Finally tried the build with command - bundle exec omnibus build chef
Build took some time and ended with an error -
.libs/iconv.o:iconv.c:(.text+0x17198): undefined reference to `aliases2_lookup'
.libs/iconv.o:iconv.c:(.text+0x176e6): undefined reference to `aliases2_lookup'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:71: libiconv.la] Error 1
make: *** [Makefile:33: all] Error 2
C:/chef-12.21.3/chef/omnibus/vendor/cache/ruby/2.4.0/bundler/gems/omnibus-0212438d74eb/lib/omnibus/util.rb:139:in `rescue in shellout!'
Am I missing anything to get successful build.