[tz] make rearguard_tarballs fails on macOS

Deborah Goldsmith goldsmit at apple.com
Sat Oct 17 04:09:19 UTC 2020

Hi Paul,

This is on the latest version of macOS. While Darwin has a lot of content from FreeBSD, there’s no effort to keep the two in sync AFAIK. According to Wikipedia Darwin is not POSIX-compatible but is compatible with the Single UNIX Specification, version 3.

I’ll just patch the Makefile and then patch the output to remove the “dirty”.


> On Oct 16, 2020, at 8:02 PM, Paul Eggert <eggert at CS.UCLA.EDU> wrote:
> On 10/16/20 7:41 PM, Deborah Goldsmith via tz wrote:
>> The change to Makefile for 2020c makes it fail on macOS, as the touch command on Darwin does not have a -d option:
> Thanks for reporting that. I installed the attached proposed patch into the development repository on GitHub.
> macOS uses FreeBSD utilities, right? According to the FreeBSD man page server, FreeBSD 'touch' has supported -d since FreeBSD 10 (2014). Is macOS still using older FreeBSD 'touch', or is the problem limited to older macOS releases (and if so, which ones)?
> In the meantime, you should be able to work around the problem by building rearguard tarballs on GNU/Linux, or on any other platform conforming to POSIX-2008 or later that has a working 'tar' program.
> <0001-Port-make-rearguard_tarballs-to-macOS.patch>

More information about the tz mailing list