The file timestamps in archives created by libarchive all had dates in the year 2038. It was caused by a bit shift in archive_write_set_format_ustar which shifted 1 instead of 1ull.