Your message dated Tue, 22 Sep 2020 15:18:33 +0000
with message-id <[email protected]>
and subject line Bug#968684: fixed in libqb 1.0.6-2
has caused the Debian Bug report #968684,
regarding libqb: Please make autopkgtests cross-test-friendly
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.)
--
968684: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968684
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libqb
Version: 1.0.6-1
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu groovy ubuntu-patch
Dear maintainers,
In Ubuntu, we have moved the i386 architecture to a compatibility-only layer
on amd64, and therefore we are also moving our autopkgtest infrastructure to
test i386 binaries in a cross-environment.
This requires changes to some tests so that they are cross-aware and can do
the right thing.
The libqb tests currently fail in this environment, because they are build
tests that do not invoke the toolchain in a cross-aware manner, and do not
declare their test dependencies in a cross-friendly matter. I've verified
that the attached patch lets the tests successfully build i386 tests on an
amd64 host.
Note that upstream autopkgtest doesn't currently set DEB_HOST_ARCH so this
is a complete no-op in Debian for the moment. Support for cross-testing in
autopkgtest is currently awaiting review at
https://salsa.debian.org/ci-team/autopkgtest/merge_requests/69 and once
landed, will still have no effect unless autopkgtest is invoked with a '-a'
option. So this change should be safe to land in your package despite this
not being upstream in autopkgtest.
Thanks for considering,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru libqb-1.0.6/debian/tests/control libqb-1.0.6/debian/tests/control
--- libqb-1.0.6/debian/tests/control 2020-07-30 10:12:44.000000000 -0700
+++ libqb-1.0.6/debian/tests/control 2020-08-19 13:54:37.000000000 -0700
@@ -1,3 +1,3 @@
-Depends: libqb-dev, gcc, libc6-dev, pkg-config
+Depends: libqb-dev, build-essential, libc6-dev, pkg-config
Tests: ipc
Restrictions: allow-stderr
diff -Nru libqb-1.0.6/debian/tests/ipc libqb-1.0.6/debian/tests/ipc
--- libqb-1.0.6/debian/tests/ipc 2020-07-30 11:31:35.000000000 -0700
+++ libqb-1.0.6/debian/tests/ipc 2020-08-19 13:59:43.000000000 -0700
@@ -1,14 +1,22 @@
#!/bin/sh -ex
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+ CC="$DEB_HOST_GNU_TYPE-gcc"
+ PKGCONFIG="$DEB_HOST_GNU_TYPE-pkg-config"
+else
+ CC=gcc
+ PKGCONFIG=pkg-config
+fi
+
cd examples
# the os_base.h in-tree header includes inttypes.h for the examples
ln -sf /usr/include/inttypes.h os_base.h # -f to enable repeated runs
-gcc $(pkg-config --cflags libqb) \
+"$CC" $("$PKGCONFIG" --cflags libqb) \
-o ipcserver ipcserver.c \
- $(pkg-config --libs libqb)
-gcc $(pkg-config --cflags libqb) \
+ $("$PKGCONFIG" --libs libqb)
+"$CC" $("$PKGCONFIG" --cflags libqb) \
-o ipcclient ipcclient.c \
- $(pkg-config --libs libqb)
+ $("$PKGCONFIG" --libs libqb)
OUT="${AUTOPKGTEST_ARTIFACTS:-.}/out.txt"
ERR="${AUTOPKGTEST_ARTIFACTS:-.}/err.txt"
--- End Message ---
--- Begin Message ---
Source: libqb
Source-Version: 1.0.6-2
Done: =?utf-8?q?Ferenc_W=C3=A1gner?= <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libqb, 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.
Ferenc Wágner <[email protected]> (supplier of updated libqb 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: Tue, 22 Sep 2020 16:38:20 +0200
Source: libqb
Architecture: source
Version: 1.0.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers
<[email protected]>
Changed-By: Ferenc Wágner <[email protected]>
Closes: 968684
Changes:
libqb (1.0.6-2) unstable; urgency=medium
.
* [1394afb] Make our autopkgtest cross-test-friendly (Closes: #968684)
Checksums-Sha1:
6c0fe869bd3224cef99dd519516b88d58de37731 2429 libqb_1.0.6-2.dsc
42b5ee18ce3f9a9a2e92f03c6ca746346b346fa8 16232 libqb_1.0.6-2.debian.tar.xz
57e524191c29f4a62259eaaa0c4f4d8c52a1d8e4 9124 libqb_1.0.6-2_amd64.buildinfo
Checksums-Sha256:
24d210ed48e48bcfff4e20e6ed370e3a42c2c29f0d98f2b961d6f9954e384c03 2429
libqb_1.0.6-2.dsc
45732e6adcb3609b2422a8c7f93afd34249500f2bbe3c56f674b2e5a5ebeaf00 16232
libqb_1.0.6-2.debian.tar.xz
f121219d74af39a7c8d6bec50698b3726f5ea0d9499d12e1a77772a35902742a 9124
libqb_1.0.6-2_amd64.buildinfo
Files:
db14b74478ebdfcde7aa39a507b99933 2429 libs optional libqb_1.0.6-2.dsc
12ad557bca3abc3af4ca6f8af8dcad03 16232 libs optional
libqb_1.0.6-2.debian.tar.xz
636f7d359ba07bfb1a2da706736bcaf2 9124 libs optional
libqb_1.0.6-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEwddEx0RNIUL7eugtOsj3Fkd+2yMFAl9qEI8ACgkQOsj3Fkd+
2yNWag//d0efGfVXSHe8MeYPSLcvcUs4DvmvokIjUm4kXm9YbA2ORc0FoSLqQyKe
EJZ3oiIvryjZjfxdU7A+wECuZg8Br7RejC50ZKIDMNoQOiRMn0s41POpK9MNQAda
XBup4OHgiJzSyihMmDXU9j2AgX/Q3bRVbo3osbXkMTI26DgtPqty0Ja+wYlfnGz1
ByLJUYikFXH8XYXVm3ZfA1YMuQ8F9PXVtagvWERyF9kCMo8WbfnQgurgB9nBfPKU
inK2fTcdRBqwqzY7VfjCn78Sni4qGAYDzzaylFos8fQPNY7j7E3b1wLInUpFvmMz
QVh0pNySC28rKYcbtxCo9ZopblrDAP4I+3l0qwKXTZa68vapu5UfdpAOF0LkLHdd
0eZttsl+TFM0E0Z7BLP86VGzRLlVlGpRJyhc3SSQApsPAieR3R9oxO6VNGJp8LgH
jTdetVDxSLZ8XPKnTE0E4eELP0/6CR0sxiET11oO6n3x694/YJsrvrRXh8KybvS6
U2+L0RY5+71F8qUTe1EEEJHV/6vCg1j8Wyl1YueBuUnZSWX4cIYvW871xBr4cY6I
XG+M44/0u4lcl8pM/sUJike6QJ2FxCRnCles9/YqPEflqrA2YWxpX9C9qTnan8e4
g8teQ96fwiAWP1YYmP7qNveYvGKInZvI62+VM0S6q+UrAAKpGlQ=
=7pQO
-----END PGP SIGNATURE-----
--- End Message ---