POV-Ray / povray

The Persistence of Vision Raytracer (POV-Ray)
https://www.povray.org/
GNU Affero General Public License v3.0
1.37k stars 283 forks source link

[UNIX] Eliminate need for `stat` shell command #407

Open c-lipka opened 3 years ago

c-lipka commented 3 years ago

Summary The Unix build process (specifically the ./configure step) currently relies on support for either stat --format=FORMAT (GNU), stat -f FORMAT (BSD), or stat -c FORMAT (busybox, pending commit), to identify the user ID and group ID of the current user.

We should change this, as it appears that stat is not available on systems outside the wider GNU/BSD bubble, and thus limits portability of our current Unix build process.

POV-Ray Version

Build Environment

Additional context (optional) See also issue #7 for some suggested solutions.

Workaround (optional) [If you have managed to work around the issue, please describe that workaround here. Otherwise please delete this section.]

Suggested Solution (optional)