Your message dated Mon, 07 Sep 2020 22:03:30 +0000
with message-id <[email protected]>
and subject line Bug#946490: fixed in json-glib 1.5.2-1
has caused the Debian Bug report #946490,
regarding json-glib: 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.)


-- 
946490: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946490
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: json-glib
Version: 1.4.4-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 json-glib tests currently fail in this environment, because they 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.

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 json-glib-1.4.4/debian/tests/build json-glib-1.4.4/debian/tests/build
--- json-glib-1.4.4/debian/tests/build  2018-12-27 07:15:42.000000000 -0800
+++ json-glib-1.4.4/debian/tests/build  2019-12-09 13:24:44.000000000 -0800
@@ -5,6 +5,12 @@
 exec 2>&1
 set -x
 
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+    CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+    CROSS_COMPILE=
+fi
+
 cd "${AUTOPKGTEST_TMP:-"${ADTTMP}"}"
 
 cat > trivial.c <<EOF
@@ -18,6 +24,6 @@
 }
 EOF
 
-gcc -o trivial trivial.c $(pkg-config --cflags --libs json-glib-1.0)
+${CROSS_COMPILE}gcc -o trivial trivial.c $(${CROSS_COMPILE}pkg-config --cflags 
--libs json-glib-1.0)
 test -x trivial
 ./trivial

--- End Message ---
--- Begin Message ---
Source: json-glib
Source-Version: 1.5.2-1
Done: Simon McVittie <[email protected]>

We believe that the bug you reported is fixed in the latest version of
json-glib, 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 json-glib 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, 07 Sep 2020 12:08:44 +0100
Source: json-glib
Architecture: source
Version: 1.5.2-1
Distribution: experimental
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 946490 966399
Changes:
 json-glib (1.5.2-1) experimental; urgency=medium
 .
   * Team upload
   * d/watch: Watch for development versions
   * New upstream release
     - The library now has versioned symbols, avoiding collisions with
       other JSON libraries. (Closes: #966399)
     - Fix error detection when converting integers to GVariant
       (LP: #1871023)
   * d/libjson-glib-1.0-0.symbols: Update
   * Update dependencies as per meson.build
   * Update Meson parameter name for gtk-doc documentation
   * Bump dependency for all symbols to 1.5.2 due to introduction of
     versioned symbols
   * d/tests/build: Remove support for ancient autopkgtest versions.
     AUTOPKGTEST_TMP is now required to be set, and we do not fall back
     to the deprecated ADTTMP.
   * d/tests/build: Silence a shellcheck warning
   * d/tests/build: Use correct compiler for proposed autopkgtest
     cross-architecture testing support (Closes: #946490)
   * d/tests/build: Mark as superficial
   * d/libjson-glib-1.0-0.symbols: Add Build-Depends-Package.
     This lets Build-Depends: libjson-glib-dev (>= x.y) translate into a
     runtime dependency on at least libjson-glib-1.0-0 (>= x.y), even if no
     new symbols are used.
   * Standards-Version: 4.5.0 (no changes required)
   * Normalize order of dependency lists (wrap-and-sort -a)
   * Normalize order of installed file lists (wrap-and-sort -a)
   * Remove migration path from legacy -dbg package older than oldstable
   * Add installed-tests to -dev package, and run them from autopkgtest.
     Next time there is an ABI break we could split these into a
     libjson-glib-tests package, but it doesn't seem worth going through
     NEW for that.
     - Install tests and metadata in a multiarch directory. Otherwise we
       won't be multiarch-friendly.
   * Use debhelper compat level 13.
     - Switch from dh_missing --list-missing to the default --fail-missing.
     - Keep the ${libexecdir} set to /usr/lib/MULTIARCH, to avoid the
       installed-tests in the -dev package becoming non-multiarch-friendly.
   * d/shlibs.local: Generate lockstep dependencies between binary packages.
     This avoids various possible situations with broken partial upgrades.
Checksums-Sha1:
 3e698c1a41d7563c6af28d0a216b92bf342f3dd4 2831 json-glib_1.5.2-1.dsc
 d23de73dc0cb6be0c43f773a1a1827356870990d 153676 json-glib_1.5.2.orig.tar.xz
 a3d05cf7e40cfa93f0fb52830ca7f2c58164a1be 8292 json-glib_1.5.2-1.debian.tar.xz
 2f2aa76355ffc5ff19b124d41f12fa626b4745f9 6860 
json-glib_1.5.2-1_source.buildinfo
Checksums-Sha256:
 8eed7a48903811879126c6ee41fc91333987456a9d13dad4a0b61a98bf2a985d 2831 
json-glib_1.5.2-1.dsc
 1d1ba227fbac93050308c603cdf5e4216519b708e1f9bcc4403d9c22e2478314 153676 
json-glib_1.5.2.orig.tar.xz
 9a310c545ace5ba7521ee286968b3d771fa67be79e2affdd53e3557e51bbc41a 8292 
json-glib_1.5.2-1.debian.tar.xz
 fe115b4d91c545bd17cc2ce84f813a1a7c3fce8739f576988713cf231e3961d1 6860 
json-glib_1.5.2-1_source.buildinfo
Files:
 f89705a9620017c00f9d8d0bb01270af 2831 libs optional json-glib_1.5.2-1.dsc
 5188107b02e17605130f7622ab636390 153676 libs optional 
json-glib_1.5.2.orig.tar.xz
 646dcdd6d5964cf323587f8709f4d1f7 8292 libs optional 
json-glib_1.5.2-1.debian.tar.xz
 bfc4f5f533f0202b3101d97866975acc 6860 libs optional 
json-glib_1.5.2-1_source.buildinfo

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

iQJEBAEBCAAuFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAl9WqS4QHHNtY3ZAZGVi
aWFuLm9yZwAKCRDgWuFHj4FMT/18D/9zMNIhmx0z/uWb0c4Rq8u9gwhnWArRtvaH
PKhOEX+KEZYTZQ4w876ZpzCDEPawtGv15cTRGtjurawSqv9uj2WhfVsuGCmmHZ2I
rOjI2aGUm35AQHEi+q8xS/IYxIkT+7EmZqN6W3ritNmacmuUN0O+lFMFEzPAWT3N
8Fpu3QDnyw+10qfBybO9HPqdMDWqHKxONouOS2GC4gwkNel7HF38UrU4CkmOLH3R
/xcMTT448WamYlRLKoNSqqqOi1g+Xhv+LZkxn9O75j34OrhLdxXoaxjziq3O3h1b
ESCOCL/cM56Vxd7F8pMp7RVht7S8pMPJub8QdII8eTAEv1WyjmY/A1Bqqt65aXRg
1lA/E0k3ubJgiE8rFyHpxck/bwRYo5FTfyO9XlKyrDv618f1syUzCgHPbk8imN04
3mYI3DBDg6BPEQr8IyEmfmc7wyVdJWhn8jRU5VRSu0FOoYuZ58Vtkt6CK+fnYMsB
ulfb1ptx0QPDoSBzaXznmdLOocEZsH9HTxXEmXzbLZQJqej+HyFBHBz6M0WxZkhi
CYQcA0pR087SoehgqtgQAEIbVomIbhX4gBq9LMNh/5dvaIv6WlD8qkZHPnH6PYzl
IX3//S+wLdAj714tuPu7uY46oInZyVcfrob/MfNjs+EV82MX4cSQ7edJEQNN19A5
Cjwc91EJQQ==
=uvqv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to