Oswald Buddenhagen wrote: > On Mon, Mar 31, 2025 at 11:17:15AM +0100, Chris Lamb wrote: >>+-RELEASE_DATE=`date -r $0 +%F` >>++RELEASE_DATE=m4_esyscmd([date --utc --date="@${SOURCE_DATE_EPOCH:-$(date >>+%s)}" +%Y-%m-%d]) >> > did you even try to understand what the upstream code does, and why it > fails here?
Oh sure. But we (RB) have found that using reference filestamps like this to seed dates tends to be both unpredictable and opaque. Hence the suggestion to use SOURCE_DATE_EPOCH, which would not require a Debian-specific change (eg. your "date -r debian/changelogâŠ"), and could therefore be upstreamed. (Either way, the current call is missing the --utc/-u flag.) Best wishes, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org đ„ chris-lamb.co.uk `-