Package: release.debian.org Severity: normal Tags: stretch User: release.debian.org@packages.debian.org Usertags: pu Dear Release Team, I would like to do a p-u for cvxopt, fixing bug #859579. By the time of the stretch release, cvxopt was not compatible with the new API of the GLPK library, so a compatibility layer had been introduced through glpk-4.49.diff. But that patch had too much in it, it contained an unneeded compatibility function (lpx_main) that was using a missing symbol (glp_main) (and this missing symbol had not been detected at compile time, because it is in a dynamically-loaded shared object). The debdiff is attached. Cheers, -- ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot ⣾⠁⢠⠒⠀⣿⡁ Debian Developer ⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name ⠈⠳⣄⠀⠀⠀⠀ http://www.debian.org
diff -Nru cvxopt-1.1.4/debian/changelog cvxopt-1.1.4/debian/changelog
--- cvxopt-1.1.4/debian/changelog 2016-07-16 15:47:05.000000000 +0000
+++ cvxopt-1.1.4/debian/changelog 2017-08-21 14:55:52.000000000 +0000
@@ -1,3 +1,11 @@
+cvxopt (1.1.4-1.5+deb9u1) stretch; urgency=medium
+
+ * Team upload.
+ * d/p/glpk-4.49.diff: remove the compatibility layer for lpx_main(), it is
+ not needed and uses a missing symbol. (Closes: #859579)
+
+ -- Sébastien Villemot <sebastien@debian.org> Mon, 21 Aug 2017 16:55:52 +0200
+
cvxopt (1.1.4-1.5) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru cvxopt-1.1.4/debian/patches/glpk-4.49.diff cvxopt-1.1.4/debian/patches/glpk-4.49.diff
--- cvxopt-1.1.4/debian/patches/glpk-4.49.diff 2016-07-16 14:39:41.000000000 +0000
+++ cvxopt-1.1.4/debian/patches/glpk-4.49.diff 2017-08-21 14:54:50.000000000 +0000
@@ -26,7 +26,7 @@
===================================================================
--- /dev/null
+++ cvxopt-1.1.4/src/C/lpx.c
-@@ -0,0 +1,1516 @@
+@@ -0,0 +1,1511 @@
+/* lpx.c (old GLPK API) */
+
+/* Written by Andrew Makhorin <mao@gnu.org>, August 2013. */
@@ -1534,11 +1534,6 @@
+ return glp_bf_exists(lp);
+}
+
-+int lpx_main(int argc, const char *argv[])
-+{ /* stand-alone LP/MIP solver */
-+ return glp_main(argc, argv);
-+}
-+
+#endif
+
+/* eof */
@@ -1547,7 +1542,7 @@
===================================================================
--- /dev/null
+++ cvxopt-1.1.4/src/C/lpx.h
-@@ -0,0 +1,568 @@
+@@ -0,0 +1,565 @@
+/* lpx.h (old GLPK API) */
+
+/* Written by Andrew Makhorin <mao@gnu.org>, August 2013. */
@@ -2105,9 +2100,6 @@
+int lpx_is_b_avail(LPX *lp);
+/* check if LP basis is available */
+
-+int lpx_main(int argc, const char *argv[]);
-+/* stand-alone LP/MIP solver */
-+
+#ifdef __cplusplus
+}
+#endif
Attachment:
signature.asc
Description: PGP signature