[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946577: marked as done (Please make autopkgtests cross-test-friendly)



Your message dated Wed, 05 Feb 2020 16:49:49 +0000
with message-id <E1izNs5-000HOI-B0@fasolo.debian.org>
and subject line Bug#946577: fixed in libinput 1.15.1-1
has caused the Debian Bug report #946577,
regarding 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 owner@bugs.debian.org
immediately.)


-- 
946577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946577
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libinput
Version: 1.14.3-1
Severity: minor
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
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 libinput 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 thisis 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,



diff -Nru libinput-1.14.3/debian/changelog libinput-1.14.3/debian/changelog
--- libinput-1.14.3/debian/changelog	2019-11-07 14:50:24.000000000 +0100
+++ libinput-1.14.3/debian/changelog	2019-12-11 09:41:34.000000000 +0100
@@ -1,3 +1,11 @@
+libinput (1.14.3-2) UNRELEASED; urgency=medium
+
+  * debian/tests/libssh-server:
+    - Use the correct compiler for proposed autopkgtest cross-testing
+      support. 
+
+ -- Sebastien Bacher <seb128@ubuntu.com>  Wed, 11 Dec 2019 09:37:38 +0100
+
 libinput (1.14.3-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru libinput-1.14.3/debian/tests/build libinput-1.14.3/debian/tests/build
--- libinput-1.14.3/debian/tests/build	2019-11-07 13:27:59.000000000 +0100
+++ libinput-1.14.3/debian/tests/build	2019-12-11 09:40:39.000000000 +0100
@@ -3,6 +3,12 @@
 exec 2>&1
 set -eux
 
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+    CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+    CROSS_COMPILE=
+fi
+
 cd "${AUTOPKGTEST_TMP:-"${ADTTMP}"}"
 
 echo "1..2"
@@ -44,7 +50,7 @@
 }
 EOF
 
-gcc -o dynamic simple.c $(pkg-config --cflags --libs libinput)
+${CROSS_COMPILE}gcc -o dynamic simple.c $(${CROSS_COMPILE}pkg-config --cflags --libs libinput)
 echo "ok 1 - compile dynamic executable"
 test -x dynamic
 ./dynamic

--- End Message ---
--- Begin Message ---
Source: libinput
Source-Version: 1.15.1-1

We believe that the bug you reported is fixed in the latest version of
libinput, 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 946577@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated libinput 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 05 Feb 2020 18:20:32 +0200
Source: libinput
Architecture: source
Version: 1.15.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 946577
Changes:
 libinput (1.15.1-1) unstable; urgency=medium
 .
   * New upstream release.
   * source: Update diff-ignore.
   * symbols: Updated.
   * tests: Modified to be cross-test-friendly. (Closes: #946577)
Checksums-Sha1:
 d86b2227dba4cb4317ae4a90eaee2cd5cbee6a26 2633 libinput_1.15.1-1.dsc
 1b311c407c21210ad9d13b059e9eab4b85f19fb5 579236 libinput_1.15.1.orig.tar.xz
 9bc2ec1a62b2f86c88ba78f9d6cda43488260ca5 195 libinput_1.15.1.orig.tar.xz.asc
 9e6b0bf63b7b9e4793925712e46cb867750452e0 9588 libinput_1.15.1-1.debian.tar.xz
 852ed903b3ca3712cb7c514e6450473e589587ea 6987 libinput_1.15.1-1_source.buildinfo
Checksums-Sha256:
 0d0889b50fc542ddb454368f9de99a6d17027e1373fa3f8c406c734e76ecf978 2633 libinput_1.15.1-1.dsc
 6b2f57495c6f173ecf49ee19d3e10087d9916a52711e1b5eb01e0d9635950c16 579236 libinput_1.15.1.orig.tar.xz
 de424316ce92ef07212f5e4efa77da71573daceed313ffd86d4f5843f68c1955 195 libinput_1.15.1.orig.tar.xz.asc
 4d533d241e3223ab3e9d6abb035dbf779d8b9f236fe66ca16509d7e3dbcebe32 9588 libinput_1.15.1-1.debian.tar.xz
 f07c0a6edb51ad0daca0b96aea5f4bd5b2b04232af1bc05786b26843f3d80280 6987 libinput_1.15.1-1_source.buildinfo
Files:
 2b7362072a7f69d147daa880da2be2a1 2633 libs optional libinput_1.15.1-1.dsc
 93850756b6c07aafb49d5226e88fdc81 579236 libs optional libinput_1.15.1.orig.tar.xz
 739c37a374feacabc51faa738bc3d0c2 195 libs optional libinput_1.15.1.orig.tar.xz.asc
 b04078e29871f4c910fad9436d6f1334 9588 libs optional libinput_1.15.1-1.debian.tar.xz
 74d5518d19f2d60d6fd936f21908a421 6987 libs optional libinput_1.15.1-1_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAl467YwACgkQy3AxZaiJ
hNzQ2Q/8DSODSPfo0BSNNXEHrcjwMS7bnbO2jsZv1p+oVgprb//yPWMaDOkMb9v/
6PVYBJcSrkJKGA7115GWPgxNO9K1Mo4r38Cx70fmsjiBoPRPRCNG9jF9IN3dWlBr
PGlL6V2ytIuCIuJDLAu680LzHs9n4tvX79RZBhg3m3YVa6wVqUshQHdGbbhiUUHj
3++Uk0NoQGqv8Lml0m0koJquJj3eOluGB+6KoVhtrCFQB+a9Wn7ASsTxMGz7WQ+o
Uw0Eb1TrGGHc78sm2UL5rHVZzmN6mqrhAnBTLwKAWnR7+WgsCMYwe+mHFrT9Zk6+
MH2PuAThICSKY4WGbmHMjDC0UgtQgCw/EhWvOCzFmM21Lo5nagMzRqrKorWZpfF9
Eo8XdOJUOFFlBW73hrAGRKRNPoCHyS3GZrUDVjtdGJ5NpJ5FFSbIreVa6brjiiIF
JkWDq1rAuwAx9hWBKdZKSkLBd9+6TAo0u+Voe3tqsLMBLfOJD0Vy1FA3c8olJlVl
RVSC8Hicg+8eSPeuGcFBWVp+QzS33p/+HGLZ3CvgDpjhSKvEAKF96XAVClSLnhCi
h17V4SByV/8Xk/dAbXHiRNw43uxG9MZQgB2twn2bah9sPolNe3fMN3ih40R2H3/k
uhktI62v8WvIs3vL5fuicRGwUnifIkaEaoEPeBEq+vW47dmKjmI=
=t00X
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: