Your message dated Wed, 09 Aug 2017 16:35:09 +0000
with message-id <e1dftwr-000hrq...@fasolo.debian.org>
and subject line Bug#870129: fixed in auto-multiple-choice 1.3.0-4
has caused the Debian Bug report #870129,
regarding auto-multiple-choice broken with perl 5.26
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.)


-- 
870129: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870129
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: auto-multiple-choice
Version: 1.3.0-3
Severity: grave
Tags: patch
Justification: renders package unusable
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hi Alexis, Georges,

The auto-multiple-choice package is broken in unstable now that perl 5.26
has landed, because it uses obsolete syntax.  'use encoding "utf8"' is
obsolete, replaced by 'use utf8'.

This shows up in the form of failing autopkgtests:

https://ci.debian.net/packages/a/auto-multiple-choice/unstable/amd64/

The attached patch corrects this problem, and I have uploaded it to Ubuntu's
devel series.

Hope that helps,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru auto-multiple-choice-1.3.0/debian/patches/perl-5.26-compat.patch 
auto-multiple-choice-1.3.0/debian/patches/perl-5.26-compat.patch
--- auto-multiple-choice-1.3.0/debian/patches/perl-5.26-compat.patch    
1969-12-31 16:00:00.000000000 -0800
+++ auto-multiple-choice-1.3.0/debian/patches/perl-5.26-compat.patch    
2017-07-29 23:56:30.000000000 -0700
@@ -0,0 +1,58 @@
+Description: fix compatibility with perl 5.26
+ 'use encoding "utf8"' is obsolete in perl 5.26, returning an error:
+ Error:  The encoding pragma is no longer supported at [...]
+ replace with 'use utf8'.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+
+Index: auto-multiple-choice-1.3.0/AMC-prepare.pl
+===================================================================
+--- auto-multiple-choice-1.3.0.orig/AMC-prepare.pl
++++ auto-multiple-choice-1.3.0/AMC-prepare.pl
+@@ -18,7 +18,7 @@
+ # along with Auto-Multiple-Choice.  If not, see
+ # <http://www.gnu.org/licenses/>.
+ 
+-use encoding "utf-8";
++use utf8;
+ 
+ use File::Copy;
+ use File::Spec::Functions qw/splitpath catpath splitdir catdir catfile 
rel2abs tmpdir/;
+Index: auto-multiple-choice-1.3.0/AMC-note.pl
+===================================================================
+--- auto-multiple-choice-1.3.0.orig/AMC-note.pl
++++ auto-multiple-choice-1.3.0/AMC-note.pl
+@@ -25,7 +25,7 @@
+ use AMC::Scoring;
+ use AMC::Data;
+ 
+-use encoding 'utf8';
++use utf8;
+ 
+ my $darkness_threshold=0.1;
+ my $darkness_threshold_up=1.0;
+Index: auto-multiple-choice-1.3.0/AMC-annote.pl
+===================================================================
+--- auto-multiple-choice-1.3.0.orig/AMC-annote.pl
++++ auto-multiple-choice-1.3.0/AMC-annote.pl
+@@ -35,7 +35,7 @@
+ use AMC::DataModule::layout qw/:flags/;
+ use AMC::Substitute;
+ 
+-use encoding 'utf8';
++use utf8;
+ 
+ my $cr_dir="";
+ my $rep_projet='';
+Index: auto-multiple-choice-1.3.0/AMC-perl/AMC/Annotate.pm
+===================================================================
+--- auto-multiple-choice-1.3.0.orig/AMC-perl/AMC/Annotate.pm
++++ auto-multiple-choice-1.3.0/AMC-perl/AMC/Annotate.pm
+@@ -36,7 +36,7 @@
+ use AMC::DataModule::layout qw/:flags/;
+ use AMC::Gui::Avancement;
+ 
+-use encoding 'utf8';
++use utf8;
+ 
+ sub new {
+     my (%o)=(@_);
diff -Nru auto-multiple-choice-1.3.0/debian/patches/series 
auto-multiple-choice-1.3.0/debian/patches/series
--- auto-multiple-choice-1.3.0/debian/patches/series    2017-06-20 
14:18:05.000000000 -0700
+++ auto-multiple-choice-1.3.0/debian/patches/series    2017-07-29 
23:50:13.000000000 -0700
@@ -2,3 +2,4 @@
 tests-INC-fix.diff
 fix-build-with-opencv-3.1.diff
 bugfix-412.diff
+perl-5.26-compat.patch

--- End Message ---
--- Begin Message ---
Source: auto-multiple-choice
Source-Version: 1.3.0-4

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

Debian distribution maintenance software
pp.
Alexis Bienvenüe <p...@passoire.fr> (supplier of updated auto-multiple-choice 
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: Tue, 08 Aug 2017 21:20:06 +0200
Source: auto-multiple-choice
Binary: auto-multiple-choice auto-multiple-choice-common 
auto-multiple-choice-doc auto-multiple-choice-doc-pdf
Architecture: source all amd64
Version: 1.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Alexis Bienvenüe <p...@passoire.fr>
Changed-By: Alexis Bienvenüe <p...@passoire.fr>
Description:
 auto-multiple-choice - Auto Multiple Choice - multiple choice papers management
 auto-multiple-choice-common - Auto Multiple Choice - architecture independent 
files
 auto-multiple-choice-doc - Auto Multiple Choice - HTML documentation
 auto-multiple-choice-doc-pdf - Auto Multiple Choice - PDF documentation
Closes: 870129
Changes:
 auto-multiple-choice (1.3.0-4) unstable; urgency=medium
 .
   * Corrects obsolete perl syntax for use with perl 5.26,
     thanks to Steve Langasek; Closes: #870129
Checksums-Sha1:
 8c3f70c77326837394643dfc6f6114a0bb26bf77 2681 auto-multiple-choice_1.3.0-4.dsc
 c6524c117946d87c166febd60ba2f79cc284aaaf 14152 
auto-multiple-choice_1.3.0-4.debian.tar.xz
 3e2bf1a2ca8f88d81b418d9c94ceacdd32e171bf 390836 
auto-multiple-choice-common_1.3.0-4_all.deb
 e6746413a1f8220b97ee545e1c9c58e4eb452748 141822 
auto-multiple-choice-dbgsym_1.3.0-4_amd64.deb
 e857c74ac8d2cb3d837a2b8315c8bc80a8558b30 2332312 
auto-multiple-choice-doc-pdf_1.3.0-4_all.deb
 39090073dc775cb99602353ce7f75079d6228328 159562 
auto-multiple-choice-doc_1.3.0-4_all.deb
 885796d2b176e3aa5f56d5d1572a71aab1f141cb 19809 
auto-multiple-choice_1.3.0-4_amd64.buildinfo
 d200e73e731cf8934bd4df09cefcf959aa394d96 33670 
auto-multiple-choice_1.3.0-4_amd64.deb
Checksums-Sha256:
 00af28b9ff5de47efd15d7edb348b2b851ad46ffb0f57b27d2dc5ea9a6797b47 2681 
auto-multiple-choice_1.3.0-4.dsc
 9f2db03c436d09492901797ac2ce928bcafe1e7847ed66b821b2a9617677e34a 14152 
auto-multiple-choice_1.3.0-4.debian.tar.xz
 26c0458dfa52cb81c73ed7ebac426bdd1e0c7b0bc51b7c9b013191aeebb9a6b1 390836 
auto-multiple-choice-common_1.3.0-4_all.deb
 297b85e1317da190f512ebd12bad539edac825d3445163567fb4079432a5f000 141822 
auto-multiple-choice-dbgsym_1.3.0-4_amd64.deb
 ed0f33e8e38b9a0b47f42c343289d080f3e787a409197afc0d8a8ba48fe0c2ac 2332312 
auto-multiple-choice-doc-pdf_1.3.0-4_all.deb
 73d8160dd499d2607086562667da87b995635296006f3b97ae8b798a5460fa49 159562 
auto-multiple-choice-doc_1.3.0-4_all.deb
 170c23c8a166f712ad0b177b48f34e8efd83be1b937c7b4eeeb5a02fdfbad536 19809 
auto-multiple-choice_1.3.0-4_amd64.buildinfo
 4eb79f48589309ab1cbc48270e02a3a29f17e5200b28d0bd81f9f7b270cdc6f1 33670 
auto-multiple-choice_1.3.0-4_amd64.deb
Files:
 d11fa3b62edeb65c20b9b9f6677e99eb 2681 education optional 
auto-multiple-choice_1.3.0-4.dsc
 8009f55b7a10485d026f774e787f9386 14152 education optional 
auto-multiple-choice_1.3.0-4.debian.tar.xz
 0bf5b1be701ccbdac782d2af8ae08576 390836 education optional 
auto-multiple-choice-common_1.3.0-4_all.deb
 6141989a38e4238a9463e36737f5c375 141822 debug extra 
auto-multiple-choice-dbgsym_1.3.0-4_amd64.deb
 88b39851861584f5a602c416e760f8c4 2332312 doc optional 
auto-multiple-choice-doc-pdf_1.3.0-4_all.deb
 34b19e50871ed27f7f2f837f6d09de7b 159562 doc optional 
auto-multiple-choice-doc_1.3.0-4_all.deb
 c3f7fd09df973d74d57c89005ea5d667 19809 education optional 
auto-multiple-choice_1.3.0-4_amd64.buildinfo
 71ab0ad99910a51625a10203c34d4e14 33670 education optional 
auto-multiple-choice_1.3.0-4_amd64.deb

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

iQIzBAEBCAAdFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAlmLM2YACgkQHCgWkHE2
rjkzeBAAjDUvqDzFUa3wuCkvVoHYHYZAia/ZHl9lqucNqNd81rRC7AUxdCP5GTqL
Pfs34QodNT1sDsa7EqhSa+KxXrFmGBCXG3X2ZDVnxW54nNwklBT9YXiBzio0Jcfm
Z5lqPDXFg/OupvhPT1BNUZJzehLGT7cxgUUQw3jSib5mrp7CTKT8sjmPBZdd/3MB
pew4cboiWU20xPw3uKvn0QajaJMIy/zn5kDJCe6Pn+e9UPY2cq4FPxh1f3jND3+K
vbwwbYUEDjPIlN5pVLxDffo1lsMxb62YHKqIGtIlCs+vTMYy6PBmp4VARpMvSp6J
cmtDu/2G0/xXFEa1t9+6o/aRmggNrP+A4JGjWZDERQ/uEyuDc4fCXO5AqAnbGWB4
4IrX9N9m/Kt1yjmDXzo6SjEoNiTbHHRkzzwozRiBC5vR7RQXgOCgqPXp3/wfXxlW
L3en4JypDDvKrEEnvuLRM53uO7t1w+prBIW3EdtfXg53z/HvPV0Vf95eJjaIn3iC
a0Rl9nNfTVapeONu2LrL8Ojs4mqpQmjL85iGDVB44bO9AMAbwCrOcwg2LWwmop9Y
Cl7EsX0830PS+H3hu040w6gsPbE8IoG7A0hRmNEx+zfkIYzE8dSE+dK98QBg94iz
kbksTH5wplElmf/hc8gDyBhSGbqypY9uo0fA7GpodzKnp7SnBts=
=S2tg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to