Using dobin/dosbin in ebuild on macos, it dies because BSD install doesn't support --owner and --group, and Mac OS X doesn't have root user (Mac OS X has wheel for uid 0 instead). kent% sudo install --owner root --group root hoge hoge5 Password: usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... kent% sudo install -o root -g root hoge hoge5 install: root: Invalid argument Both GNU install and BSD install support short options, -o and -g, so I suggest we change these long options to short ones. Also, we could either a) use 0:0 (-o 0 -g 0) instead of root:root b) use wheel user instead of root if use macos is true c) force root user creation at bootstrap-macos.sh or somewhere I'll attach a diff to dobin and dosbin according to a), which I think reasonable for the moment.
Created attachment 35896 [details, diff] dobin.diff
Created attachment 35897 [details, diff] dosbin.diff
Sorry, it's not root user that is missing from Mac OS X but root group. gid 0 in Mac OS X is wheel. (Just the same as other *BSD) install -o root -g root and chown root:root fail because no such root group on Mac OS X system. (It will fail on other *BSD. At least FreeBSD spits error if -g root is specified. -g 0 works anyway)
Included in cvs in a slightly different way. All methods use short options now. Uses group names, but on GNU '$USERLAND' systems it uses root:root and on others it uses root:wheel.
*** Bug 58212 has been marked as a duplicate of this bug. ***
Fixed a while ago...
*** Bug 67599 has been marked as a duplicate of this bug. ***