Your message dated Sat, 23 May 2020 22:04:00 +0000
with message-id <e1jccfm-0000la...@fasolo.debian.org>
and subject line Bug#961387: fixed in rust-ring 0.16.9-4
has caused the Debian Bug report #961387,
regarding FTBFS due to usage of array::into_iter()
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.)


-- 
961387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961387
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rust-ring
Version: 0.16.9-3
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Hi,

rust-ring currently FTBFS due to usage of array::into_iter() instead of
array::iter(). See build log: 
https://buildd.debian.org/status/fetch.php?pkg=rust-ring&arch=amd64&ver=0.16.9-3&stamp=1587387625&raw=0

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/use-array-iter.patch: Cherrypick upstream commit to use array::iter,
    fixing FTBFS.

Thanks for considering the patch.

Logan
diff -Nru rust-ring-0.16.9/debian/patches/series 
rust-ring-0.16.9/debian/patches/series
--- rust-ring-0.16.9/debian/patches/series      2020-04-20 08:16:05.000000000 
-0400
+++ rust-ring-0.16.9/debian/patches/series      2020-05-23 17:01:04.000000000 
-0400
@@ -1,2 +1,3 @@
 relax-deps.patch
 built-using.patch
+use-array-iter.patch
diff -Nru rust-ring-0.16.9/debian/patches/use-array-iter.patch 
rust-ring-0.16.9/debian/patches/use-array-iter.patch
--- rust-ring-0.16.9/debian/patches/use-array-iter.patch        1969-12-31 
19:00:00.000000000 -0500
+++ rust-ring-0.16.9/debian/patches/use-array-iter.patch        2020-05-23 
17:00:40.000000000 -0400
@@ -0,0 +1,23 @@
+From c250e3125e2621cbe947e811e3de0fc5fa1904aa Mon Sep 17 00:00:00 2001
+From: lzutao <tao...@gmail.com>
+Date: Wed, 30 Oct 2019 14:51:17 +0700
+Subject: [PATCH] Use array::iter
+
+See clippy::into_iter lint and https://github.com/rust-lang/rust/pull/65819
+---
+ build.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build.rs b/build.rs
+index c6cb3a700..f7eded9de 100644
+--- a/build.rs
++++ b/build.rs
+@@ -418,7 +418,7 @@ fn build_c_code(target: &Target, pregenerated: PathBuf, 
out_dir: &Path) {
+ 
+     // XXX: Ideally, ring-test would only be built for `cargo test`, but Cargo
+     // can't do that yet.
+-    libs.into_iter()
++    libs.iter()
+         .for_each(|&(lib_name, srcs, additional_srcs)| {
+             build_library(
+                 &target,

--- End Message ---
--- Begin Message ---
Source: rust-ring
Source-Version: 0.16.9-4
Done: Sylvestre Ledru <sylves...@debian.org>

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

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylves...@debian.org> (supplier of updated rust-ring 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: SHA256

Format: 1.8
Date: Sat, 23 May 2020 23:38:56 +0200
Source: rust-ring
Architecture: source
Version: 0.16.9-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers 
<pkg-rust-maintain...@alioth-lists.debian.net>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Closes: 961387
Changes:
 rust-ring (0.16.9-4) unstable; urgency=medium
 .
   * Package ring 0.16.9 from crates.io using debcargo 2.4.2
   * use-array-iter.patch: Fix usage of array::into_iter
     Thanks to Logan Rosen (Closes: #961387)
Checksums-Sha1:
 72dcad354a8337723d363c03d9756007d69ca1b4 2750 rust-ring_0.16.9-4.dsc
 bc8cccd327044e38694291f0145a9de5247cdb31 8036 rust-ring_0.16.9-4.debian.tar.xz
 28c61c365048c2a3eecd4a31dd4a272818efe6e3 8367 
rust-ring_0.16.9-4_source.buildinfo
Checksums-Sha256:
 2a1a325f8c1ccf11a31b06d401a3f66e2a76fb8d57c3d45d4826194375658d41 2750 
rust-ring_0.16.9-4.dsc
 4446b93ba6e3cbf3ad1ac484551065236c07473bccbd847e9352d2f2d14f7c6f 8036 
rust-ring_0.16.9-4.debian.tar.xz
 ead790028c0fb21554f0d2ef001c8b5ecb7b3ed7a6b98dd02c6e757e7de27a3f 8367 
rust-ring_0.16.9-4_source.buildinfo
Files:
 c1c5ccdfd87e9fcdde27628baca5182e 2750 rust optional rust-ring_0.16.9-4.dsc
 5322c46d941f9a66760b1eb797cbe7b3 8036 rust optional 
rust-ring_0.16.9-4.debian.tar.xz
 43743cd0e572f63ebdba2fef30ae58a9 8367 rust optional 
rust-ring_0.16.9-4_source.buildinfo

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

iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAl7JmAEACgkQfmUo2nUv
G+GTug//VPNT4FwUyFsjhORwqYhWYAdv2kcIwy1f6blpG0OfuFLDSx+zvFCX0GCT
zlJ46v9Bgp9gbRMur85+90QTim117LYjqe8w87jQ+NW/HrhQyIbnOdcSlDLEOEvy
Av6wOiFbnFw/3Gynzq6ZF59Ch3asVTLyF+pXTQA07KVnC5RsIfGcQ4pLIsb3FL1B
kXMK7vyyeS8WQw6bexAoZCl+YMp4WhQKd5Zq4EiFKDBFQdKuOj748bcGTJCeV0I2
GrF4SMBCB8AGCpntQ8lLFXroD113YOa0bdIUAfb8s2QrVrBm3zNhz8ZNN1XheOLx
zKq4WluMD6uY3ULRR3q3UkCeHfobejkf2E0LWTOiyQWdSGG7mLItgOUpCZSdXk6l
MEUSgtpJ+DM52yif2UWRNeFIubL179n6JfotWI3KLAxho8PGnCGoSgA0a1SzxB0u
CbLrjmKgCwwEPgGJLF7VGS8IAEuJAyZ3lZ4+/PH1FKndcaQXKJgzfH8Ac+/ccr2P
P3YVMkSATRFLPVzYJEofKbMrbrP5KYvLgpNlDdLDxn7TyOhyNdoMb9EYRra0ApT0
CHPQuJ0q1W951T2RihCUr5LCKEXZym1l/0/cG2oK2ezONVFcIOHrx/NCHw+06glV
S7fBfYzey4x14F636pga6KuzjjY94YOg4y/K9wyG42AP1dDGIdU=
=N9f+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to