Your message dated Sat, 14 Dec 2024 16:40:45 +0000
with message-id <e1tmvc9-008hvi...@fasolo.debian.org>
and subject line Bug#1089917: fixed in rust-lazy-regex 3.3.0+20241210-2
has caused the Debian Bug report #1089917,
regarding rust-lazy-regex - autopkgtest failure
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.)


-- 
1089917: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089917
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rust-lazy-regex
Version: 3.3.0+20241210-1
Severity: serious

rust-lazy-regex's autopkgtests are failing in most test
configurations due to lack of feature gates on tests.
The attatched debdiff adds said feature gates.
diff -Nru rust-lazy-regex-3.3.0+20241210/debian/changelog 
rust-lazy-regex-3.3.0+20241210/debian/changelog
--- rust-lazy-regex-3.3.0+20241210/debian/changelog     2024-12-13 
17:58:29.000000000 +0000
+++ rust-lazy-regex-3.3.0+20241210/debian/changelog     2024-12-14 
14:24:34.000000000 +0000
@@ -1,3 +1,10 @@
+rust-lazy-regex (3.3.0+20241210-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix test feature gates.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sat, 14 Dec 2024 14:24:34 +0000
+
 rust-lazy-regex (3.3.0+20241210-1) unstable; urgency=medium
 
   [ upstream ]
diff -Nru 
rust-lazy-regex-3.3.0+20241210/debian/patches/1001_fence_features.patch 
rust-lazy-regex-3.3.0+20241210/debian/patches/1001_fence_features.patch
--- rust-lazy-regex-3.3.0+20241210/debian/patches/1001_fence_features.patch     
2024-12-06 08:24:48.000000000 +0000
+++ rust-lazy-regex-3.3.0+20241210/debian/patches/1001_fence_features.patch     
2024-12-14 14:24:34.000000000 +0000
@@ -1,10 +1,13 @@
-Description: add a feature fence
+Description: add feature fences
 Author: Jonas Smedegaard <d...@jones.dk>
-Last-Update: 2024-12-06
+Author: Peter Michael Green <plugw...@debian.org>
+Last-Update: 2024-12-14
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/tests/replace.rs
-+++ b/tests/replace.rs
+Index: rust-lazy-regex-3.3.0+20241210/tests/replace.rs
+===================================================================
+--- rust-lazy-regex-3.3.0+20241210.orig/tests/replace.rs
++++ rust-lazy-regex-3.3.0+20241210/tests/replace.rs
 @@ -2,6 +2,7 @@
  /// check replacement with a mut closure
  /// See https://github.com/Canop/lazy-regex/issues/27
@@ -13,3 +16,59 @@
  fn replace_with_mut_closure() {
      let input = "5+183/32";
      let mut last_digits: Vec<u8> = Vec::new();
+Index: rust-lazy-regex-3.3.0+20241210/tests/regex_if.rs
+===================================================================
+--- rust-lazy-regex-3.3.0+20241210.orig/tests/regex_if.rs
++++ rust-lazy-regex-3.3.0+20241210/tests/regex_if.rs
+@@ -7,6 +7,7 @@ use {
+ };
+ 
+ #[test]
++#[cfg(any(feature = "unicode", feature = "lite"))]
+ fn test_regex_if() {
+     fn extract_grey_level(s: &str) -> Option<u16> {
+         regex_if!(
+@@ -22,6 +23,7 @@ fn test_regex_if() {
+ }
+ 
+ #[test]
++#[cfg(any(feature = "unicode", feature = "lite"))]
+ fn test_regex_if_with_error_handling() {
+     fn extract_grey_level(s: &str) -> Result<Option<u8>, ParseIntError> {
+         let v = regex_if!(r#"^gr(a|e)y\((?<level>\d{1,3})\)$"#, s, 
level.parse()?);
+@@ -33,6 +35,7 @@ fn test_regex_if_with_error_handling() {
+ }
+ 
+ #[test]
++#[cfg(all(feature = "unicode", not(feature = "lite")))]
+ fn test_bytes_regex_if() {
+     fn extract_grey_level(s: &[u8]) -> Option<u16> {
+         bytes_regex_if!(
+Index: rust-lazy-regex-3.3.0+20241210/tests/regex_switch.rs
+===================================================================
+--- rust-lazy-regex-3.3.0+20241210.orig/tests/regex_switch.rs
++++ rust-lazy-regex-3.3.0+20241210/tests/regex_switch.rs
+@@ -4,6 +4,7 @@ use {
+ };
+ 
+ #[test]
++#[cfg(any(feature = "unicode", feature = "lite"))]
+ fn test_regex_switch() {
+     #[derive(Debug, PartialEq, Eq)]
+     enum Color {
+@@ -32,6 +33,7 @@ fn test_regex_switch() {
+ }
+ 
+ #[test]
++#[cfg(any(feature = "unicode", feature = "lite"))]
+ fn test_regex_switch_with_error_handling() -> Result<(), ParseIntError> {
+     #[derive(Debug, PartialEq)]
+     enum Color {
+@@ -56,6 +58,7 @@ fn test_regex_switch_with_error_handling
+ }
+ 
+ #[test]
++#[cfg(all(feature = "unicode", not(feature = "lite")))]
+ fn test_bytes_regex_switch() {
+     #[derive(Debug, PartialEq, Eq)]
+     enum Color {

--- End Message ---
--- Begin Message ---
Source: rust-lazy-regex
Source-Version: 3.3.0+20241210-2
Done: Jonas Smedegaard <d...@jones.dk>

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

Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated rust-lazy-regex 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: Sat, 14 Dec 2024 17:16:26 +0100
Source: rust-lazy-regex
Architecture: source
Version: 3.3.0+20241210-2
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <d...@jones.dk>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Closes: 1089204 1089917
Changes:
 rust-lazy-regex (3.3.0+20241210-2) unstable; urgency=medium
 .
   * extend patch 1001 to add more fences;
     revert autopkgtest to re-enable no-feature test;
     closes: bug#1089204, #1089917, thanks to NoisyCoil and Peter Green
Checksums-Sha1:
 4533cf957843c185d654d015281d315ced390cbd 3042 
rust-lazy-regex_3.3.0+20241210-2.dsc
 67b05a68bf38108c054beaed2f36872d1e0b03c5 6084 
rust-lazy-regex_3.3.0+20241210-2.debian.tar.xz
 1c535c70fd7235624f090257d6bece37c18a0bbc 10032 
rust-lazy-regex_3.3.0+20241210-2_amd64.buildinfo
Checksums-Sha256:
 d4dc05e4485b1d568a55c2bed4c14d3c943cef6ce35e04f6ba45d5a450bc4ab0 3042 
rust-lazy-regex_3.3.0+20241210-2.dsc
 1c37808bf834ffdcdc450a649a883f8fdf18763ee32a79a0ba8bf30923638c87 6084 
rust-lazy-regex_3.3.0+20241210-2.debian.tar.xz
 fc9062beff3460a0a9d273c24fd5c20e86a5c9b3e10bcd1d99601b1cb3b7eda3 10032 
rust-lazy-regex_3.3.0+20241210-2_amd64.buildinfo
Files:
 40466ef4c670e7445969db92359842b0 3042 rust optional 
rust-lazy-regex_3.3.0+20241210-2.dsc
 467a5909821d83cf0889608a28f3c934 6084 rust optional 
rust-lazy-regex_3.3.0+20241210-2.debian.tar.xz
 b7948888aafc9eb956f8de7fac6b6fc6 10032 rust optional 
rust-lazy-regex_3.3.0+20241210-2_amd64.buildinfo


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

wsG7BAEBCgBvBYJnXa+RCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmdY/Wvy62rvzDLJTQuLuIx2gzwNwWB8qqHc43de4a+d
PBYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAACiuhAAi6aqzrwOJm1RtIjI/fDjhrSk
n3EB33Z0uyPbySza8lXo1aSR2mKUeOdHo4GvbvtjJQNSdrpMPlH0dUMTLqjbZgwT
+lvDC7TaFeE6wSo1ivEgXFrFhKP0f88v2wyw7Pkj99Udw0ti03JNCOZStn7wN4pg
jg3n4KMgK15bAtWU1O+YjIynErZps1VOH/mLevwv4uuKG+A5E+KJdxF4YI2IytiD
89lPe41yTURn6Wc//DAWMTWTXvCCBOvhdzDeu2biEO6cDzbX/LbaENezvPdyFr5+
w0pv3S0qxnW2dCcAtF5y/erJLn5SCL/7QZkt0ABbptimOjNabSJHHeEEfC6FxiAk
7fD2yxPPvZjpjc93SBaRd2gNEXvRv1f7Uhz1cmAO1hRR7WgEVJAXmgpSMZiNUMoK
3Ud5f7RqjlK0XMQiWLptB58GxTjWLB0j1xxY1MMmeVOfKa4Fu4MzzSq0YuzZyBZA
ZzsiMi4ujY4oNIRobp8z92qx6EltcCB+Z244cW0QGfNF7SA02YPo/aM8ueE++WEP
TFzoMLYIV4/TTSwfnuy4plDalmoRGHVz2M9DT13ToUh7uSlZxi3x1jWV+YCc1Jb/
b8Uhnln+5eHtTQ8hJEPgYWbHB72Njhz4D1goAcRD3wABZrbZFB2guggj7NdE8pOY
e4XKgBCP5PZkgw6Ere8=
=5bqP
-----END PGP SIGNATURE-----

Attachment: pgp94NkKA4gwW.pgp
Description: PGP signature


--- End Message ---

Reply via email to