rcook / ibt

Isolated Build Tool
MIT License
0 stars 0 forks source link

Ibt is not working on OSX #10

Closed joerghall closed 6 years ago

joerghall commented 6 years ago

ibt shell

Traceback (most recent call last): File "/usr/local/bin/ibt", line 11, in sys.exit(_main()) File "/usr/local/lib/python2.7/site-packages/ibt/main.py", line 73, in _main ctx = Context(working_dir) File "/usr/local/lib/python2.7/site-packages/ibt/context.py", line 17, in init self._user_info = get_user_info(working_dir) File "/usr/local/lib/python2.7/site-packages/ibt/util.py", line 125, in get_user_info return map(_sanitize, check_process(["stat", "-c", "%u:%G:%g:%U", working_dir]).strip().split(":")) File "/usr/local/lib/python2.7/site-packages/ibt/util.py", line 68, in check_process raise RuntimeError("Popen command failed: {}".format(error)) RuntimeError: Popen command failed: stat: illegal option -- c usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

rcook commented 6 years ago

macOS's stat command doesn't support the -c option, so this command is failing: stat -c %u:%G:%g:%U .. Need to find the macOS equivalent of this.

rcook commented 6 years ago

Pushed ibt-0.4 with this fix.

rcook commented 6 years ago

Published version 0.6 which should (hopefully) fix the various packaging problems.