Your message dated Sat, 24 Feb 2018 17:19:45 +0000
with message-id <[email protected]>
and subject line Bug#891274: fixed in ivtools 1.2.11a1-11
has caused the Debian Bug report #891274,
regarding ivtools: FTBFS with glibc 2.27: fatal error: bits/nan.h: No such file 
or directory
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.)


-- 
891274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ivtools
Version: 1.2.11a1-10
Severity: important
Tags: patch

ivtools 1.2.11a1-10 fails to build with glibc 2.27 (2.27-0experimental0 from
experimental):

| /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
-Dcplusplus_2_1 -DHAVE_ACE -Div2_6_compatible -I./src -I./src/include/IV-2_6 
-I./src/include -I./src/include/ivstd -DCLIPPOLY -I/usr/include/clippoly 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wno-write-strings -Wno-deprecated -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wall 
-Wno-narrowing -Wunused-variable -Wchar-subscripts -c -o 
src/OverlayUnidraw/libOverlayUnidraw_la-grayraster.lo `test -f 
'src/OverlayUnidraw/grayraster.cc' || echo './'`src/OverlayUnidraw/grayraster.cc
| libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Dcplusplus_2_1 -DHAVE_ACE 
-Div2_6_compatible -I./src -I./src/include/IV-2_6 -I./src/include 
-I./src/include/ivstd -DCLIPPOLY -I/usr/include/clippoly -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wno-write-strings -Wno-deprecated -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wall 
-Wno-narrowing -Wunused-variable -Wchar-subscripts -c 
src/OverlayUnidraw/grayraster.cc  -fPIC -DPIC -o 
src/OverlayUnidraw/.libs/libOverlayUnidraw_la-grayraster.o
| In file included from src/OverlayUnidraw/grayraster.cc:33:0:
| ./src/include/ivstd/nan.h:5:10: fatal error: bits/nan.h: No such file or 
directory
|  #include <bits/nan.h>
|           ^~~~~~~~~~~~
| compilation terminated.
| Makefile:6845: recipe for target 
'src/OverlayUnidraw/libOverlayUnidraw_la-grayraster.lo' failed
| make[3]: *** [src/OverlayUnidraw/libOverlayUnidraw_la-grayraster.lo] Error 1

A full build log is available there:
http://aws-logs.debian.net/2018/02/07/glibc-exp/ivtools_1.2.11a1-9_unstable_glibc-exp.log

glibc 2.27 remove the <bits/nan.h> include file which was a private
interface, as stated when trying to include only this file:

| #ifndef _MATH_H
| # error "Never use <bits/nan.h> directly; include <math.h> instead."
| #endif

The various defines it contains are however unchanged and can still be
accessed through <math.h>. The fix is therefore to include the latter
instead of <bits/nan.h>. This is what the attached patch does.
diff -Nru ivtools-1.2.11a1/debian/patches/bits-nan.patch 
ivtools-1.2.11a1/debian/patches/bits-nan.patch
--- ivtools-1.2.11a1/debian/patches/bits-nan.patch      1970-01-01 
01:00:00.000000000 +0100
+++ ivtools-1.2.11a1/debian/patches/bits-nan.patch      2018-02-24 
01:27:10.000000000 +0100
@@ -0,0 +1,11 @@
+--- a/src/include/ivstd/nan.h
++++ b/src/include/ivstd/nan.h
+@@ -2,7 +2,7 @@
+ #define ivtools_nan_h
+ 
+ #if defined(__GLIBC__) && (__GLIBC__==2 && __GLIBC_MINOR__>0 || __GLIBC__>2)
+-#include <bits/nan.h>
++#include <math.h>
+ #elif !defined(__CYGWIN__) && !defined(__NetBSD__) && !defined(__FreeBSD__) 
&& !defined(__APPLE__)
+ #include_next <nan.h>
+ #else
diff -Nru ivtools-1.2.11a1/debian/patches/series 
ivtools-1.2.11a1/debian/patches/series
--- ivtools-1.2.11a1/debian/patches/series      2018-01-27 22:49:32.000000000 
+0100
+++ ivtools-1.2.11a1/debian/patches/series      2018-02-24 01:27:29.000000000 
+0100
@@ -1 +1,2 @@
 debian-changes
