Debian Bug report logs -
#831177
geos: FTBFS with GCC 6: ../../../include/geos/platform.h:114:2: error: #error "Can not compile without isnan function or macro"
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>.
(Thu, 14 Jul 2016 08:19:00 GMT) (full text, mbox, link).
Subject: geos: FTBFS with GCC 6: ../../../include/geos/platform.h:114:2:
error: #error "Can not compile without isnan function or macro"
Date: Thu, 14 Jul 2016 09:00:40 +0200
Source: geos
Version: 3.5.0-3
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64
Hi,
During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html
Relevant part (hopefully):
> /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -fpermissive -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o IndexedPointInAreaLocator.lo IndexedPointInAreaLocator.cpp
> libtool: compile: g++ -fpermissive -DHAVE_CONFIG_H -I. -I../../../include -I../../../include/geos -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c IndexedPointInAreaLocator.cpp -fPIC -DPIC -o .libs/IndexedPointInAreaLocator.o
> In file included from ../../../include/geos/geom/Geometry.h:25:0,
> from IndexedPointInAreaLocator.cpp:17:
> ../../../include/geos/platform.h:114:2: error: #error "Can not compile without isnan function or macro"
> #error "Can not compile without isnan function or macro"
> ^~~~~
> In file included from ../../../include/geos/geom/Coordinate.h:158:0,
> from ../../../include/geos/geom/Envelope.h:25,
> from ../../../include/geos/geom/Geometry.h:27,
> from IndexedPointInAreaLocator.cpp:17:
> ../../../include/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::isNull() const':
> ../../../include/geos/geom/Coordinate.inl:38:17: error: 'ISNAN' was not declared in this scope
> return (ISNAN(x) && ISNAN(y) && ISNAN(z));
> ^
> ../../../include/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const':
> ../../../include/geos/geom/Coordinate.inl:77:28: error: 'ISNAN' was not declared in this scope
> ((z == other.z)||(ISNAN(z) && ISNAN(other.z)));
> ^
> make[7]: *** [IndexedPointInAreaLocator.lo] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/geos_3.5.0-3_unstable_gcc6.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Acknowledgement sent
to Sebastiaan Couwenberg <sebastic@xs4all.nl>:
Extra info received and forwarded to list. Copy sent to Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>.
(Thu, 14 Jul 2016 10:18:18 GMT) (full text, mbox, link).
To: Lucas Nussbaum <lucas@debian.org>, 831177@bugs.debian.org
Subject: Re: Bug#831177: geos: FTBFS with GCC 6:
../../../include/geos/platform.h:114:2: error: #error "Can not compile
without isnan function or macro"
Date: Thu, 14 Jul 2016 12:16:53 +0200
Control: tags -1 pending
Hi Lucas,
Thanks for rebuild work and reporting this issue.
On 07/14/2016 09:00 AM, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid using the gcc-defaults package
> available in experimental to make GCC default to version 6, your package failed
> to build on amd64. For more information about GCC 6 and Stretch
I've added two patches to resolve this issue, one from upstream to
detect std::isnan in configure instead, and one from myself to use
std::isnan in platform.h too.
The fixed package will be uploaded to unstable soon.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Added tag(s) pending.
Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl>
to 831177-submit@bugs.debian.org.
(Thu, 14 Jul 2016 10:18:18 GMT) (full text, mbox, link).
Reply sent
to Bas Couwenberg <sebastic@debian.org>:
You have taken responsibility.
(Thu, 14 Jul 2016 10:43:00 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Thu, 14 Jul 2016 10:43:01 GMT) (full text, mbox, link).
Source: geos
Source-Version: 3.5.0-4
We believe that the bug you reported is fixed in the latest version of
geos, 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 831177@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <sebastic@debian.org> (supplier of updated geos 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 14 Jul 2016 12:11:04 +0200
Source: geos
Binary: libgeos-dev libgeos++-dev libgeos-c1v5 libgeos-3.5.0 libgeos-doc ruby-geos libgeos-dbg
Architecture: source amd64 all
Version: 3.5.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Description:
libgeos++-dev - Geometry engine for GIS - C++ development files
libgeos-3.5.0 - Geometry engine for Geographic Information Systems - C++ Library
libgeos-c1v5 - Geometry engine for Geographic Information Systems - C Library
libgeos-dbg - Debugging symbols for the GEOS library
libgeos-dev - Geometry engine for GIS - Development files
libgeos-doc - Documentation for the GEOS GIS geometry engine library
ruby-geos - GEOS bindings for Ruby
Closes: 831177
Changes:
geos (3.5.0-4) unstable; urgency=medium
.
* Bump Standards-Version to 3.9.8, no changes.
* Add patch to fix isnan() detection in configure.
* Add patch to use std::isnan() in platform.h too.
(closes: #831177)
Checksums-Sha1:
53ff0b513be8761e95de1710a9ae02b31be26eb0 2326 geos_3.5.0-4.dsc
bfa53d56145ff0c720eb256b78d4f7277266c950 45432 geos_3.5.0-4.debian.tar.xz
14ba611608ab8d75b99b1646518bbdd1afd8ece4 950440 libgeos++-dev_3.5.0-4_amd64.deb
4fc47e360e93c09067cdce4f8895668120a4129a 611860 libgeos-3.5.0_3.5.0-4_amd64.deb
bed394c0d1e2e88e480cf85e4bfc6116d8baba98 185430 libgeos-c1v5_3.5.0-4_amd64.deb
763fd55a9038d565881ea3d8a3eb98a50d07e8b0 7028724 libgeos-dbg_3.5.0-4_amd64.deb
dba52a435b2c5f914a49662d86dba03f345567c6 200496 libgeos-dev_3.5.0-4_amd64.deb
a403deebab1f07ff45d79e0070391a973ed7627f 972834 libgeos-doc_3.5.0-4_all.deb
da00765e900a960279f099a3af310861a7cfa973 166960 ruby-geos_3.5.0-4_amd64.deb
Checksums-Sha256:
7475a11ff633d0ee25cb245060476688212630a146bf2d27242665e78a3988f1 2326 geos_3.5.0-4.dsc
39fdf760192c4a1ce9a24bee72cdcd08ad539aa16efa1eb0bc9ee464f9488f69 45432 geos_3.5.0-4.debian.tar.xz
593f44e530abe217ba61e8c30ff92a173058c0abdcfbea87de35ad92414dd85e 950440 libgeos++-dev_3.5.0-4_amd64.deb
9759a727b503245d05467428a31ce3229e18f2aeb5e7323710ef9f1716fde17a 611860 libgeos-3.5.0_3.5.0-4_amd64.deb
8bf5f5dbec2384b3a76f4ce4c0f064062d9ebfa95549fb854cddb0ce06f9f3eb 185430 libgeos-c1v5_3.5.0-4_amd64.deb
07128aa1fea230e5cb3389ab5a53c471d84d64c1449f662ed23bafbb95c33fb2 7028724 libgeos-dbg_3.5.0-4_amd64.deb
69428513fdd80a900c468f1090b9ba0afa91351ed980af6b47115fa25bbbdf45 200496 libgeos-dev_3.5.0-4_amd64.deb
ec127d7330040559fbdebb59fba9adcdb63646c30506930ad21c2ae23be4284e 972834 libgeos-doc_3.5.0-4_all.deb
d9792349195a1182a20c970f95ea0bcafc79ea0823f8dcfa2ade8ff3c6a63a94 166960 ruby-geos_3.5.0-4_amd64.deb
Files:
6f2cc2f5722b9eda7eca9e7b92943776 2326 science optional geos_3.5.0-4.dsc
cb240c9e40d71db2c0608a89725959cf 45432 science optional geos_3.5.0-4.debian.tar.xz
f24e4d1e1c98848d3ed37b69234178f3 950440 libdevel optional libgeos++-dev_3.5.0-4_amd64.deb
b880ad0288db3de60279f291e53afb73 611860 libs optional libgeos-3.5.0_3.5.0-4_amd64.deb
c63c30da60ace96136e9f97c7e1f74b4 185430 libs optional libgeos-c1v5_3.5.0-4_amd64.deb
60ca15b125e4962f4ac8a5f73caaae2c 7028724 debug extra libgeos-dbg_3.5.0-4_amd64.deb
5d651b880baede11cdc1674577dddbe0 200496 libdevel optional libgeos-dev_3.5.0-4_amd64.deb
3d2fdb208f41cc3f68718d8255c36ee1 972834 doc optional libgeos-doc_3.5.0-4_all.deb
0a0b45dd8e5ae11c7e3397df74eeae0f 166960 ruby optional ruby-geos_3.5.0-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJXh2c7AAoJEGdQ8QrojUrxHJoP/jDqEzagAuW3OhGKpCLs0BZL
OVVb826ZqtRoUpxbnnsWNP0yQK8usxUhGvHfFSPIeBXkdPhF0gqvZfVB60+vcoiq
k/ba2MQf0yIwfP3u7mhovhoaFlLl4L4stNJrKXKJkWFbp6lNczFT6QAmUfbFOZWe
LGV2WfRwSK0tPr9rk0B27V9U8noFqs3zQCB5Fr9YxSA5Ns+seio8Tm2GelHYA0VT
v37X+xkZ8D/vptgKHC1IJaugvCbn3tWulaS4zkG+yblTaurTlLYCix4cdRxVEugN
LnUh+PtbZrPJxWqMQFq4Gb6q9gJ6XzWkSLco/qoPiNtxCAagLFGAVeYxzu9irVoo
GH+6R4pll+o+qt5h/KULF+4Ogaif2UrR7qgx1K4iSR50cn0vbB6IakXHkMsXKR0h
0lfXKOYSRpiptb5Rh4sxxbsu3Ka1TeKr2WD4QADNTlx8KcJqWN7+F+cKhlDpngRw
miDkbqFlOvvLMqQonRLKJPSOlzLxZ9idPnrAy2wnIbyE6iCCFOt24REWeJdZawnd
BmgPKkYeW96Ln8leWLoVEOprhX2HkDmlTPfvO/pz0kJZy7AfgwB6ZjQaijFwdyFt
FP6QID7m0mI2L2QfKD7Eap4cVcFkuDNhAx2eNuH6qqzkqjEf5Uhs+rP24D/BACaM
LQbFrMyFqHLXeqlBi6wy
=wLUI
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 17 Aug 2016 07:35:35 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.