Your message dated Mon, 24 Apr 2023 07:48:54 +0000
with message-id <[email protected]>
and subject line Bug#1029628: fixed in pkgconf 1.8.1-2
has caused the Debian Bug report #1029628,
regarding pkgconf: add testsuite from old pkg-config
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.)
--
1029628: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029628
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pkgconf
Version: 1.8.1-1
tags: patch
Hello, I copy-pasted the testsuite from old src:pkg-config, and it looks still
useful to catch some regressions.
Would it be possible to include it to make the package safer w.r.t. regressions
and better?
And also to make it migrate in 2 days instead of 5!
diff -Nru pkgconf-1.8.1/debian/changelog pkgconf-1.8.1/debian/changelog
--- pkgconf-1.8.1/debian/changelog 2023-01-22 12:06:42.000000000 +0100
+++ pkgconf-1.8.1/debian/changelog 2023-01-25 17:28:03.000000000 +0100
@@ -1,3 +1,9 @@
+pkgconf (1.8.1-1.1) unstable; urgency=medium
+
+ * Add testsuite from pkg-config (See LP: #1998095, Closes: #-1)
+
+ -- Gianfranco Costamagna <[email protected]> Wed, 25 Jan 2023
17:28:03 +0100
+
pkgconf (1.8.1-1) unstable; urgency=high
* New upstream release.
diff -Nru pkgconf-1.8.1/debian/tests/control pkgconf-1.8.1/debian/tests/control
--- pkgconf-1.8.1/debian/tests/control 1970-01-01 01:00:00.000000000 +0100
+++ pkgconf-1.8.1/debian/tests/control 2023-01-25 17:27:59.000000000 +0100
@@ -0,0 +1,2 @@
+Tests: crosswrapper foreign-arch invalid-arch
+Restrictions: needs-root, allow-stderr
diff -Nru pkgconf-1.8.1/debian/tests/crosswrapper
pkgconf-1.8.1/debian/tests/crosswrapper
--- pkgconf-1.8.1/debian/tests/crosswrapper 1970-01-01 01:00:00.000000000
+0100
+++ pkgconf-1.8.1/debian/tests/crosswrapper 2023-01-25 17:27:59.000000000
+0100
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+ln -s /usr/share/pkg-config-crosswrapper
$AUTOPKGTEST_TMP/i686-linux-gnu-pkg-config
+[ "$($AUTOPKGTEST_TMP/i686-linux-gnu-pkg-config --modversion pkg-config)" =
"$(pkg-config --modversion pkg-config)" ]
+exit $?
diff -Nru pkgconf-1.8.1/debian/tests/foreign-arch
pkgconf-1.8.1/debian/tests/foreign-arch
--- pkgconf-1.8.1/debian/tests/foreign-arch 1970-01-01 01:00:00.000000000
+0100
+++ pkgconf-1.8.1/debian/tests/foreign-arch 2023-01-25 17:27:59.000000000
+0100
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+dpkg --add-architecture i386
+
+if [ ! -x /usr/bin/i686-linux-gnu-pkg-config ]; then
+ echo "cross symlink missing"
+ echo "pkg-config symlinks found: $(find /usr/bin/ -name \*pkg-config)"
+ exit 1
+fi
+exit 0
diff -Nru pkgconf-1.8.1/debian/tests/invalid-arch
pkgconf-1.8.1/debian/tests/invalid-arch
--- pkgconf-1.8.1/debian/tests/invalid-arch 1970-01-01 01:00:00.000000000
+0100
+++ pkgconf-1.8.1/debian/tests/invalid-arch 2023-01-25 17:27:59.000000000
+0100
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+# Test that the dpkg hook does not error for invalid dpkg archictures.
+# Regression test for 920553.
+
+set -e
+
+# This is an intentionally invalid architecture.
+dpkg --add-architecture x86
+apt-get install sash
+
+exit 0
G.
diff -Nru pkgconf-1.8.1/debian/changelog pkgconf-1.8.1/debian/changelog
--- pkgconf-1.8.1/debian/changelog 2023-01-22 12:06:42.000000000 +0100
+++ pkgconf-1.8.1/debian/changelog 2023-01-25 17:28:03.000000000 +0100
@@ -1,3 +1,9 @@
+pkgconf (1.8.1-1.1) unstable; urgency=medium
+
+ * Add testsuite from pkg-config (See LP: #1998095, Closes: #-1)
+
+ -- Gianfranco Costamagna <[email protected]> Wed, 25 Jan 2023 17:28:03 +0100
+
pkgconf (1.8.1-1) unstable; urgency=high
* New upstream release.
diff -Nru pkgconf-1.8.1/debian/tests/control pkgconf-1.8.1/debian/tests/control
--- pkgconf-1.8.1/debian/tests/control 1970-01-01 01:00:00.000000000 +0100
+++ pkgconf-1.8.1/debian/tests/control 2023-01-25 17:27:59.000000000 +0100
@@ -0,0 +1,2 @@
+Tests: crosswrapper foreign-arch invalid-arch
+Restrictions: needs-root, allow-stderr
diff -Nru pkgconf-1.8.1/debian/tests/crosswrapper pkgconf-1.8.1/debian/tests/crosswrapper
--- pkgconf-1.8.1/debian/tests/crosswrapper 1970-01-01 01:00:00.000000000 +0100
+++ pkgconf-1.8.1/debian/tests/crosswrapper 2023-01-25 17:27:59.000000000 +0100
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+ln -s /usr/share/pkg-config-crosswrapper $AUTOPKGTEST_TMP/i686-linux-gnu-pkg-config
+[ "$($AUTOPKGTEST_TMP/i686-linux-gnu-pkg-config --modversion pkg-config)" = "$(pkg-config --modversion pkg-config)" ]
+exit $?
diff -Nru pkgconf-1.8.1/debian/tests/foreign-arch pkgconf-1.8.1/debian/tests/foreign-arch
--- pkgconf-1.8.1/debian/tests/foreign-arch 1970-01-01 01:00:00.000000000 +0100
+++ pkgconf-1.8.1/debian/tests/foreign-arch 2023-01-25 17:27:59.000000000 +0100
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+dpkg --add-architecture i386
+
+if [ ! -x /usr/bin/i686-linux-gnu-pkg-config ]; then
+ echo "cross symlink missing"
+ echo "pkg-config symlinks found: $(find /usr/bin/ -name \*pkg-config)"
+ exit 1
+fi
+exit 0
diff -Nru pkgconf-1.8.1/debian/tests/invalid-arch pkgconf-1.8.1/debian/tests/invalid-arch
--- pkgconf-1.8.1/debian/tests/invalid-arch 1970-01-01 01:00:00.000000000 +0100
+++ pkgconf-1.8.1/debian/tests/invalid-arch 2023-01-25 17:27:59.000000000 +0100
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+# Test that the dpkg hook does not error for invalid dpkg archictures.
+# Regression test for 920553.
+
+set -e
+
+# This is an intentionally invalid architecture.
+dpkg --add-architecture x86
+apt-get install sash
+
+exit 0
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: pkgconf
Source-Version: 1.8.1-2
Done: Andrej Shadura <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pkgconf, 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.
Andrej Shadura <[email protected]> (supplier of updated pkgconf 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: SHA256
Format: 1.8
Date: Mon, 24 Apr 2023 09:39:12 +0200
Source: pkgconf
Architecture: source
Version: 1.8.1-2
Distribution: experimental
Urgency: medium
Maintainer: Andrej Shadura <[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Closes: 1029628
Changes:
pkgconf (1.8.1-2) experimental; urgency=medium
.
* Upload to experimental.
.
[ Gianfranco Costamagna ]
* Implement a basic autopkgtest testsuite (Closes: #1029628).
Checksums-Sha1:
6cc24e2c052512be7829f0732a1ee30cb103e84c 1638 pkgconf_1.8.1-2.dsc
d63def5baf9e6f5f0806eb8c297813286bebf424 15556 pkgconf_1.8.1-2.debian.tar.xz
Checksums-Sha256:
cf3911b0718b17201d0674951b6222aed6757184444c4d9f85754a4f1e79d305 1638
pkgconf_1.8.1-2.dsc
dce3a4f8b5bf8becca8fbf1129565c64687a30652abf0993bea5d375d4d514d4 15556
pkgconf_1.8.1-2.debian.tar.xz
Files:
1b0e02b6520857f338ad98c34c778d94 1638 devel optional pkgconf_1.8.1-2.dsc
61a52e7870729be8d1283cede6797519 15556 devel optional
pkgconf_1.8.1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCZEYyRgAKCRDoRGtKyMdy
YR99AP9+1mw/90171L9u5nx2na9lIAjZJdqcRzkPs7vtQR6rGQEA8TZXeRLMpbgH
W+nRkOivWz/MBnuK7+DJGjdOfshKYgg=
=2+nn
-----END PGP SIGNATURE-----
--- End Message ---