Your message dated Mon, 30 Dec 2019 18:49:24 +0000
with message-id <[email protected]>
and subject line Bug#946355: fixed in glib2.0 2.62.4-1
has caused the Debian Bug report #946355,
regarding glib2.0: 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.)
--
946355: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946355
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: glib2.0
Version: 2.63.1-2
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch
Dear maintainers,
In Ubuntu, we are in the process of moving 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 glib2.0 tests currently fail in this environment, because there are
build tests that do not invoke the toolchain in a cross-aware manner. I've
verified that the attached patch lets the tests successfully build (and run)
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.
Unfortunately in the case of glib2.0, this is an incomplete solution for
cross-testing compatibility, because in addition to the build tests, glib2.0
has two other tests that depend on libglib2.0-tests and this package is not
cross-installable because dh-python causes it to have a dependency on
python3:any but on python3.7, and it's impossible to install the
foreign-arch (i386) version of python3.7. There is discussion on the
autopkgtest MP about how to filter out some tests when cross-testing, which
may wind up being a solution, but I think this is also a bug in dh-python
that it generates a dependency on same-arch python3.7, so I think this patch
is worth inclusion in glib2.0 as-is.
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 glib2.0-2.63.1/debian/tests/build glib2.0-2.63.1/debian/tests/build
--- glib2.0-2.63.1/debian/tests/build 2019-11-18 05:59:35.000000000 -0800
+++ glib2.0-2.63.1/debian/tests/build 2019-12-06 21:31:37.000000000 -0800
@@ -34,6 +34,13 @@
WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+ CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+ CROSS_COMPILE=
+fi
+
cat <<EOF > glib.c
#include <glib.h>
@@ -119,7 +126,7 @@
;;
esac
- gcc $cflags -o ${lib}-$mode ${lib}.c `pkg-config $pcflags --cflags --libs
${packages}`
+ ${CROSS_COMPILE}gcc $cflags -o ${lib}-$mode ${lib}.c
`${CROSS_COMPILE}pkg-config $pcflags --cflags --libs ${packages}`
echo "build ($lib, $mode): OK"
[ -x ${lib}-$mode ]
foo=bar ./${lib}-$mode
--- End Message ---
--- Begin Message ---
Source: glib2.0
Source-Version: 2.62.4-1
We believe that the bug you reported is fixed in the latest version of
glib2.0, 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.
Simon McVittie <[email protected]> (supplier of updated glib2.0 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, 30 Dec 2019 13:01:04 +0000
Source: glib2.0
Architecture: source
Version: 2.62.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 946355
Changes:
glib2.0 (2.62.4-1) unstable; urgency=medium
.
* Team upload
.
[ Steve Langasek ]
* debian/tests/build: Make cross-test friendly (Closes: #946355)
.
[ Iain Lane ]
* debian/tests/build: Style fixes
.
[ Simon McVittie ]
* New upstream release
Checksums-Sha1:
ff1335e478a071514d2ec0c72331c5a19b305bc2 3256 glib2.0_2.62.4-1.dsc
f9a493c86f98482f13c6ed742c19487e6fa8f34b 4684768 glib2.0_2.62.4.orig.tar.xz
e27198d3675522a33920bde784233c33f73c803a 91540 glib2.0_2.62.4-1.debian.tar.xz
e4b6506061a4b10573381e77966900202a86f9c9 7795 glib2.0_2.62.4-1_source.buildinfo
Checksums-Sha256:
0bd5d921433d9f0a9401165d4a2900366a77071397d43020e6f6f32f93b6115f 3256
glib2.0_2.62.4-1.dsc
4c84030d77fa9712135dfa8036ad663925655ae95b1d19399b6200e869925bbc 4684768
glib2.0_2.62.4.orig.tar.xz
ac45309ad96b2a1c876d306861a4abdca017f927eec2d5701a3ac4d9cc8500e3 91540
glib2.0_2.62.4-1.debian.tar.xz
92c5877b57ddb5f050120108f5989e4dd9d787e52ca4dbb0213ae6ab14afa49b 7795
glib2.0_2.62.4-1_source.buildinfo
Files:
22e66c3751ee99d052c1d7d8f53ec787 3256 libs optional glib2.0_2.62.4-1.dsc
d52234ecba128932bed90bbc3553bfe5 4684768 libs optional
glib2.0_2.62.4.orig.tar.xz
02a84ad2f9bc45ce08033a3f095d7613 91540 libs optional
glib2.0_2.62.4-1.debian.tar.xz
fb41aa16688bde3d065f0590bdff89eb 7795 libs optional
glib2.0_2.62.4-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAl4KRB4ACgkQ4FrhR4+B
TE8BFQ/+MhxN2qR+VEQzq+KSehxrszuHZjERZKaf6uqv0zw9kJ4Pvc+uCn3Epj2X
pGHVVwsuW52k5XfgJ7yEEAK46O2A4eK+KkmK8S2n9YJcxAD1uWAd80IO/JwLai1r
4QI761GXmgN5UtiWSV7RANypTfbO5sA/JL0Y1v+63AD1ik/AdAooFCp5JBoXQPyq
0KgHA6M+fZHT0FJ5h8hKILed1dM8KIbkEZW2L2Nvo2eAsIMawcmV0b5w7jUmFYrI
tKIQhlFrnGaYqrV6D3JyXMlPKSxyZl97/nfvYq6zlY+/1xVP1LNtBvTzsS2fxv7Y
HNQhS07bYNfnoI6N+SGOfWd6H/hpXDdpPym6RjUCPwf1KRETJLmQGugS2sq35+pb
Ql8ymVOLTk1Q8KoGl0Sspu+Ga1TNG8c0lBMu4TB4R30eBxb1RilPwkAvoi/2DBwQ
08d2EK2bXkNr66Zd7qfdUSE8oAo1wsYpC3aXxUsycleSEqW3382LKqm5lq9s95n2
O6pDC6q619ktiydA8KNMmaiuUW0ZpH4IDSYClURdXHUkTWAqpXNA+blI28VDESp5
ydqjexusOusFfjzM9EzxM+2Qu8BS/d3ltPXJ6cahmFhCwIUkAw5Od+lcji3Mh4CS
SCmdHKOhg0aT/W4x5CS01F1cM4gQ1rYgQqz04P+We08K+zQ8ruU=
=9uKv
-----END PGP SIGNATURE-----
--- End Message ---