Your message dated Thu, 21 Jan 2021 16:19:40 +0000
with message-id <[email protected]>
and subject line Bug#969726: fixed in poppler 20.09.0-3.1
has caused the Debian Bug report #969726,
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 [email protected]
immediately.)
--
969726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: poppler
Version: 20.09.0-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 poppler 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 poppler-20.09.0/debian/changelog poppler-20.09.0/debian/changelog
--- poppler-20.09.0/debian/changelog 2020-09-03 21:12:14.000000000 +0200
+++ poppler-20.09.0/debian/changelog 2020-09-07 14:08:23.000000000 +0200
@@ -1,3 +1,10 @@
+poppler (20.09.0-3) UNRELEASED; urgency=medium
+
+ * debian/tests:
+ - Make autopkgtests cross-test-friendly.
+
+ -- Sebastien Bacher <[email protected]> Mon, 07 Sep 2020 14:08:23 +0200
+
poppler (20.09.0-2) unstable; urgency=medium
* Add new optional symbols generated by the new toolchain.
diff -Nru poppler-20.09.0/debian/tests/control poppler-20.09.0/debian/tests/control
--- poppler-20.09.0/debian/tests/control 2020-09-03 21:12:14.000000000 +0200
+++ poppler-20.09.0/debian/tests/control 2020-09-07 14:08:13.000000000 +0200
@@ -1,8 +1,8 @@
Tests: cpp
-Depends: build-essential, pkg-config, libpoppler-cpp-dev, cups-filters
+Depends: build-essential, pkg-config, libpoppler-cpp-dev, cups-filters:native
Tests: glib
-Depends: build-essential, pkg-config, libpoppler-glib-dev, cups-filters
+Depends: build-essential, pkg-config, libpoppler-glib-dev, cups-filters:native
Tests: qt5
-Depends: build-essential, pkg-config, libpoppler-qt5-dev, cups-filters
+Depends: build-essential, pkg-config, libpoppler-qt5-dev, cups-filters:native
diff -Nru poppler-20.09.0/debian/tests/cpp poppler-20.09.0/debian/tests/cpp
--- poppler-20.09.0/debian/tests/cpp 2020-09-03 21:12:14.000000000 +0200
+++ poppler-20.09.0/debian/tests/cpp 2020-09-07 14:08:13.000000000 +0200
@@ -2,6 +2,13 @@
set -e
SRCDIR=$(dirname $(realpath $0))
-cd $AUTOPKGTEST_TMP
-g++ -Wall -Werror -pedantic -Wno-long-long -o poppler-cpp-test $SRCDIR/test-cpp.cpp `pkg-config --cflags --libs poppler-cpp`
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+ CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+ CROSS_COMPILE=
+fi
+
+cd $ADTTMP
+${CROSS_COMPILE}g++ -Wall -Werror -pedantic -Wno-long-long -o poppler-cpp-test $SRCDIR/test-cpp.cpp `${CROSS_COMPILE}pkg-config --cflags --libs poppler-cpp`
./poppler-cpp-test "/usr/share/cups/data/default-testpage.pdf"
diff -Nru poppler-20.09.0/debian/tests/glib poppler-20.09.0/debian/tests/glib
--- poppler-20.09.0/debian/tests/glib 2020-09-03 21:12:14.000000000 +0200
+++ poppler-20.09.0/debian/tests/glib 2020-09-07 14:08:13.000000000 +0200
@@ -2,8 +2,13 @@
set -e
SRCDIR=$(dirname $(realpath $0))
-cd $AUTOPKGTEST_TMP
-gcc -Wall -Werror -std=c99 -o poppler-glib-test $SRCDIR/test-glib.c `pkg-config --cflags --libs poppler-glib`
-./poppler-glib-test "file:///usr/share/cups/data/default-testpage.pdf"
-gcc -Wall -Werror -std=c99 -o poppler-glib-test $SRCDIR/test-glib.c -DTEST_GIO `pkg-config --cflags --libs poppler-glib gio-2.0`
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+ CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+ CROSS_COMPILE=
+fi
+
+cd $ADTTMP
+${CROSS_COMPILE}gcc -Wall -Werror -std=c99 -o poppler-glib-test $SRCDIR/test-glib.c `${CROSS_COMPILE}pkg-config --cflags --libs poppler-glib`
./poppler-glib-test "file:///usr/share/cups/data/default-testpage.pdf"
diff -Nru poppler-20.09.0/debian/tests/qt5 poppler-20.09.0/debian/tests/qt5
--- poppler-20.09.0/debian/tests/qt5 2020-09-03 21:12:14.000000000 +0200
+++ poppler-20.09.0/debian/tests/qt5 2020-09-07 14:08:13.000000000 +0200
@@ -2,6 +2,13 @@
set -e
SRCDIR=$(dirname $(realpath $0))
-cd $AUTOPKGTEST_TMP
-g++ -Wall -Werror -pedantic -Wno-long-long -fPIC -std=c++11 -o poppler-qt5-test $SRCDIR/test-qt5.cpp `pkg-config --cflags --libs poppler-qt5 Qt5Core`
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+ CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+ CROSS_COMPILE=
+fi
+
+cd $ADTTMP
+${CROSS_COMPILE}g++ -Wall -Werror -pedantic -Wno-long-long -fPIC -std=c++11 -o poppler-qt5-test $SRCDIR/test-qt5.cpp `${CROSS_COMPILE}pkg-config --cflags --libs poppler-qt5 Qt5Core`
./poppler-qt5-test "/usr/share/cups/data/default-testpage.pdf"
--- End Message ---
--- Begin Message ---
Source: poppler
Source-Version: 20.09.0-3.1
Done: Sebastien Bacher <[email protected]>
We believe that the bug you reported is fixed in the latest version of
poppler, 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.
Sebastien Bacher <[email protected]> (supplier of updated poppler 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: Thu, 21 Jan 2021 16:40:36 +0100
Source: poppler
Architecture: source
Version: 20.09.0-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian freedesktop.org maintainers
<[email protected]>
Changed-By: Sebastien Bacher <[email protected]>
Closes: 969726
Changes:
poppler (20.09.0-3.1) unstable; urgency=medium
.
* debian/tests: make autopkgtests cross-test-friendly (Closes: #969726)
.
[ Gianfranco Costamagna ]
* add some optional symbols that appears/disappears when the source is
built with -O3
Checksums-Sha1:
70685cddeb8b28af8179401d3487a4c390759f11 3248 poppler_20.09.0-3.1.dsc
aa0d5300721d3017b5cf405f9a34aebab60ba4e5 34000
poppler_20.09.0-3.1.debian.tar.xz
76cb362dbf295faaa2f9e1f88ce7f8bb94ba7e07 12231
poppler_20.09.0-3.1_source.buildinfo
Checksums-Sha256:
8ddc4e09e6b03065e6705544923cf16a5e026730cc7fc5279fa463d99f1e0384 3248
poppler_20.09.0-3.1.dsc
adfb3883faf8846cd62c6861964324191fe12dcd4af54a8d872970d020d0f7d0 34000
poppler_20.09.0-3.1.debian.tar.xz
33fd942d31c936744cc0a3e92f35feb478464634b64ad96c8e5d3db8a26d525b 12231
poppler_20.09.0-3.1_source.buildinfo
Files:
1c7e8185b789b806a3ce7b214a4b15c6 3248 devel optional poppler_20.09.0-3.1.dsc
69e2e292891826374dfcfbd1d14f8f14 34000 devel optional
poppler_20.09.0-3.1.debian.tar.xz
9b4c41b9930487e1b444e3110460355f 12231 devel optional
poppler_20.09.0-3.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEERyS4b0fgKRXe6kniPr1EkD7bBJYFAmAJozgACgkQPr1EkD7b
BJaVIxAAo1k0YUEdpJBYD404Xo6Vaz04NPaVHch48kX8bGTeXK0SHk2IXfOaGAMu
Sg7uWJ5BSFw1ajeW2hoqjLnjWSqlQpi0z5AWIvGQ2lCWJMK7K6kcrspsMk1VDOnb
YpNpjnhwKkzqqy1kBPypZaPK3YAWARqX3MdbonA1jSLm9lFKwtiOa8r0yYpHgh0I
OB6XzFZh2mY4cSznXPQyfjDUuB/XgyTAeoFEGh0rBgPX9ryL9dSe8wZ/vU3vJVkb
5/L7RkY+HOnXg/MImcGzOngU1XLCFwOe/q2zBus3Kq5zF8r5HjWVa/FAYOVgBD2t
6fyHEea/g3cJlvaswOVO8Dz+Q9F6NXKjx811/gfaCYKK7b/b3jBxgFLBvz7Kz2kI
opsfHiJAvBTYJu4xocxmcwb9E+GuYFoSfJbE5poaNjiL+HUnm/NoW1cAFxnoldQb
PAsPD1xwpGAV6CUi2cDfXjugI0I7qnWqISdtrtulLNVmjqm39Mirpm44QdqI1iM0
OmR1khLczhShRSaa2Q3hSsIkVUEA/eCBwdeYhdrmdN/4uTpG5cz0QsImxnoH49NS
WcNDAgij5iJadAYI5/7ii9h9dJInyLRR386oD1uqokfRsOWEG577eStR6dSRrMQZ
4L1R7k1rX9ZIa/viN/HNFU9O4xTsxbmijze6A6s6cs3z59im4XI=
=PQ1z
-----END PGP SIGNATURE-----
--- End Message ---