Hi David,

Thank you!

Bye,

Joost

On Sat, Feb 08, 2025 at 09:05:34PM -0400, David Bremner wrote:
> Control: tags 1092530 + patch
> Control: tags 1092530 + pending
> 
> Dear maintainer,
> 
> I've prepared an NMU for daemontools (versioned as 1:0.76-13.1) and
> uploaded it to DELAYED/5. Please feel free to cancel it if you prefer to
> fix the bug yourself.
> 
> Regards.
> 
> David Bremner

> diff -Nru daemontools-0.76/debian/changelog daemontools-0.76/debian/changelog
> --- daemontools-0.76/debian/changelog 2024-07-08 12:06:08.000000000 -0300
> +++ daemontools-0.76/debian/changelog 2025-02-08 20:55:38.000000000 -0400
> @@ -1,3 +1,10 @@
> +daemontools (1:0.76-13.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Disable chkshsgr test. (Closes: #1092530).
> +
> + -- David Bremner <brem...@debian.org>  Sat, 08 Feb 2025 20:55:38 -0400
> +
>  daemontools (1:0.76-13) unstable; urgency=medium
>  
>    * d/p/0005-fix-ftbfs.patch update, fix FTBFS with GCC-14 (Closes: 1074901)
> diff -Nru daemontools-0.76/debian/patches/disable-chkshsgr.patch 
> daemontools-0.76/debian/patches/disable-chkshsgr.patch
> --- daemontools-0.76/debian/patches/disable-chkshsgr.patch    1969-12-31 
> 20:00:00.000000000 -0400
> +++ daemontools-0.76/debian/patches/disable-chkshsgr.patch    2025-02-08 
> 20:55:38.000000000 -0400
> @@ -0,0 +1,25 @@
> +From: David Bremner <brem...@debian.org>
> +Date: Sat, 8 Feb 2025 20:50:04 -0400
> +X-Dgit-Generated: 1:0.76-13.1 24e30cb4a2d5257d66a8abaaf82a81fc5ce69f58
> +Subject: disable chkshsgr
> +
> +This test is known to fail under cross compilation, and apparently
> +fails under "unshare" as well. Disable the test until someone can
> +figure out what the real problem is.
> +
> +---
> +
> +diff --git a/daemontools-0.76/src/chkshsgr.c 
> b/daemontools-0.76/src/chkshsgr.c
> +index 470f565..0230825 100644
> +--- a/daemontools-0.76/src/chkshsgr.c
> ++++ b/daemontools-0.76/src/chkshsgr.c
> +@@ -8,6 +8,8 @@ int main()
> +   short x[4];
> + 
> +   x[0] = x[1] = 0;
> +-  if (getgroups(1,(gid_t *)x) == 0) if (setgroups(1,(gid_t *)x) == -1) 
> _exit(1);
> ++  /*
> ++    if (getgroups(1,(gid_t *)x) == 0) if (setgroups(1,(gid_t *)x) == -1) 
> _exit(1);
> ++  */
> +   _exit(0);
> + }
> diff -Nru daemontools-0.76/debian/patches/series 
> daemontools-0.76/debian/patches/series
> --- daemontools-0.76/debian/patches/series    2024-07-08 12:06:08.000000000 
> -0300
> +++ daemontools-0.76/debian/patches/series    2025-02-08 20:55:38.000000000 
> -0400
> @@ -3,3 +3,4 @@
>  0003-supervise.c-restart-process-when-fork-fails.patch
>  0004-daemontools-sigq12.patch
>  0005-fix-ftbfs.patch
> +disable-chkshsgr.patch

Reply via email to