[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818829: libreoffice: FTBFS with libc 2.23: 'isnan' was not declared in this scope



Package: libreoffice
Version: 1:5.1.1-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
...
> S=/<<PKGBUILDDIR>> && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/xmloff/source/forms/ $W/Dep/CxxObject/xmloff/source/forms/ && cd /<<PKGBUILDDIR>> &&   x86_64-linux-gnu-g++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_FORTIFY_SOURCE=2 -D_PTHREADS -D_REENTRANT -Wdate-time -Wdate-time -D_FORTIFY_SOURCE=2  -DXMLOFF_DLLIMPLEMENTATION   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=gnu++14  -ggdb2  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -DLIBO_INTERNAL_ONLY  -c $S/xmloff/source/forms/formcellbinding.cxx -o $W/CxxObject/xmloff/source/forms/formcellbinding.o  -I$S/xmloff/source/forms/ -I$S/x
> mloff/inc  -I$S/include  -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I$S/config_host   -I/usr/include  -I$W/CustomTarget/officecfg/registry -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal   
> [build CXX] xmloff/source/forms/formenums.cxx
> /<<PKGBUILDDIR>>/xmloff/source/draw/ximp3dscene.cxx: In constructor 'SdXML3DLightContext::SdXML3DLightContext(SvXMLImport&, sal_uInt16, const rtl::OUString&, const com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>&)':
> /<<PKGBUILDDIR>>/xmloff/source/draw/ximp3dscene.cxx:69:39: error: 'isnan' was not declared in this scope
>                  if (!isnan(aVal.getX()) && !isnan(aVal.getY()) && !isnan(aVal.getZ()))
>                                        ^

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


Reply to: