Debian Bug report logs - #818819
leocad: FTBFS with libc 2.23: 'isnan' was not declared in this scope

version graph

Package: leocad; Maintainer for leocad is Debian LEGO Team <debian-lego-team@lists.alioth.debian.org>; Source for leocad is src:leocad (PTS, buildd, popcon).

Reported by: Martin Michlmayr <tbm@hpe.com>

Date: Sun, 20 Mar 2016 20:09:13 UTC

Severity: serious

Tags: patch

Found in version leocad/0.81+svn1775-1

Fixed in version leocad/0.83-1

Done: Nicolas Guilbert <nicolas@ange.dk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Nicolas Guilbert <nicolas@ange.dk>:
Bug#818819; Package leocad. (Sun, 20 Mar 2016 20:09:17 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Michlmayr <tbm@hpe.com>:
New Bug report received and forwarded. Copy sent to Nicolas Guilbert <nicolas@ange.dk>. (Sun, 20 Mar 2016 20:09:17 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Michlmayr <tbm@hpe.com>
To: submit@bugs.debian.org
Subject: leocad: FTBFS with libc 2.23: 'isnan' was not declared in this scope
Date: Sun, 20 Mar 2016 16:07:11 -0400
Package: leocad
Version: 0.81+svn1775-1
Severity: important
User: debian-glibc@lists.debian.org
Usertags: 2.23

This package fails to build with libc6 2.23 (2.23-0experimental0 from
experimental).

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> g++ -c -include build/release/.obj/leocad -m64 -pipe -std=c++11 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLC_DISABLE_UPDATE_CHECK -Wall -W -Wno-unused-parameter -D_REENTRANT -DLC_INSTALL_PREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Iqt -Icommon -I/usr/X11R6/include -Ibuild/release/.moc -Ibuild/release/.ui -o build/release/.obj/camera.o common/camera.cpp
> common/camera.cpp: In member function 'void lcCamera::Orbit(float, float, const lcVector3&, lcStep, bool)':
> common/camera.cpp:828:16: error: 'isnan' was not declared in this scope
>   if (isnan(Z[0]) || isnan(Z[1]))
>                 ^
> common/camera.cpp:828:16: note: suggested alternative:
> In file included from /usr/include/c++/5/random:38:0,
>                  from /usr/include/c++/5/bits/stl_algo.h:66,
>                  from /usr/include/c++/5/algorithm:62,
>                  from /usr/include/qt4/QtCore/qglobal.h:68,
>                  from /usr/include/qt4/QtCore/QtGlobal:1,
>                  from common/lc_global.h:4:
> /usr/include/c++/5/cmath:641:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^
> Makefile:1056: recipe for target 'build/release/.obj/camera.o' failed
> make[1]: *** [build/release/.obj/camera.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



Severity set to 'serious' from 'important' Request was from Graham Inggs <ginggs@debian.org> to control@bugs.debian.org. (Thu, 07 Jul 2016 14:36:15 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Nicolas Guilbert <nicolas@ange.dk>:
Bug#818819; Package leocad. (Sat, 06 Aug 2016 11:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Graham Inggs <ginggs@debian.org>:
Extra info received and forwarded to list. Copy sent to Nicolas Guilbert <nicolas@ange.dk>. (Sat, 06 Aug 2016 11:09:03 GMT) (full text, mbox, link).


Message #12 received at 818819@bugs.debian.org (full text, mbox, reply):

From: Graham Inggs <ginggs@debian.org>
To: 818819@bugs.debian.org
Subject: leocad: FTBFS with libc 2.23: 'isnan' was not declared in this scope
Date: Sat, 6 Aug 2016 13:05:37 +0200
[Message part 1 (text/plain, inline)]
Control: tags -1 patch



Hi Maintainer

The attached patch, by Logan Rosen, was applied in Ubuntu to fix the problem.

Regards
Graham
[fix-isnan.patch (application/x-patch, attachment)]

Added tag(s) patch. Request was from Graham Inggs <ginggs@debian.org> to 818819-submit@bugs.debian.org. (Sat, 06 Aug 2016 11:09:03 GMT) (full text, mbox, link).


Reply sent to Nicolas Guilbert <nicolas@ange.dk>:
You have taken responsibility. (Mon, 08 Aug 2016 22:03:04 GMT) (full text, mbox, link).


Notification sent to Martin Michlmayr <tbm@hpe.com>:
Bug acknowledged by developer. (Mon, 08 Aug 2016 22:03:04 GMT) (full text, mbox, link).


Message #19 received at 818819-close@bugs.debian.org (full text, mbox, reply):

From: Nicolas Guilbert <nicolas@ange.dk>
To: 818819-close@bugs.debian.org
Subject: Bug#818819: fixed in leocad 0.83-1
Date: Mon, 08 Aug 2016 22:00:34 +0000
Source: leocad
Source-Version: 0.83-1

We believe that the bug you reported is fixed in the latest version of
leocad, 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 818819@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nicolas Guilbert <nicolas@ange.dk> (supplier of updated leocad 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: SHA256

Format: 1.8
Date: Sun, 07 Aug 2016 21:55:01 +0200
Source: leocad
Binary: leocad
Architecture: source amd64
Version: 0.83-1
Distribution: sid
Urgency: medium
Maintainer: Nicolas Guilbert <nicolas@ange.dk>
Changed-By: Nicolas Guilbert <nicolas@ange.dk>
Description:
 leocad     - virtual brick CAD software
Closes: 818819
Changes:
 leocad (0.83-1) unstable; urgency=medium
 .
   * New upstream version.
     - Fix FTBFS with glibc 2.23 (Closes: #818819).
Checksums-Sha1:
 9484299c27a24f3e1c2e4b87f445d082c60f3f14 1894 leocad_0.83-1.dsc
 49e1b1df7a268c6b6b6690146f2aa167d1f6ca0f 1955404 leocad_0.83.orig.tar.gz
 3d9428f0b424e309d284733388cc147ea59c5c0c 10680 leocad_0.83-1.debian.tar.xz
 08b09ecc1c86012ae04b750af900e31891e8733a 7591590 leocad-dbgsym_0.83-1_amd64.deb
 30c943a9b3bb084a89ce213fb1424d8f4dd21dd1 608360 leocad_0.83-1_amd64.deb
Checksums-Sha256:
 441041d071feee10239893bd2a0b21411a785c4bd55a758519785613fa844b09 1894 leocad_0.83-1.dsc
 44d1622edfbde62c3297ed2f47e3d9919411408dfbc61da37c9cc04ce9352074 1955404 leocad_0.83.orig.tar.gz
 d0b79e8f6a4766a72b9f9aa08bc4902911f3fbecceb6289f29dbe6d2bc39e97f 10680 leocad_0.83-1.debian.tar.xz
 2a38b5a2c852b63cdb5bfbc45bb1dff41fea17e84c78aa5ac056faa3d0471cb6 7591590 leocad-dbgsym_0.83-1_amd64.deb
 072cf7f77d735923fa8e77f5888a84a183e62627f82e9e4ddbec9f22dbe9911f 608360 leocad_0.83-1_amd64.deb
Files:
 7e92bbeb2922dca6ea9d5fb114454587 1894 utils extra leocad_0.83-1.dsc
 58bceec89c876b04491e0ca95219c41a 1955404 utils extra leocad_0.83.orig.tar.gz
 6e872e5b9c9e627056e166d624a9c646 10680 utils extra leocad_0.83-1.debian.tar.xz
 b38b76ba31ec61d6fbd755c81d9f2b64 7591590 debug extra leocad-dbgsym_0.83-1_amd64.deb
 fc893fef84febcc4de5a6f8ea1760890 608360 utils extra leocad_0.83-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXqPvxAAoJEHQmOzf1tfkTUcMP/RUOMRc1cJJ7xGWtgBm3Y5LL
AekSyy38BxACj2J3+giAhPzJf5+UxpO7vf6SbvktsjTvQCAjaN8n8jX02D+nxN81
Li0p4j7pXdjkcj7VZhOePb4rVF23b/H3NfjNTMqFWxnz7ow7GTUFp3ajY+V7VfW6
tzfrpML8Q7YxQEXDkOFDk5HYEW0RUCLsMZHRceMibXO64ZuiptUPbhvMbA8VMF4c
P4HlC/Mvb/m5gVyZ/eVQsylU+5Yty/bDG+1ye1Dt5htOxC96H2NqMDkcihqPKPA/
BCJQm7Vy8LQVg0agU++0ezCLoO7WTbOiFYtkZ0nPt7WZc1cGiNQkJLGmlI/74Gl1
/j7VEU7pg2KNXYq2FJQBSc/wSXW2MkMOJ8UqvEeW78JLOKFodRXJkMmKs0wWcz8o
bm09qsR6rLRHhEcFc+iJejx5QudGhEtQR867D80aSdYnx5AXWx/FubLxHaEZvFcZ
J3eq13f9l8z8VV8BaU/oaQfGtmQwYuP6Pr1NLEE+dLI+D6wgLewzEYEAWNye6208
dv2IZgYxqL3nrc9zlgoN67MzAMh4GSOaQvOwM/U/hV7O+sGrGJvrDVKTJsBHt8EG
wiJvktMEFWflOv7EhhM4AbPZ6FmYpSb2IxrB0cPA8FdAsDRFojKfJMfz7tPtpzFH
uzdl1ukbPyMtPwxyKtVG
=aDyL
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 07 Sep 2016 07:28:28 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 6 12:10:31 2018; Machine Name: beach

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.