Your message dated Thu, 01 Mar 2018 21:49:58 +0000
with message-id <[email protected]>
and subject line Bug#883550: fixed in cgal 4.11.1-1
has caused the Debian Bug report #883550,
regarding cgal FTCBFS: configures for the build architecture
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 [email protected]
immediately.)


-- 
883550: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883550
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cgal
Version: 4.11-2
Severity: minor
Tags: patch
User: [email protected]
Usertags: rebootstrap

cgal fails to cross build from source, because it configures for the
build architecture by failing to pass the correct cross toolchain flags
to cmake. The easiest way to fix this is to defer to dh_auto_configure
and that actually makes debian/rules a little simpler. After doing so,
configuration still fails, because it runs try_run checks for
discovering dependency versions. There are approaches for extracting
strings from compiled objects by other means than running them, but this
is non-trivial. I haven't attempted to fix this, but think that cgal
must have regressed upstream in this respect as other parts of it
carefully check CMAKE_CROSSCOMPILING. Please close this bug when
applying the attached patch to make the underlying upstream failure
visible even though cgal will still fail to cross build.

Helmut
diff --minimal -Nru cgal-4.11/debian/changelog cgal-4.11/debian/changelog
--- cgal-4.11/debian/changelog  2017-11-04 19:50:06.000000000 +0100
+++ cgal-4.11/debian/changelog  2017-12-04 23:01:31.000000000 +0100
@@ -1,3 +1,11 @@
+cgal (4.11-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Address FCBFS: Let dh_auto_configure pass cross flags to cmake.
+    (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 04 Dec 2017 23:01:31 +0100
+
 cgal (4.11-2) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru cgal-4.11/debian/rules cgal-4.11/debian/rules
--- cgal-4.11/debian/rules      2017-11-04 19:50:06.000000000 +0100
+++ cgal-4.11/debian/rules      2017-12-04 23:01:29.000000000 +0100
@@ -39,23 +39,20 @@
 override_dh_auto_configure-arch:
        # Fail early if SOVERSION changed
        grep -q "CGAL_SONAME_VERSION \"13\"" CMakeLists.txt
-       mkdir -p static
-       cd static && QTDIR= cmake .. \
-         -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=Release \
+       QTDIR= dh_auto_configure --builddirectory=static -- \
+         -DCMAKE_BUILD_TYPE=Release \
          -DWITH_GMPXX=ON -DWITH_demos=OFF -DWITH_examples=OFF \
          -DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=FALSE \
          -DCGAL_INSTALL_LIB_DIR=lib/$(DEB_HOST_MULTIARCH) \
          -DCGAL_INSTALL_CMAKE_DIR=lib/$(DEB_HOST_MULTIARCH)/cmake/CGAL 
$(CMAKE_QT5)
-       mkdir -p shared
-       cd shared && QTDIR= cmake .. \
-         -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=Release \
+       QTDIR= dh_auto_configure --builddirectory=shared -- \
+         -DCMAKE_BUILD_TYPE=Release \
          -DWITH_GMPXX=ON -DWITH_demos=OFF -DWITH_examples=OFF \
          -DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=TRUE 
-DCMAKE_SKIP_RPATH=TRUE \
          -DCGAL_INSTALL_LIB_DIR=lib/$(DEB_HOST_MULTIARCH) \
          -DCGAL_INSTALL_CMAKE_DIR=lib/$(DEB_HOST_MULTIARCH)/cmake/CGAL 
$(CMAKE_QT5)
-       mkdir -p shared/demo/CGAL_ipelets
-       cd shared/demo/CGAL_ipelets && QTDIR= cmake ../../../demo/CGAL_ipelets \
-         -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=Release \
+       QTDIR= dh_auto_configure --builddirectory=shared/demo/CGAL_ipelets 
--sourcedirectory=demo/CGAL_ipelets -- \
+         -DCMAKE_BUILD_TYPE=Release \
          -DCGAL_DIR=$(CURDIR)/shared
 
 override_dh_auto_configure-indep:

--- End Message ---
--- Begin Message ---
Source: cgal
Source-Version: 4.11.1-1

We believe that the bug you reported is fixed in the latest version of
cgal, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Reichel <[email protected]> (supplier of updated cgal 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 01 Mar 2018 18:34:40 +0100
Source: cgal
Binary: libcgal13 libcgal-qt5-13 libcgal-dev libcgal-qt5-dev libcgal-demo 
libcgal-ipelets
Architecture: source all
Version: 4.11.1-1
Distribution: unstable
Urgency: medium
Maintainer: Joachim Reichel <[email protected]>
Changed-By: Joachim Reichel <[email protected]>
Description:
 libcgal-demo - C++ library for computational geometry (demos)
 libcgal-dev - C++ library for computational geometry (development files)
 libcgal-ipelets - C++ library for computational geometry (ipelets)
 libcgal-qt5-13 - C++ library for computational geometry (support for Qt5)
 libcgal-qt5-dev - C++ library for computational geometry (development files, 
suppor
 libcgal13  - C++ library for computational geometry
Closes: 883550
Changes:
 cgal (4.11.1-1) unstable; urgency=medium
 .
   * New upstream release.
   * Fix FCBFS: Let dh_auto_configure pass cross toolchain flags to cmake.
     Thanks to Helmut Grohne for the patch (Closes: #883550).
   * Override wrong lintian warning about not installed examples.
   * Use debhelper compat version 11 (no changes needed).
   * Update Standards-Version to 4.1.3 (no changes needed).
Checksums-Sha1:
 f5870100844eba6cba9a374de4156371c453525a 2287 cgal_4.11.1-1.dsc
 d3cf39673e5c868d7317f67669fe7458147eb18d 14650588 cgal_4.11.1.orig.tar.xz
 5c2276c330d3f85e353a63fe982e07a0ded153f9 15804 cgal_4.11.1-1.debian.tar.xz
 e45bfe2552eb3f58f89807e71678f2736b79975a 17029788 libcgal-demo_4.11.1-1_all.deb
Checksums-Sha256:
 4ba6895d90572cec62e587b04b8279880fa115fdcdc12f83312c8e1e61a81c10 2287 
cgal_4.11.1-1.dsc
 fb152fc30f007e5911922913f8dc38e0bb969b534373ca0fbe85b4d872300e8b 14650588 
cgal_4.11.1.orig.tar.xz
 8bf4f3dc2f3e84ea7e10870079742095242f915b3b8c84f6b25a3e42b7009270 15804 
cgal_4.11.1-1.debian.tar.xz
 d60c51c5d8329b10810cc0507af1907634064a92870e0abfedc90a9e1efb6314 17029788 
libcgal-demo_4.11.1-1_all.deb
Files:
 e2a2069aef9696ed28604ebe543d19f4 2287 libs optional cgal_4.11.1-1.dsc
 fffc5cd1db8f8e29b4893080f9e863f8 14650588 libs optional cgal_4.11.1.orig.tar.xz
 61115582ba3990393ac3d709173983a7 15804 libs optional 
cgal_4.11.1-1.debian.tar.xz
 5f638cdeef744cc9ffb41fa3ceb31084 17029788 devel optional 
libcgal-demo_4.11.1-1_all.deb

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

iQIzBAEBCAAdFiEErX6NzLwwsr4xjsEVuPr/HEOIZ3EFAlqYWMgACgkQuPr/HEOI
Z3FWFBAA4WrIOlRuI4Z9QjTjhjWA+s0rvIuxOPSKVcFTkeR6zEndrZbLJ4mafX6e
EG2Tj3NdT37QG9AjENUiIUQ+a3lZu39UddqnHiz/8x1NiGR0Dlr+V+pcaBhq6mzS
q27kM0pd7uSnpDFNMwz0s12e0Dh+b19ESnne/z3ZvqFOYhNzZkuSGSiK5Y+cdD4F
FbwJvLGq2Ss5Yp4TjXcbdxtKqRVXL1M47CQTOVi6MQlvkegnV0T1xdzJ0oOKfFsn
h0PssTE7W/QsSMfrQRMNyhFwqs7TVGAOdUq31F6f5OBDiM7lssdH37vvNgFR9CRt
lxIxTfjoxRNfwVil2FUlMYKmoJvlH9R8H/K10wcbc75/ZUmq0jspSw7yGTCp+LRb
9aYTlJ8/S8eFtq1ROGEenGjLPIUpRt1P5hrSDhc6BpUPSyt0Epg9hNI2bxvkmNlF
ZvsQqmevkgnPsyb2/zCARBh6Bruyg9pJmebizsLmEMqx0UPK7ztbwjWf8aEhWCUo
tqjCc54Py682mEv13IGqvTtghY4hDAyH0DVD9Hv3ijDIIJSQ/LB+GBRc5taL850l
lNaCQdr2v+PZT1rfktd8AMR8VSQcMlitv0RXhdj6G8I1qjs8FaNYy4JiluEoX7qF
t7CzubRVMVvmElPPIHQtJotM8Sfem24LMY4crztxRYPzhzGqp2M=
=Dz/Z
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to