Bug#946234: [NMU] FTFBS with CGAL 5.0 (if cmake is absent)

Joachim Reichel reichel at debian.org
Thu Dec 5 22:38:20 GMT 2019


Source: pygalmesh
Version: 0.4.0-1
Severity: serious
Tags: ftbfs
Control: block 944417 by -1

Hi,

the transition to CGAL 5.0 started (see bug #944417) and your package FTBFS (if
cmake is not present, see the other bug I just filed). I intend to NMU the
package with the attached diff to DELAYED/5-day.

Best regards,
  Joachim
-------------- next part --------------
diff -Nru pygalmesh-0.4.0/debian/changelog pygalmesh-0.4.0/debian/changelog
--- pygalmesh-0.4.0/debian/changelog	2019-08-18 18:42:35.000000000 +0200
+++ pygalmesh-0.4.0/debian/changelog	2019-12-05 23:07:13.000000000 +0100
@@ -1,3 +1,11 @@
+pygalmesh (0.4.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix FTBFS with CGAL >= 5.0 (Closes: #xxxxxx).
+  * Add Build-Depends: libcgal-dev (>= 5.0~).
+
+ -- Joachim Reichel <reichel at debian.org>  Thu, 05 Dec 2019 23:07:13 +0100
+
 pygalmesh (0.4.0-1) unstable; urgency=medium
 
   * set debian/watch to track upstream git tags,
diff -Nru pygalmesh-0.4.0/debian/control pygalmesh-0.4.0/debian/control
--- pygalmesh-0.4.0/debian/control	2019-08-18 18:42:35.000000000 +0200
+++ pygalmesh-0.4.0/debian/control	2019-12-05 23:07:13.000000000 +0100
@@ -5,7 +5,7 @@
 Uploaders: Drew Parsons <dparsons at debian.org>
 Build-Depends: debhelper-compat (= 12),
  dh-python, python3-all-dev, python3-setuptools,
- libcgal-dev,
+ libcgal-dev (>= 5.0~),
  libeigen3-dev,
  pandoc,
  python3-meshio,
diff -Nru pygalmesh-0.4.0/debian/patches/series pygalmesh-0.4.0/debian/patches/series
--- pygalmesh-0.4.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ pygalmesh-0.4.0/debian/patches/series	2019-12-05 23:06:31.000000000 +0100
@@ -0,0 +1 @@
+use-cgal-in-header-only-mode.patch
diff -Nru pygalmesh-0.4.0/debian/patches/use-cgal-in-header-only-mode.patch pygalmesh-0.4.0/debian/patches/use-cgal-in-header-only-mode.patch
--- pygalmesh-0.4.0/debian/patches/use-cgal-in-header-only-mode.patch	1970-01-01 01:00:00.000000000 +0100
+++ pygalmesh-0.4.0/debian/patches/use-cgal-in-header-only-mode.patch	2019-12-05 23:07:13.000000000 +0100
@@ -0,0 +1,14 @@
+Index: pygalmesh-0.4.0/setup.py
+===================================================================
+--- pygalmesh-0.4.0.orig/setup.py
++++ pygalmesh-0.4.0/setup.py
+@@ -48,8 +48,7 @@ ext_modules = [
+             get_pybind_include(),
+             get_pybind_include(user=True),
+         ],
+-        # CGAL_ImageIO for generate_from_inr
+-        libraries=["CGAL", "CGAL_ImageIO", "gmp", "mpfr"],
++        libraries=["stdc++", "gmp", "mpfr"],
+     )
+ ]
+ 


More information about the debian-science-maintainers mailing list