On Mon, 2025-03-03 at 14:38 +0000, Chen Shengqi wrote:
> Hi Simon,
> 
> > -----Original Message-----
> > From: Simon Josefsson <si...@josefsson.org>
> > 
> > Thanks for working on this!  It is a bit delicate issue, and I've
> > been
> > unable to find the right spell to fix things.  Could you propose
> > this as
> > a Salsa merge request, or at least a concrete patch?  It would
> > indeed be
> > nice to get this fixed and uploaded.
> 
> As I suggested, the patch should look like (not 100% sure it would
> work):
> 
> diff --git a/debian/tests/tests b/debian/tests/tests
> index e164be5..2931d30 100755
> --- a/debian/tests/tests
> +++ b/debian/tests/tests
> @@ -1,5 +1,10 @@
>  #!/bin/sh
>  set -e -u
> +
> +export DEB_BUILD_MAINT_OPTIONS=abi=-time64
> +export CFLAGS=$(dpkg-buildflags --get CFLAGS)
> +export CPPFLAGS=$(dpkg-buildflags --get CPPFLAGS)
> +
>  cp -a . "$AUTOPKGTEST_TMP"
>  cd "$AUTOPKGTEST_TMP"
>  rm -rf obj debian
> 
> P.S I would also suggest using make V=1 where possible to show the
> actual build commands.

The "will it work" is the key here.  Like Simon, I agree it is
delicate, and I'm not entirely convinced there is actually a valid
spell. 

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead                https://catalyst.net.nz/services/samba
Catalyst.Net Ltd

Proudly developing Samba for Catalyst.Net Ltd - a Catalyst IT group
company

Samba Development and Support: https://catalyst.net.nz/services/samba

Catalyst IT - Expert Open Source Solutions

Reply via email to