Building on macOS Mojave - it works


#1

Just confirming that the instructions here work on macOS Mojave with a case-sensitive APFS disk image.

https://openwrt.org/docs/guide-developer/buildroot.exigence.macosx


#2

Hi,

It used to work for me with that setup, but now (branch openwrt-18.06) I can't even update the feeds.
It is failing on make prepare-mk claiming that time doesn't support the -f modifier and that I should install GNU time.

The problem is that 'time' is a builtin command in Macos sh and bash. I added an alias which works if I call time directly or command -v time, but the call to make prepare-mk is done as a Perl system() call (in ./scripts/feeds) which doesn't include the alias.

Any ideas?


#3

For me the build fails when building sed.
See the this pastebin:
https://pastebin.com/wdnwkfwB