+bits-nan.patch

--- End Message ---
--- Begin Message ---
Source: ivtools
Source-Version: 1.2.11a1-11

We believe that the bug you reported is fixed in the latest version of
ivtools, 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.
Barak A. Pearlmutter <[email protected]> (supplier of updated ivtools 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: SHA512

Format: 1.8
Date: Sat, 24 Feb 2018 16:44:14 +0000
Source: ivtools
Binary: ivtools-bin ivtools-dev libiv1 libiv-unidraw1
Architecture: source amd64
Version: 1.2.11a1-11
Distribution: unstable
Urgency: medium
Maintainer: Barak A. Pearlmutter <[email protected]>
Changed-By: Barak A. Pearlmutter <[email protected]>
Description:
 ivtools-bin - Drawing Editors evolved from idraw
 ivtools-dev - Development files for the InterViews library
 libiv-unidraw1 - Application Frameworks layered on Unidraw
 libiv1     - C++ GUI library with Motif Look and Feel
Closes: 891274
Changes:
 ivtools (1.2.11a1-11) unstable; urgency=medium
 .
   * nan.h FTBFS glibc 2.27 patch from Aurelien Jarno (closes: #891274)
Checksums-Sha1:
 ecab1840c11f72fa31da0b3665b471eed7423ca7 2227 ivtools_1.2.11a1-11.dsc
 4b1cacf9a93d7f463e1973eb7a4531f3362b3fb1 106144 
ivtools_1.2.11a1-11.debian.tar.xz
 8f4156242cc32e8939617f0f4e864af541642ed1 471620 
ivtools-bin-dbgsym_1.2.11a1-11_amd64.deb
 ac53466f57dd91b9059fba7d325b3baaecd7d424 195640 
ivtools-bin_1.2.11a1-11_amd64.deb
 f3d5e63d6a91c767a7ad67981de14d2a37f21112 2319756 
ivtools-dev_1.2.11a1-11_amd64.deb
 2dcf6440ee111a114ff61c39a93d8028dc1c3a7f 10537 
ivtools_1.2.11a1-11_amd64.buildinfo
 219c0a52dc76f4b852e2d2322f58e9a36b3e16c1 5492696 
libiv-unidraw1-dbgsym_1.2.11a1-11_amd64.deb
 2a3c9758c752495d520929fd9ea3d88473eba095 1228524 
libiv-unidraw1_1.2.11a1-11_amd64.deb
 9bd6ee1ba39b3a6b50e17de63d96794d7ac630c0 1514928 
libiv1-dbgsym_1.2.11a1-11_amd64.deb
 73ae5241a6287dc6508a1d60120bea430dac3073 452752 libiv1_1.2.11a1-11_amd64.deb
Checksums-Sha256:
 ec550af9c58123ef824ec63a739e837b74387af496ad943602415fd69522a7a2 2227 
ivtools_1.2.11a1-11.dsc
 128cb1fffe50129dbeff0f59b494f4ba07572bd60e7ed28fbe149273ac2ba78b 106144 
ivtools_1.2.11a1-11.debian.tar.xz
 f2c5e2c253c48f8bf8d8f1fd278d1edfbe1910de25c38c2f863b2918804d12c8 471620 
ivtools-bin-dbgsym_1.2.11a1-11_amd64.deb
 8e8d1200a12062fac37b608c847a67a363ec9e4a91b39a02f09b0b634bb25b7c 195640 
ivtools-bin_1.2.11a1-11_amd64.deb
 43ca974a6306b8cb8863610858433a7ccecb6e917c5c50be77950fd22a7eaac6 2319756 
ivtools-dev_1.2.11a1-11_amd64.deb
 866e67ee5616f5dcf2790b97f1ebb298b2ff1d4a8940dc6a798605a75a1510fd 10537 
ivtools_1.2.11a1-11_amd64.buildinfo
 e63c1d96c989e24a4cfedbd22a28194d713dff02222f0d371c7c6138ae396c7a 5492696 
libiv-unidraw1-dbgsym_1.2.11a1-11_amd64.deb
 09d0e057177c52ab29ff562dac1b3402400bf36fab5d8caa1868f1e3800e8d4d 1228524 
libiv-unidraw1_1.2.11a1-11_amd64.deb
 fcb018b2c3c96e048a92095117489b861cc98c4c794c2563803222b205c26723 1514928 
libiv1-dbgsym_1.2.11a1-11_amd64.deb
 3839ed0fbe2f6cf4de5c179ba15c49bcb1ea130c4d2908a078adc040571de57b 452752 
libiv1_1.2.11a1-11_amd64.deb
Files:
 b945754ba51853806be8e101dcac817f 2227 libs optional ivtools_1.2.11a1-11.dsc
 c40e6f8b87d9a5d3626870403f2154ae 106144 libs optional 
ivtools_1.2.11a1-11.debian.tar.xz
 895f93cbd78b01595d18aba5d8da0221 471620 debug optional 
ivtools-bin-dbgsym_1.2.11a1-11_amd64.deb
 0fdd449ea070390adb9d48c0e7f5d1f4 195640 graphics optional 
ivtools-bin_1.2.11a1-11_amd64.deb
 20e8b1cb6c707fe4735e1b36e4180587 2319756 devel optional 
ivtools-dev_1.2.11a1-11_amd64.deb
 9d4e0dfb43f3172a9dcd584f354dcb91 10537 libs optional 
ivtools_1.2.11a1-11_amd64.buildinfo
 6a2b52dfceda39e2c3b48838d6f5b03b 5492696 debug optional 
libiv-unidraw1-dbgsym_1.2.11a1-11_amd64.deb
 50ef7decad78eec7989a209e56044b3f 1228524 libs optional 
libiv-unidraw1_1.2.11a1-11_amd64.deb
 fbc944037249b05d5ef7e39d3835dedd 1514928 debug optional 
libiv1-dbgsym_1.2.11a1-11_amd64.deb
 d6eab5245a84eb20c97a7b0b5321f7ce 452752 libs optional 
libiv1_1.2.11a1-11_amd64.deb

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

iQIzBAEBCgAdFiEEZPQp426hHMLZZlRvEltXR14ZDRgFAlqRmYsACgkQEltXR14Z
DRhU7A//bh+Oed8wu/B8RnpW6zGbZrxGUFCy7lLz/j5lzkuHh5ysr+dI5FuQ4hDr
R6w8dj7hEAA3UiU5t2X4M83TC6jcy0vq3SmAkBkVs22/dsG7Ddy+UYn5L2JB5DgI
Ej44Lf4vfmsdGQfMGRcavcymZaNZ5sT23gUADQFRaRw3Cvcw4sYxJD6aHdD54VRg
t9cKdmvrxzqlM966orymUM0Gkp+RxYCzoCTIjlvr+XRxPhs6UuccVk3HjReAZi9r
OVIc+rRt372KKoV2Ky+SlKzcoAkhiupyx1OQTkDj1ygmJcISFq/llJz0bPDgOUhl
tYXN4pMLCRRRbzv0LjWzhNujZn2jBl0giYPBGmnNoQb667TV+xKwE7j7u1F2N7CL
+KesQ9iLpAC280d1VLyeNE7K7IX6sr6seDw04Xz/t6PAl4LVuwYzFdhTbQEy/JtP
EHJroDgb5I+GBmznQ9lI6jBwI5lVBj+CmvI8+uH5gTte+QSxKbo3DcbAn0ZBv4ev
tdwkoD4PWwsuSs4no8R5ZOhyiR0cxCsUDppR/D50l8ftVJ3uSh/WNMFux21Se1aw
kR0zEkijQ6dBT9ZxQ3yY1SfIgKhp3Q0zdhrMsX+52gE6tVAqK6n/u0sHWH1SvbBI
dF4L0+YPr9+x3dwbzPQiSe+yRluNsz5LBh0lLoJwuZ3zhTJ42X4=
=GXo/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to