4 days ago

Hi,

Working on maintaining the Lix game package for Debian GNU/Linux which uses LDC (via DUB) to compile and link, everything is fine except for passing the Debian reprotest.
The built packages (main and debug symbols) show differences due in particular to the NT_GNU_BUILD_ID, but not only.

Is there a way to solve this?

Sorry for the noise if this has been already discussed.

Regards,
Patrice

3 days ago

The compiler supports a Unix timestamp in the SOURCE_DATE_EPOCH environment variable while compiling, which affects the __DATE__, __TIME__ and __TIMESTAMP__ tokens, and the reported host CPU in the --version output.

After a quick search, NT_GNU_BUILD_ID seems to come from the ld linker, not from the compilers.