Your message dated Thu, 14 Jan 2016 18:48:58 +0000
with message-id <e1ajmx8-0005tm...@franck.debian.org>
and subject line Bug#808842: fixed in glib2.0 2.47.4-1
has caused the Debian Bug report #808842,
regarding glib2.0: FTBFS with PCRE 8.38: regex (?(?<ab)) produces different
error
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 ow...@bugs.debian.org
immediately.)
--
808842: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808842
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: glib2.0
Version: 2.46.2-1
Severity: serious
Tags: upstream patch
Justification: fails to build from source (but built successfully in the past)
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=759808
GLib 2.46.2-2 FTBFS with a regex test failure on all release architectures
except amd64, where it was built by the maintainer. The same test is also
now failing with the prebuilt 2.46.2-1 on ci.debian.net, so this is not
actually a regression in 2.46.2-2; instead, it's a regression in the new
libpcre3.
The problem appears to be that certain invalid regexes are diagnosed
differently (different error code) with PCRE 8.38.
I have sent a report and patch to GNOME (also attached),
<https://bugzilla.gnome.org/show_bug.cgi?id=759808>
X-Debbugs-Cc set to libpc...@packages.debian.org. Matthew, it would be
great if you could upload new pcre3 versions to experimental initially,
and/or run the GLib regex test against them before uploading to unstable
(install libglib2.0-tests and run
"/usr/lib/glib2.0/installed-tests/glib/regex" - no special options are
needed, and it will exit 0 for success or nonzero for failure).
Regards,
S
>From 414259817e646b8c33907e7ddb3971008a2bc17f Mon Sep 17 00:00:00 2001
From: Simon McVittie <s...@debian.org>
Date: Wed, 23 Dec 2015 15:03:16 +0000
Subject: [PATCH] regex test: expect ASSERTION_EXPECTED for /(?(?<ab))/ with
PCRE 8.38
PCRE 8.38 changed the parsing of this invalid regex. It still fails,
but with a different error (since PCRE r1539,
<http://vcs.pcre.org/pcre?view=revision&revision=1539>).
The regex /(?P<sub>foo)\g<sub/ used to raise MISSING_BACK_REFERENCE but
now raises MISSING_SUBPATTERN_NAME_TERMINATOR, so we can still have a
test for the latter.
Signed-off-by: Simon McVittie <s...@debian.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=759808
---
glib/tests/regex.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/glib/tests/regex.c b/glib/tests/regex.c
index 09083a3..777616a 100644
--- a/glib/tests/regex.c
+++ b/glib/tests/regex.c
@@ -2261,7 +2261,14 @@ main (int argc, char *argv[])
TEST_NEW_FAIL ("^(?(0)f|b)oo", 0, G_REGEX_ERROR_INVALID_CONDITION);
TEST_NEW_FAIL ("(?<=\\C)X", 0, G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND);
TEST_NEW_FAIL ("(?!\\w)(?R)", 0, G_REGEX_ERROR_INFINITE_LOOP);
+#if PCRE_MAJOR > 8 || (PCRE_MAJOR == 8 && PCRE_MINOR >= 38)
+ /* The expected errors changed here. */
+ TEST_NEW_FAIL ("(?P<sub>foo)\\g<sub", 0, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR);
+ TEST_NEW_FAIL ("(?(?<ab))", 0, G_REGEX_ERROR_ASSERTION_EXPECTED);
+#else
+ TEST_NEW_FAIL ("(?P<sub>foo)\\g<sub", 0, G_REGEX_ERROR_MISSING_BACK_REFERENCE);
TEST_NEW_FAIL ("(?(?<ab))", 0, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR);
+#endif
TEST_NEW_FAIL ("(?P<x>eks)(?P<x>eccs)", 0, G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME);
#if 0
TEST_NEW_FAIL (?, 0, G_REGEX_ERROR_MALFORMED_PROPERTY);
--
2.6.4
--- End Message ---
--- Begin Message ---
Source: glib2.0
Source-Version: 2.47.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 808...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Iain Lane <la...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 14 Jan 2016 18:27:02 +0000
Source: glib2.0
Binary: libglib2.0-0 libglib2.0-tests libglib2.0-udeb libglib2.0-bin
libglib2.0-dev libglib2.0-0-dbg libglib2.0-data libglib2.0-doc libgio-fam
libglib2.0-0-refdbg
Architecture: source
Version: 2.47.4-1
Distribution: experimental
Urgency: medium
Maintainer: Debian GNOME Maintainers
<pkg-gnome-maintain...@lists.alioth.debian.org>
Changed-By: Iain Lane <la...@debian.org>
Description:
libgio-fam - GLib Input, Output and Streaming Library (fam module)
libglib2.0-0 - GLib library of C routines
libglib2.0-0-dbg - Debugging symbols for the GLib libraries
libglib2.0-0-refdbg - GLib library of C routines - refdbg library
libglib2.0-bin - Programs for the GLib library
libglib2.0-data - Common files for GLib library
libglib2.0-dev - Development files for the GLib library
libglib2.0-doc - Documentation files for the GLib library
libglib2.0-tests - GLib library of C routines - installed tests
libglib2.0-udeb - GLib library of C routines - minimal runtime (udeb)
Closes: 808842
Changes:
glib2.0 (2.47.4-1) experimental; urgency=medium
.
* New upstream release
+ The GApplication documentation has been improved in several areas.
* 0001-tests-fix-a-test-on-32-bit-builds.patch,
0001-gtypes.h-move-G_STATIC_ASSERT-to-function-scope.patch: Drop, applied
upstream in this release.
* 0001-regex-test-expect-ASSERTION_EXPECTED-for-ab-with-PCR.patch: Fix regex
tests to assert the right errors as of pcre 8.38. Cherry-pick from
upstream. (Closes: #808842)
* Don't build automatic dbgsym package for -refdbg
Checksums-Sha1:
2054dbdfdf3546aba48641fcd5667121c5ffee8d 3047 glib2.0_2.47.4-1.dsc
06a76975c40cad1b2fa594181c3561c3feee07cb 7249880 glib2.0_2.47.4.orig.tar.xz
b712b45aa614a65e2975b69069a63066a74a29bb 69484 glib2.0_2.47.4-1.debian.tar.xz
Checksums-Sha256:
cc3ac4ef43a6002eb8ff1eff9f4a4818080ad2552b965999b943636a23fbe7c2 3047
glib2.0_2.47.4-1.dsc
4270129436fc2380e59f500b602d7c165cece208cda2872fdf1e8d1322cd1520 7249880
glib2.0_2.47.4.orig.tar.xz
c7ceb24a91502686fb16d5242c0a2eeac69c9c02e6fdc097c12e25f57bbbb8a7 69484
glib2.0_2.47.4-1.debian.tar.xz
Files:
5ac32c4461b9c5578138d2951d0d4ac0 3047 libs optional glib2.0_2.47.4-1.dsc
299b6b738d9955e2231b6cbabfa48df7 7249880 libs optional
glib2.0_2.47.4.orig.tar.xz
cbc8cf078d4100987b232a349b92b581 69484 libs optional
glib2.0_2.47.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJWl+u9AAoJEONS1cUcUEHUv9oP/jGz/rllXb5dO0c8bF1QNade
mKbDBK3imHunCHWIOzcQFZRKAqeWTc5yG6DnRjqRWqkdhX/VygDuYDi4Y9Uqv7gz
I65TTsYnoAR1WvFPS+Mf60fMiLiSYnX6Jegb4v0owMqhNhuPpSg0kAr1aifCzmLV
IKqaHfTKaJ0yvEGzpSJNXxhYRD6m1rkJS9cKlt1K3ob3A8HZwfvlPM9uYPSN8aev
CVHvzKApIX5e+CLiRqyGs4i6tmpnteFT8WBzmsq6puerAbLOPdT3TvZMdaruHfHL
ImW8bAxkXHnbahuzbfHBblSIi9f/kDXKs2RrOh6zYmMxzK1UnYyv/Gs8t8HKI3iB
gK7/YElVEqIrosjwIgQsUMfUHSDG+xxrTgsmSqOl2LROdWCtE1edZ8sp3XxjDPRJ
NwWRcS8V9EiCHPgbvM5uhZJOLP0/vj3CUCY1L3GI6r2vdYgSQbYYEcI22ear/qwM
B87KKXpVDELhkkEIEjeteybzksYZj+hOPSU4+RKNTzi0dV/tawteXTet2qHXPSGA
kmdItkHhYRpW9B5u90T6i0rkR8ts7uPCAQrPanACQLpzIrK77J71VQ3WJ+2+CU9z
YQAvuOUdVzoiLGUQosQNbUv3ErWnCTIDq/llfL11C035rtbrVh8EDdgj7lQXVnoz
jIVQiX4QWFyG4fhc2Hac
=i/Jx
-----END PGP SIGNATURE-----
--- End Message ---