Your message dated Thu, 26 Jan 2023 20:34:58 +0000
with message-id <[email protected]>
and subject line Bug#1010669: fixed in ell 0.56-2
has caused the Debian Bug report #1010669,
regarding Does not include an autopkgtest
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1010669: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010669
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ell
Version: 0.50-1

It would be nicer if the package had autopkgtests testing. The attached patch is adding a trivial build test on the model of the ones used for most GNOME libraries, it ensure that a simple case builds and that the dev isn't missing any depends

Thanks for considering
diff -Nru ell-0.50/debian/changelog ell-0.50/debian/changelog
--- ell-0.50/debian/changelog	2022-04-22 12:05:21.000000000 +0200
+++ ell-0.50/debian/changelog	2022-05-06 15:06:10.000000000 +0200
@@ -1,3 +1,9 @@
+ell (0.50-2) unstable; urgency=medium
+
+  * debian/tests: add a trivial build autopkgtest
+
+ -- Sebastien Bacher <[email protected]>  Fri, 06 May 2022 15:06:10 +0200
+
 ell (0.50-1) unstable; urgency=medium
 
   [ upstream ]
diff -Nru ell-0.50/debian/tests/build ell-0.50/debian/tests/build
--- ell-0.50/debian/tests/build	1970-01-01 01:00:00.000000000 +0100
+++ ell-0.50/debian/tests/build	2022-05-06 14:43:27.000000000 +0200
@@ -0,0 +1,35 @@
+#!/bin/sh
+# Copyright 2020 Collabora Ltd.
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+set -eux
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+    CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+    CROSS_COMPILE=
+fi
+
+cd "$AUTOPKGTEST_TMP"
+
+cat > trivial.c <<EOF
+#include <ell/ell.h>
+
+int main(void)
+{
+	l_log_set_stderr();
+
+	if (!l_main_init())
+		return -1;
+		
+	l_info("Trivial");
+	return 0;
+}
+EOF
+
+# Deliberately word-splitting pkg-config's output:
+# shellcheck disable=SC2046
+"${CROSS_COMPILE}gcc" -otrivial trivial.c $("${CROSS_COMPILE}pkg-config" --cflags --libs ell glib-2.0)
+echo "build: OK"
+./trivial
+echo "run: OK"
diff -Nru ell-0.50/debian/tests/control ell-0.50/debian/tests/control
--- ell-0.50/debian/tests/control	1970-01-01 01:00:00.000000000 +0100
+++ ell-0.50/debian/tests/control	2022-05-06 14:20:35.000000000 +0200
@@ -0,0 +1,3 @@
+Tests: build
+Depends: libglib2.0-dev, build-essential
+Restrictions: allow-stderr, superficial

--- End Message ---
--- Begin Message ---
Source: ell
Source-Version: 0.56-2
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ell, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated ell package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 26 Jan 2023 20:55:22 +0100
Source: ell
Architecture: source
Version: 0.56-2
Distribution: unstable
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1010669
Changes:
 ell (0.56-2) unstable; urgency=medium
 .
   * add autopkgtest;
     closes: bug#1010669, thanks to Sebastien Bacher and Jeremy Bicha
   * update copyright info: update coverage
Checksums-Sha1:
 3df4bfc8ea09b80e52d93e14edd68543d69b15cc 1979 ell_0.56-2.dsc
 f661db00a57a3f045e7f52705e3efb251b40fc84 12320 ell_0.56-2.debian.tar.xz
 8e370be9faae9825425ccf9142e3cd3f0859a118 7462 ell_0.56-2_amd64.buildinfo
Checksums-Sha256:
 8e86871a67f2a422ddca6629b0d529f176f2fd2997e6a55ba7a2e7fe7d9a4742 1979 
ell_0.56-2.dsc
 0308e1eba69ec1bc704355e705a6b7cd0b1c728c0901c1d5420ff342c3a27e23 12320 
ell_0.56-2.debian.tar.xz
 7fd0bce2c09597377732f64374c0e6df58360b0a4fce41e43776e8736e398463 7462 
ell_0.56-2_amd64.buildinfo
Files:
 96ef6404819e9c4d7253ee1dc2c3c8f2 1979 devel optional ell_0.56-2.dsc
 78e9bfd59d58d39ac399d1d141a7fb3f 12320 devel optional ell_0.56-2.debian.tar.xz
 f1882f036e3ff7be6222776ac12feb48 7462 devel optional ell_0.56-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmPS3tgACgkQLHwxRsGg
ASGq6g//WUOloQQjJeRHi2EvMo3KRHWDiAsErg557SspbTUYEtjf6bOtXUBF2/Zx
5AP4KJIX+PMnxCE/NbZVBcNObPq8z0TRVcMxcZ4xl+7FnRU0ekqXdeDX/KP8PfCl
OEmZ7VDhI4vZN+ZMzodHKhdKNx1sVYwL8V86xD9Ee1Jxx9RexHSqwPXdzP4vcxJI
MX2Nn85nA5h04TMHoWDtFZ2W0yuqxoSrcwo9WCvvo9zf7Kr79LwLbGYlN5hOhLbj
TgqfC0kmv8VsI2HhaSaKiw0lifqq9jwMbWv7vlEtQXZadj54KUFkCaA6H/6bEOjl
rHEzebw8rLUoYwNTlr/1q/IW2kT4u8nNEQ5GC65lp8OzXODW/2Z5WKgPVU+mzeQ6
O9wN1F5hwtO+t7WEgnKvYs7EX6IkcXcDvtuqE2LT96u4pKC13f0oZhvO3/soo3Kl
wHUzydA6tK9O9rQgGFMBnw1CoM73iBD1HclbgK5TWo29A5QSxG5Jujtgly1IQi6y
yQgMvK5uTz+4iNi7llcyiQ1GLMG1UGUk71N0uma98yxiQorX3o/i6MHJnDi4GwPc
azp1jr4f5aJiM0lfL4nwLHdBmWDn7bqwOk0oCZ2IbTqBneVKUrKEnJQ0+PgPrk3p
gSPK4p16SmXZ1dta0wY1dG4jvnJnx9FoDRNPZkyhZWBFiSP/qYc=
=ERbn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to