On Tue, 31 Jan 2023 18:27:27 +0100 Andreas Henriksson <andr...@fatal.se> wrote:
> ------------
> export DEB_BUILD_MAINT_OPTIONS = future=+lfs
> export DEB_CFLAGS_MAINT_APPEND = -Wall -Wno-analyzer-null-argument
Might be useful to add a comment here saying:
# Workaround gnulib issue: The below three lines can be dropped once tar >=
1.35 is used.
> ifneq ($(shell dpkg-architecture -qDEB_TARGET_ARCH_BITS),64)
> export DEB_CPPFLAGS_MAINT_APPEND = -D_TIME_BITS=64
> endif
Just for your info:
I opened this ticket:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030159.
which asks for a "future=+time64" option, which was accepted.
So, in future, just adding "future=+time64" avoids the "ifneq" check above.
I assume you also have no idea how to use src:gnulib when building tar
(or maybe it's just too complicated change)?
(The problem should already be fixed in the version of src:gnulib we
have in debian...)
I don't know. Sorry.
Will you go ahead and upload this Helge?
I'd prefer if some "tar" maintainer would do that...
Helge