[Pkg-hhvm-team] Bug#818831: hhvm: FTBFS with libc 2.23: 'isnan' was not declared in this scope

Martin Michlmayr tbm at hpe.com
Sun Mar 20 20:14:03 UTC 2016


Package: hhvm
Version: 3.12.0+dfsg-1
Severity: important
User: debian-glibc at 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
...
> -conversion -I/usr/lib/x86_64-linux-gnu/libzip/include -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/fastlz -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/timelib -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/libafdt/src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/libmbfl -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/libmbfl/mbfl -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/libmbfl/filters -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/proxygen/src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/mcrouter/src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/folly -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/folly/src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/thrift/src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/wangle/src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/Zend -I/<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/TSRM  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wall -std=gnu++11 -ffunction-sections -fdata-sections -fno-gcse -fno-omit-frame-pointer -Woverloaded-virtual -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -fno-operator-names -Wno-error=array-bounds -Wno-error=switch -Werror=format-security -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unused-local-typedefs -fno-canonical-system-headers -Wno-deprecated-declarations -Wno-unused-function -Wvla  -ftrack-macro-expansion=0 -fno-builtin-memcmp -fno-delete-null-pointer-checks -Wno-bool-compare -DFOLLY_HAVE_MALLOC_H -mcrc32 -O2 -g -DNDEBUG   -o CMakeFiles/hphp_ext_zend_compat.dir/php-src/TSRM/tsrm_virtual_cwd.cpp.o -c /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/TSRM/tsrm_virtual_cwd.cpp
> /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main/snprintf.cpp: In function 'int format_converter(buffy*, const char*, __va_list_tag*)':
> /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main/snprintf.cpp:992:15: error: 'isnan' was not declared in this scope
>            if (zend_isnan(fp_num)) {
>                ^
> /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main/snprintf.cpp:992:15: note: suggested alternative:
> In file included from /usr/include/c++/5/complex:44:0,
>                  from /usr/include/boost/type_traits/is_complex.hpp:12,
>                  from /usr/include/boost/type_traits.hpp:49,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/third-party/folly/folly/Portability.h:267,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/util/portability.h:20,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/util/exception.h:23,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/util/thread-local.h:21,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/Zend/../TSRM/TSRM.h:124,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/Zend/zend_alloc.h:27,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/Zend/zend.h:252,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main/php.h:34,
>                  from /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main/snprintf.cpp:21:
> /usr/include/c++/5/cmath:641:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^
> /<<BUILDDIR>>/hhvm-3.12.0+dfsg/hphp/runtime/ext_zend_compat/php-src/main/snprintf.cpp:995:22: error: 'isinf' was not declared in this scope
>            } else if (zend_isinf(fp_num)) {
>                       ^

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



More information about the Pkg-hhvm-team mailing list