[Pkg-hhvm-team] Bug#853442: hhvm: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:32:03 UTC 2017


Package: src:hhvm
Version: 3.12.11+dfsg-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/hhvm_3.12.11+dfsg-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
/usr/bin/ocamldep.opt -modules hh_matcher/test/code_extent_tests.ml > hh_matcher/test/code_extent_tests.ml.depends
/usr/bin/ocamldep.opt -modules hh_matcher/hh_match_test_utils.mli > hh_matcher/hh_match_test_utils.mli.depends
/usr/bin/ocamlc.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -I hh_matcher/test -o hh_matcher/hh_match_test_utils.cmi hh_matcher/hh_match_test_utils.mli
/usr/bin/ocamlc.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/code_extent_tests.cmo hh_matcher/test/code_extent_tests.ml
/usr/bin/ocamldep.opt -modules hh_matcher/hh_match_test_utils.ml > hh_matcher/hh_match_test_utils.ml.depends
/usr/bin/ocamlopt.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -I hh_matcher/test -o hh_matcher/hh_match_test_utils.cmx hh_matcher/hh_match_test_utils.ml
/usr/bin/ocamlopt.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/code_extent_tests.cmx hh_matcher/test/code_extent_tests.ml
/usr/bin/ocamlopt.opt -g heap/hh_shared.o hhi/hhi_elf.o hhi/hhi_win32res_stubs.o libancillary/libancillary-stubs.o third-party/libancillary/fd_recv.o third-party/libancillary/fd_send.o utils/files.o utils/get_build_id.gen.o utils/get_build_id.o utils/handle_stubs.o utils/nproc.o utils/priorities.o utils/realpath.o utils/sysinfo.o utils/win32_support.o third-party/inotify/inotify_stubs.o -cclib -lpthread -cclib -lelf -cclib -L/usr/lib/x86_64-linux-gnu -cclib -L/usr/lib/x86_64-linux-gnu -cclib -llz4 str.cmxa unix.cmxa bigarray.cmxa third-party/core/caml.cmx third-party/core/commutative_group.cmx third-party/core/container.cmx third-party/core/core_printf.cmx third-party/core/monad.cmx third-party/core/polymorphic_compare.cmx third-party/core/poly.cmx third-party/core/core_list.cmx utils/core.cmx utils/file_pos.cmx utils/hh_json.cmx utils/ident.cmx utils/utils.cmx utils/sys_utils.cmx utils/path.cmx utils/relative_path.cmx utils/pos.cmx deps/fileInfo.cmx find/find.cmx globals/globalConfig.cmx globals/ide.cmx heap/prefix.cmx heap/value.cmx stubs/eventLogger.cmx utils/hh_logger.cmx utils/stats.cmx heap/sharedMem.cmx parsing/namespace_env.cmx parsing/ast.cmx parsing/astVisitor.cmx utils/errors.cmx parsing/lexer_hack.cmx parsing/namespaces.cmx parsing/parser_heap.cmx third-party/core/option.cmx utils/lint.cmx utils/php_escaping.cmx utils/regexp_utils.cmx parsing/parser_hack.cmx hh_matcher/ast_code_extent.cmx hh_matcher/hh_match_test_utils.cmx hhi/hhi_win32res.cmx utils/exit_status.cmx utils/tmp.cmx hhi/hhi.cmx hh_matcher/test/code_extent_tests.cmx -o hh_matcher/test/code_extent_tests.native
/usr/bin/ocamldep.opt -modules hh_matcher/test/matcher_test.ml > hh_matcher/test/matcher_test.ml.depends
/usr/bin/ocamlc.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/matcher_test.cmo hh_matcher/test/matcher_test.ml
/usr/bin/ocamlopt.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/matcher_test.cmx hh_matcher/test/matcher_test.ml
/usr/bin/ocamlopt.opt -g heap/hh_shared.o hhi/hhi_elf.o hhi/hhi_win32res_stubs.o libancillary/libancillary-stubs.o third-party/libancillary/fd_recv.o third-party/libancillary/fd_send.o utils/files.o utils/get_build_id.gen.o utils/get_build_id.o utils/handle_stubs.o utils/nproc.o utils/priorities.o utils/realpath.o utils/sysinfo.o utils/win32_support.o third-party/inotify/inotify_stubs.o -cclib -lpthread -cclib -lelf -cclib -L/usr/lib/x86_64-linux-gnu -cclib -L/usr/lib/x86_64-linux-gnu -cclib -llz4 str.cmxa unix.cmxa bigarray.cmxa third-party/core/caml.cmx third-party/core/commutative_group.cmx third-party/core/container.cmx third-party/core/core_printf.cmx third-party/core/monad.cmx third-party/core/polymorphic_compare.cmx third-party/core/poly.cmx third-party/core/core_list.cmx utils/core.cmx utils/file_pos.cmx utils/hh_json.cmx utils/ident.cmx utils/utils.cmx utils/sys_utils.cmx utils/path.cmx utils/relative_path.cmx utils/pos.cmx deps/fileInfo.cmx find/find.cmx globals/ide.cmx heap/prefix.cmx heap/value.cmx stubs/eventLogger.cmx utils/hh_logger.cmx utils/stats.cmx heap/sharedMem.cmx parsing/namespace_env.cmx parsing/ast.cmx utils/errors.cmx parsing/lexer_hack.cmx parsing/namespaces.cmx parsing/parser_heap.cmx third-party/core/option.cmx utils/lint.cmx utils/php_escaping.cmx utils/regexp_utils.cmx parsing/parser_hack.cmx format/format_hack.cmx globals/globalConfig.cmx h2tp/common/common_exns.cmx h2tp/unparser/unparsed.cmx h2tp/unparser/unparser.cmx hh_matcher/astConstructor.cmx parsing/astVisitor.cmx hh_matcher/ast_code_extent.cmx hh_matcher/hh_match_test_utils.cmx naming/naming_special_names.cmx naming/nast.cmx hh_matcher/hh_match_utils.cmx hh_matcher/patcher.cmx hh_matcher/matcher.cmx hhi/hhi_win32res.cmx utils/exit_status.cmx utils/tmp.cmx hhi/hhi.cmx hh_matcher/test/matcher_test.cmx -o hh_matcher/test/matcher_test.native
/usr/bin/ocamldep.opt -modules hh_matcher/test/patcher_api_test.ml > hh_matcher/test/patcher_api_test.ml.depends
/usr/bin/ocamlc.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/patcher_api_test.cmo hh_matcher/test/patcher_api_test.ml
/usr/bin/ocamlopt.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/patcher_api_test.cmx hh_matcher/test/patcher_api_test.ml
/usr/bin/ocamlopt.opt -g heap/hh_shared.o hhi/hhi_elf.o hhi/hhi_win32res_stubs.o libancillary/libancillary-stubs.o third-party/libancillary/fd_recv.o third-party/libancillary/fd_send.o utils/files.o utils/get_build_id.gen.o utils/get_build_id.o utils/handle_stubs.o utils/nproc.o utils/priorities.o utils/realpath.o utils/sysinfo.o utils/win32_support.o third-party/inotify/inotify_stubs.o -cclib -lpthread -cclib -lelf -cclib -L/usr/lib/x86_64-linux-gnu -cclib -L/usr/lib/x86_64-linux-gnu -cclib -llz4 str.cmxa unix.cmxa bigarray.cmxa third-party/core/caml.cmx third-party/core/commutative_group.cmx third-party/core/container.cmx third-party/core/core_printf.cmx third-party/core/monad.cmx third-party/core/polymorphic_compare.cmx third-party/core/poly.cmx third-party/core/core_list.cmx utils/core.cmx utils/file_pos.cmx utils/hh_json.cmx utils/ident.cmx utils/utils.cmx utils/sys_utils.cmx utils/path.cmx utils/relative_path.cmx utils/pos.cmx deps/fileInfo.cmx find/find.cmx globals/ide.cmx heap/prefix.cmx heap/value.cmx stubs/eventLogger.cmx utils/hh_logger.cmx utils/stats.cmx heap/sharedMem.cmx parsing/namespace_env.cmx parsing/ast.cmx utils/errors.cmx parsing/lexer_hack.cmx parsing/namespaces.cmx parsing/parser_heap.cmx third-party/core/option.cmx utils/lint.cmx utils/php_escaping.cmx utils/regexp_utils.cmx parsing/parser_hack.cmx format/format_hack.cmx globals/globalConfig.cmx h2tp/common/common_exns.cmx h2tp/unparser/unparsed.cmx h2tp/unparser/unparser.cmx parsing/astVisitor.cmx hh_matcher/ast_code_extent.cmx naming/naming_special_names.cmx naming/nast.cmx hh_matcher/hh_match_utils.cmx hh_matcher/patcher.cmx hhi/hhi_win32res.cmx utils/exit_status.cmx utils/tmp.cmx hhi/hhi.cmx hh_matcher/test/patcher_api_test.cmx -o hh_matcher/test/patcher_api_test.native
/usr/bin/ocamldep.opt -modules hh_matcher/test/patcher_module_test.ml > hh_matcher/test/patcher_module_test.ml.depends
/usr/bin/ocamlc.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/patcher_module_test.cmo hh_matcher/test/patcher_module_test.ml
/usr/bin/ocamlopt.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/patcher_module_test.cmx hh_matcher/test/patcher_module_test.ml
/usr/bin/ocamlopt.opt -g heap/hh_shared.o hhi/hhi_elf.o hhi/hhi_win32res_stubs.o libancillary/libancillary-stubs.o third-party/libancillary/fd_recv.o third-party/libancillary/fd_send.o utils/files.o utils/get_build_id.gen.o utils/get_build_id.o utils/handle_stubs.o utils/nproc.o utils/priorities.o utils/realpath.o utils/sysinfo.o utils/win32_support.o third-party/inotify/inotify_stubs.o -cclib -lpthread -cclib -lelf -cclib -L/usr/lib/x86_64-linux-gnu -cclib -L/usr/lib/x86_64-linux-gnu -cclib -llz4 str.cmxa unix.cmxa bigarray.cmxa third-party/core/caml.cmx third-party/core/commutative_group.cmx third-party/core/container.cmx third-party/core/core_printf.cmx third-party/core/monad.cmx third-party/core/polymorphic_compare.cmx third-party/core/poly.cmx third-party/core/core_list.cmx utils/core.cmx utils/file_pos.cmx utils/hh_json.cmx utils/ident.cmx utils/utils.cmx utils/sys_utils.cmx utils/path.cmx utils/relative_path.cmx utils/pos.cmx deps/fileInfo.cmx find/find.cmx globals/ide.cmx heap/prefix.cmx heap/value.cmx stubs/eventLogger.cmx utils/hh_logger.cmx utils/stats.cmx heap/sharedMem.cmx parsing/namespace_env.cmx parsing/ast.cmx utils/errors.cmx parsing/lexer_hack.cmx parsing/namespaces.cmx parsing/parser_heap.cmx third-party/core/option.cmx utils/lint.cmx utils/php_escaping.cmx utils/regexp_utils.cmx parsing/parser_hack.cmx format/format_hack.cmx globals/globalConfig.cmx h2tp/common/common_exns.cmx h2tp/unparser/unparsed.cmx h2tp/unparser/unparser.cmx parsing/astVisitor.cmx hh_matcher/ast_code_extent.cmx hh_matcher/hh_match_test_utils.cmx naming/naming_special_names.cmx naming/nast.cmx hh_matcher/hh_match_utils.cmx hh_matcher/patcher.cmx hhi/hhi_win32res.cmx utils/exit_status.cmx utils/tmp.cmx hhi/hhi.cmx hh_matcher/test/patcher_module_test.cmx -o hh_matcher/test/patcher_module_test.native
/usr/bin/ocamldep.opt -modules hh_matcher/test/patcher_test.ml > hh_matcher/test/patcher_test.ml.depends
/usr/bin/ocamlc.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/patcher_test.cmo hh_matcher/test/patcher_test.ml
/usr/bin/ocamlopt.opt -c -g -w A -warn-error A -w -3-4-6-29-35-44-48-50 -I hh_matcher/test -I naming -I socket -I search -I watchman -I typing -I h2tp -I parsing -I stubs -I dfind -I libancillary -I format -I deps -I find -I utils -I heap -I client -I emitter -I fsnotify_linux -I hh_matcher -I hhi -I monitor -I globals -I procs -I server -I third-party/avl -I third-party/inotify -I third-party/core -I h2tp/common -I h2tp/unparser -I h2tp/mapper -I h2tp/test -o hh_matcher/test/patcher_test.cmx hh_matcher/test/patcher_test.ml
/usr/bin/ocamlopt.opt -g heap/hh_shared.o hhi/hhi_elf.o hhi/hhi_win32res_stubs.o libancillary/libancillary-stubs.o third-party/libancillary/fd_recv.o third-party/libancillary/fd_send.o utils/files.o utils/get_build_id.gen.o utils/get_build_id.o utils/handle_stubs.o utils/nproc.o utils/priorities.o utils/realpath.o utils/sysinfo.o utils/win32_support.o third-party/inotify/inotify_stubs.o -cclib -lpthread -cclib -lelf -cclib -L/usr/lib/x86_64-linux-gnu -cclib -L/usr/lib/x86_64-linux-gnu -cclib -llz4 str.cmxa unix.cmxa bigarray.cmxa third-party/core/caml.cmx third-party/core/commutative_group.cmx third-party/core/container.cmx third-party/core/core_printf.cmx third-party/core/monad.cmx third-party/core/polymorphic_compare.cmx third-party/core/poly.cmx third-party/core/core_list.cmx utils/core.cmx utils/file_pos.cmx utils/hh_json.cmx utils/ident.cmx utils/utils.cmx utils/sys_utils.cmx utils/path.cmx utils/relative_path.cmx utils/pos.cmx deps/fileInfo.cmx find/find.cmx globals/ide.cmx heap/prefix.cmx heap/value.cmx stubs/eventLogger.cmx utils/hh_logger.cmx utils/stats.cmx heap/sharedMem.cmx parsing/namespace_env.cmx parsing/ast.cmx utils/errors.cmx parsing/lexer_hack.cmx parsing/namespaces.cmx parsing/parser_heap.cmx third-party/core/option.cmx utils/lint.cmx utils/php_escaping.cmx utils/regexp_utils.cmx parsing/parser_hack.cmx format/format_hack.cmx globals/globalConfig.cmx h2tp/common/common_exns.cmx h2tp/unparser/unparsed.cmx h2tp/unparser/unparser.cmx hh_matcher/astConstructor.cmx parsing/astVisitor.cmx hh_matcher/ast_code_extent.cmx hh_matcher/hh_match_test_utils.cmx naming/naming_special_names.cmx naming/nast.cmx hh_matcher/hh_match_utils.cmx hh_matcher/patcher.cmx hh_matcher/matcher.cmx hhi/hhi_win32res.cmx utils/exit_status.cmx utils/tmp.cmx hhi/hhi.cmx hh_matcher/test/patcher_test.cmx -o hh_matcher/test/patcher_test.native
# Touching the targets is necessary because the ocaml build
# doesn't change the modification dates of the targets if
# the new binaries are exactly the same as the old ones
touch _build/hh_server.native _build/hh_client.native _build/hh_single_type_check.native _build/hh_emitter.native _build/hh_format.native _build/h2tp.native _build/test_unparser.native _build/hh_match.native _build/code_extent_tests.native _build/matcher_test.native _build/patcher_api_test.native _build/patcher_module_test.native _build/patcher_test.native
mkdir -p ../bin
objcopy --add-section hhi=../bin/hhi.tar.gz _build/hh_server.native ../bin/hh_server
cp _build/hh_client.native ../bin/hh_client
cp _build/hh_single_type_check.native ../bin/hh_single_type_check
cp _build/hh_emitter.native ../bin/hh_emitter
cp _build/hh_format.native ../bin/hh_format
cp _build/h2tp/h2tp.native ../bin/h2tp
cp _build/hh_match.native ../bin/hh_match
make[5]: Leaving directory '/<<BUILDDIR>>/hhvm-3.12.11+dfsg/hphp/hack/src'
make[4]: Leaving directory '/<<BUILDDIR>>/hhvm-3.12.11+dfsg'
[ 19%] Built target hack
make[3]: Leaving directory '/<<BUILDDIR>>/hhvm-3.12.11+dfsg'
Makefile:127: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/hhvm-3.12.11+dfsg'
dh_auto_build: make -j64 returned exit code 2
debian/rules:38: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/hhvm-3.12.11+dfsg'
debian/rules:35: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-hhvm-team mailing list