Skip to content

Handle of high UIDs during the release tarball creation process

Summary

This merge request introduces a change in the build configuration scripts to handle a specific case where users with high User ID (UID) values (>2097151) encounter issues while creating tar archives during the build process. The issue arises because GNU tar has a limitation with handling high UIDs, which leads to failure in the creation of tar archives.

Purpose

The proposed solution involves automatically setting the TAR_OPTIONS environment variable when the build process detects a high UID environment. In contrast to the default behavior where automake might set the tar variant to none in such scenarios, leading to build failures. The script identifies and utilizes the most suitable tar variant (such as gnutar, plaintar, pax, or cpio) based on the environment's capabilities.

Merge request reports