Re: [PATCH] cleanup: Pull in for memchr

2024-03-19 Thread Simon Richter
Hi Guillem, On 3/20/24 08:59, Guillem Jover wrote: Thanks! I ended up including this unconditionally (also because we are not explicitly checking for this header which should always be there, and if something else is checking for it, that would be an internal implementation detail that might

Bug#1065429: dpkg -s: spurious error "dpkg-query: error: --status needs a valid package name"

2024-03-19 Thread Guillem Jover
Hi! On Thu, 2024-03-07 at 04:25:03 +0100, Vincent Lefevre wrote: > On 2024-03-07 03:34:08 +0100, Guillem Jover wrote: > > > "apt-cache show libc6-dev" also lists this package. > > > > apt behaves differently, this has been also a known discrepancy, but > > then they operate in general

[dpkg] 05/09: build: Add missing space before backslash

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=4921ef18c65b429e65b4131f198b2c68795cb819 commit 4921ef18c65b429e65b4131f198b2c68795cb819

[dpkg] 06/09: build: Unconditionally include

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2eb48ad0cf05815698e61f59d47847040e6f98ce commit 2eb48ad0cf05815698e61f59d47847040e6f98ce

[dpkg] 07/09: build: Do not check for memcpy()

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=4c586e34404b1b6a4f4030a09dbe67ee68b3ead9 commit 4c586e34404b1b6a4f4030a09dbe67ee68b3ead9

[dpkg] 09/09: libcompat: Include missing in strnlen module

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7b6e42a137f4096c7189012724a50b08a988e7d3 commit 7b6e42a137f4096c7189012724a50b08a988e7d3 (HEAD

[dpkg] 08/09: build: Do not check for functions used unconditionally

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=6a22037c2234f68cdd25a79b676d7a1536fe5519 commit 6a22037c2234f68cdd25a79b676d7a1536fe5519

[dpkg] 03/09: doc: Add missing full stop to end of sentence

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7348ad792e551dc7d6974b0deef7dccb868ae831 commit 7348ad792e551dc7d6974b0deef7dccb868ae831

[dpkg] 02/09: test: Do not fail the functional test suite due to memory leaks

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=0d3527afdb9dc6155f3019ca1b9d10b83af68a9b commit 0d3527afdb9dc6155f3019ca1b9d10b83af68a9b

[dpkg] 04/09: build: Re-enable the sanitizer for functional tests in CI

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg. View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ebd19171d8f63a3ebc01eed33c22d8af5ad0eb38 commit ebd19171d8f63a3ebc01eed33c22d8af5ad0eb38

[dpkg] branch main updated (cedd58200 -> 7b6e42a13)

2024-03-19 Thread Guillem Jover
This is an automated email from the git hooks/post-receive script. guillem pushed a change to branch main in repository dpkg. from cedd58200 po: Update German man pages translation new 5cdc783e5 libdpkg: Factor out filesystem database file loading into new function new 0d3527afd

Re: [PATCH] Valgrind support for test suite

2024-03-19 Thread Guillem Jover
Hi! Thanks for the patch! I was playing with this the other day, and slightly simplified the patch as the one attached. But then I wondered whether this makes sense at all, given that the test suite should be able to run with the leak sanitizer support, which I've just fixed so that it does not

Re: [PATCH] Factor out common code for reloading database files

2024-03-19 Thread Guillem Jover
Hi! On Mon, 2024-03-18 at 13:14:14 +0900, Simon Richter wrote: > On 3/18/24 01:28, Guillem Jover wrote: > > Attached is what I had, which I've polished a bit more now. Will > > include in my next push. > > Nice, will rebase my branch on top of that. The new file probably needs to > be added to

Re: [PATCH] cleanup: Pull in for memchr

2024-03-19 Thread Guillem Jover
Hi! On Tue, 2024-03-19 at 23:48:00 +0900, Simon Richter wrote: > diff --git a/lib/compat/strnlen.c b/lib/compat/strnlen.c > index d02bb4bbd..6a7eb0454 100644 > --- a/lib/compat/strnlen.c > +++ b/lib/compat/strnlen.c > @@ -22,6 +22,10 @@ > > #include "compat.h" > > +#ifdef HAVE_STRING_H > +#

Re: [PATCH] cleanup: make memcpy check -Werror safe

2024-03-19 Thread Guillem Jover
Hi! Thanks! I ended up just removing the check for this function. Now in git main. Regards, Guillem

Bug#1066952: marked as done (Defaulting to -Werror=implicit-function-declaration might not be a good idea)

2024-03-19 Thread Debian Bug Tracking System
Your message dated Wed, 20 Mar 2024 00:06:15 +0100 with message-id and subject line Re: Bug#1066952: Defaulting to -Werror=implicit-function-declaration might not be a good idea has caused the Debian Bug report #1066952, regarding Defaulting to -Werror=implicit-function-declaration might not be

[PATCH] cleanup: Pull in for memchr

2024-03-19 Thread Simon Richter
This needs further inspection on more systems --- lib/compat/strnlen.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/compat/strnlen.c b/lib/compat/strnlen.c index d02bb4bbd..6a7eb0454 100644 --- a/lib/compat/strnlen.c +++ b/lib/compat/strnlen.c @@ -22,6 +22,10 @@ #include

[PATCH] cleanup: make memcpy check -Werror safe

2024-03-19 Thread Simon Richter
--- configure.ac | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b084ade12..1daf4b1de 100644 --- a/configure.ac +++ b/configure.ac @@ -207,7 +207,21 @@ DPKG_CHECK_COMPAT_FUNCS([\ alphasort \ unsetenv \ ])

[PATCH] Add db-fsys-load.c to POTFILES.in

2024-03-19 Thread Simon Richter
--- po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) diff --git a/po/POTFILES.in b/po/POTFILES.in index b38797ad7..a2386011a 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -17,6 +17,7 @@ lib/dpkg/db-ctrl-upgrade.c lib/dpkg/db-fsys-digest.c lib/dpkg/db-fsys-divert.c

Bug#1067155: debian-policy: prerm scripts cannot actually rely on dependencies

2024-03-19 Thread Julian Andres Klode
Package: debian-policy Severity: wishlist X-Debbugs-Cc: de...@lists.debian.org, debian-d...@lists.debian.org APT's installation planner does not consider dependencies of packages being scheduled for removal, so a prerm must fail equally gracefully as a postrm does in absence of its dependencies.