Bug #69829 [Fbk]: Building from sources fails

From: Date: Sun, 14 Jun 2015 13:27:59 +0000
Subject: Bug #69829 [Fbk]: Building from sources fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193476@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69829&edit=1 ID: 69829 Updated by: cmb@php.net Reported by: cmb@php.net Summary: Building from sources fails Status: Feedback Type: Bug Package: Compile Failure Operating System: Windows 7 PHP Version: 7.0.0alpha1 Block user comment: N Private report: N New Comment: The sources from http://windows.php.net/downloads/qa/ compile fine. It would be nice to have a single set of sources which work for all supported platforms, if possible, for the next releases. Previous Comments: ------------------------------------------------------------------------ [2015-06-14 12:56:55] ab@php.net Ahh ... Cristoph, I see - the tarballs you link are not suitable for windows. Please check the sources from http://windows.php.net/downloads/qa/ (but they should be also linked from the download page). Thanks. ------------------------------------------------------------------------ [2015-06-14 12:32:04] cmb@php.net Description: ------------ Compiling from the sources of PHP 7.0.0alpha1[1] fails on Windows (VC14) with the latest deps and binary tools[2]. When I do touch Zend\zend_language_parser.y everything compiles fine. This might be related to the old bison (2.4.1) contained in the binary tools. [1] <https://downloads.php.net/~ab/> [2] <http://windows.php.net/downloads/php-sdk/> Test script: --------------- buildconf configure --disable-all --enable-cli nmake Actual result: -------------- Microsoft (R) Program Maintenance Utility, Version 14.00.22816.0 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. Recreating build dirs type ext\pcre\php_pcre.def > C:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\php7ts.dll.def "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mc.exe" -h win32\ -r C:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\ -x C:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\ win32\build\wsyslog.mc MC: Compiling win32\build\wsyslog.mc "cl.exe" /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /nologo /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 /FD /wd4996 /D_USE_32BIT_TIME_T=1 /MP /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "C:\Users\cmb\php\sdk\phpdev\vc14\x86\deps\include" /D FD_SETSIZE=256 /FoC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\sapi\cli\ /FpC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\sapi\cli\ /FRC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\sapi\cli\ /FdC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\sapi\cli\ /c sapi\cli\php_cli.c sapi\cli\php_cli_process_title.c sapi\cli\php_cli_server.c sapi\cli\php_http_parser.c sapi\cli\ps_title.c php_cli.c php_cli_process_title.c php_cli_server.c php_http_parser.c ps_title.c "cl.exe" /D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x0600 /Iext/date/lib /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DHAVE_TIMELIB_CONFIG_H=1 /wd4244 -Iext/pcre/pcrelib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /D HAVE_CONFIG_H /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /I "ext/date/lib" /DHAVE_TIMELIB_CONFIG_H=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /nologo /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 /FD /wd4996 /D_USE_32BIT_TIME_T=1 /MP /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "C:\Users\cmb\php\sdk\phpdev\vc14\x86\deps\include" /D FD_SETSIZE=256 /FoC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\Zend\ /FpC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\Zend\ /FRC:\Users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\Zend\ /FdC:\Users\cmb\php\sdk\! phpdev\vc14\x86\php-7.0.0alpha1\Release_TS\Zend\ /D ZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /c Zend\zend.c Zend\zend_API.c Zend\zend_alloc.c Zend\zend_ast.c Zend\zend_builtin_functions.c Zend\zend_closures.c Zend\zend_compile.c Zend\zend_constants.c Zend\zend_default_classes.c Zend\zend_exceptions.c Zend\zend_execute.c Zend\zend_execute_API.c Zend\zend_extensions.c Zend\zend_float.c Zend\zend_gc.c Zend\zend_generators.c Zend\zend_hash.c Zend\zend_highlight.c Zend\zend_inheritance.c Zend\zend_ini.c Zend\zend_ini_parser.c Zend\zend_ini_scanner.c Zend\zend_interfaces.c Zend\zend_iterators.c Zend\zend_language_parser.c Zend\zend_language_scanner.c Zend\zend_list.c Zend\zend_llist.c Zend\zend_multibyte.c Zend\zend_object_handlers.c Zend\zend_objects.c Zend\zend_objects_API.c Zend\zend_opcode.c Zend\zend_operators.c Zend\zend_ptr_stack.c Zend\zend_smart_str.c Zend\zend_sort.c Zend\zend_sprintf.c Zend\zend_stack.c Zend\zend_stream.c Zend\zend_string.c Zend\zend_strtod.c Zend\zend_ts_has! h.c Zend\zend_variables.c Zend\zend_virtual_cwd.c Zend\zend_vm! _opcodes.c zend.c zend_API.c zend_alloc.c zend_ast.c zend_builtin_functions.c zend_closures.c zend_compile.c Zend\zend_builtin_functions.c(451): warning C4018: ">=": Konflikt zwischen "signed" und "unsigned" Zend\zend_builtin_functions.c(457): warning C4018: ">=": Konflikt zwischen "signed" und "unsigned" c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_globals_macros.h(39): error C2375: "zendparse": Neudefinition; unterschiedliche Bindung (Quelldatei wird kompiliert Zend\zend_compile.c) Zend\zend_language_parser.h(333): note: Siehe Deklaration von "zendparse" (Quelldatei wird kompiliert Zend\zend_compile.c) zend_constants.c zend_default_classes.c zend_exceptions.c zend_execute.c zend_execute_API.c c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_vm_execute.h(1606): warning C4018: ">": Konflikt zwischen "signed" und "unsigned" (Quelldatei wird kompiliert Zend\zend_execute.c) c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_vm_execute.h(1609): warning C4018: "<": Konflikt zwischen "signed" und "unsigned" (Quelldatei wird kompiliert Zend\zend_execute.c) c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_vm_execute.h(1611): warning C4018: ">=": Konflikt zwischen "signed" und "unsigned" (Quelldatei wird kompiliert Zend\zend_execute.c) zend_extensions.c c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_vm_execute.h(5327): warning C4101: "free_op1": Unreferenzierte lokale Variable (Quelldatei wird kompiliert Zend\zend_execute.c) zend_float.c zend_gc.c zend_generators.c zend_hash.c zend_highlight.c Zend\zend_hash.c(132): warning C4146: Einem vorzeichenlosen Typ wurde ein un„rer Minus-Operator zugewiesen. Das Ergebnis ist weiterhin vorzeichenlos. Zend\zend_hash.c(150): warning C4146: Einem vorzeichenlosen Typ wurde ein un„rer Minus-Operator zugewiesen. Das Ergebnis ist weiterhin vorzeichenlos. Zend\zend_hash.c(196): warning C4146: Einem vorzeichenlosen Typ wurde ein un„rer Minus-Operator zugewiesen. Das Ergebnis ist weiterhin vorzeichenlos. Zend\zend_hash.c(254): warning C4146: Einem vorzeichenlosen Typ wurde ein un„rer Minus-Operator zugewiesen. Das Ergebnis ist weiterhin vorzeichenlos. Zend\zend_hash.c(799): warning C4146: Einem vorzeichenlosen Typ wurde ein un„rer Minus-Operator zugewiesen. Das Ergebnis ist weiterhin vorzeichenlos. c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_globals_macros.h(39): error C2375: "zendparse": Neudefinition; unterschiedliche Bindung (Quelldatei wird kompiliert Zend\zend_highlight.c) Zend\zend_language_parser.h(333): note: Siehe Deklaration von "zendparse" (Quelldatei wird kompiliert Zend\zend_highlight.c) zend_inheritance.c zend_ini.c zend_ini_parser.c zend_ini_scanner.c zend_interfaces.c zend_iterators.c zend_language_parser.c zend_language_scanner.c c:\users\cmb\php\sdk\phpdev\vc14\x86\php-7.0.0alpha1\zend\zend_globals_macros.h(39): error C2375: "zendparse": Neudefinition; unterschiedliche Bindung (Quelldatei wird kompiliert Zend\zend_language_scanner.c) Zend\zend_language_parser.h(333): note: Siehe Deklaration von "zendparse" (Quelldatei wird kompiliert Zend\zend_language_scanner.c) zend_list.c zend_llist.c zend_multibyte.c zend_object_handlers.c zend_objects.c zend_objects_API.c zend_opcode.c zend_operators.c zend_ptr_stack.c zend_smart_str.c zend_sort.c Zend\zend_operators.c(2801): warning C4018: "<": Konflikt zwischen "signed" und "unsigned" zend_sprintf.c zend_stack.c zend_stream.c zend_string.c zend_strtod.c zend_ts_hash.c zend_variables.c Zend\zend_strtod.c(3618): warning C4018: "<=": Konflikt zwischen "signed" und "unsigned" zend_virtual_cwd.c zend_vm_opcodes.c NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe"": Rückgabe-Code "0x2" Stop. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69829&edit=1

« previous php.bugs (#193476) next »