Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 unblock mimetic/0.9.8-5 I've uploaded a new version of mimetic which fixes #859963. The -5 upload only contains a small patch to mark a variable as signed in order to avoid the build failures on architectures where char is unsigned. 0.9.8-5 successfully built on all architectures (except armel, which is still Needs-Build …). Full debdiff attached. Thanks in advance, gregor -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAljxEJ5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgawGRAAps1xhJkdoGvemGAFel+/GT5n0GJtrDMJ5vzkhfoWDYvRCYmxyrMf7A2X q9e1Y1UTnn0oJq8474xteerivn8WWesJ6vlflc9kjVU4pz6IAYfKdXeMxm2YbRA5 HEY1saCSew5Pv75CX2yOEnT9rctYoOFrR7Qw9T9mQQeHe7+/5gy7cfdMyzLlH1uW 3pn5V8Mo+bhsPLL21+yTTP+nS9bvl+cQ76BZSEzB7Saslrnoq47t63wDOyokPTiD PiaW6FwQNmqVSKMxX7AR7PPmwqs+PxzpJ/rL0eHmUM0Me9g+vr20EZu2knTxtVss Ah5b6ylvTUxAQD+BVD+8qFWN//QNoVkb2MBcMAfYu4wfAQmJq1oOOiuxTEczLznD oEgo4iwnPZ3agAEacXLxdnFoSW1/4M27aGxw3bm6n0Jt8QH4ScRyJjZ1UVmEasGG qVrqFrTsAPVD0BZcXBDASs9J9jZ10QL0YX8Fxq4l47B4RgdX7WwmEGRwK0Lh5vrI UjJTBX6hTH8DE0VWOCyI4YB1Q7uUMfXdKTqJDcUtioz3qBEw2OimoaIgYImkmb6M /Dn3AwkOHQhPSrHsrbgbhwBFuYHFPeV6tp0IPjrSzUK6fuAawFHUeK2eDnGgRQFY H4Ma+6jiW5bpcH7joOGVszs0Ot7WlHNmpLcTADggm/mj0jEjy/c= =IIGh -----END PGP SIGNATURE-----
diff -Nru mimetic-0.9.8/debian/changelog mimetic-0.9.8/debian/changelog --- mimetic-0.9.8/debian/changelog 2016-01-15 15:29:38.000000000 +0100 +++ mimetic-0.9.8/debian/changelog 2017-04-14 17:38:11.000000000 +0200 @@ -1,3 +1,11 @@ +mimetic (0.9.8-5) unstable; urgency=medium + + * Add patch signed-char.patch to fix build failure on architectures + where char is unsigned. + Thanks to Adrian Bunk for the bug report. (Closes: #859963) + + -- gregor herrmann <gre...@debian.org> Fri, 14 Apr 2017 17:38:11 +0200 + mimetic (0.9.8-4) unstable; urgency=medium * debian/rules: change dh_strip argument from --ddeb-migration to diff -Nru mimetic-0.9.8/debian/patches/series mimetic-0.9.8/debian/patches/series --- mimetic-0.9.8/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ mimetic-0.9.8/debian/patches/series 2017-04-14 17:38:11.000000000 +0200 @@ -0,0 +1 @@ +signed-char.patch diff -Nru mimetic-0.9.8/debian/patches/signed-char.patch mimetic-0.9.8/debian/patches/signed-char.patch --- mimetic-0.9.8/debian/patches/signed-char.patch 1970-01-01 01:00:00.000000000 +0100 +++ mimetic-0.9.8/debian/patches/signed-char.patch 2017-04-14 17:38:11.000000000 +0200 @@ -0,0 +1,31 @@ +Description: fix FTBFS on architectures where char is unsigned + Fix error + base64.cxx:30:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] + by making Base64::sDecTable a signed char. +Bug-Debian: https://bugs.debian.org/859963 +Forwarded: via email +Author: gregor herrmann <gre...@debian.org> +Last-Update: 2017-04-10 + +--- a/mimetic/codec/base64.cxx ++++ b/mimetic/codec/base64.cxx +@@ -13,7 +13,7 @@ + "abcdefghijklmnopqrstuvwxyz" + "0123456789+/="; + +-const char Base64::sDecTable[] = { ++const signed char Base64::sDecTable[] = { + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, + -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, +--- a/mimetic/codec/base64.h ++++ b/mimetic/codec/base64.h +@@ -20,7 +20,7 @@ + enum { default_maxlen = 76 }; + enum { eq_sign = 100 }; + static const char sEncTable[]; +- static const char sDecTable[]; ++ static const signed char sDecTable[]; + static const int sDecTableSz; + public: + class Encoder; class Decoder;