Skip to content

nmake snap - manual build on windows warning  #2

@aissatAbderrahmane

Description

@aissatAbderrahmane

Hi,
today i've wanted to start contributing to the php-dev , followed instructions and when wanted to check if there're any errors or warning , I get the following :

$ nmake snap

Microsoft (R) Program Maintenance Utility Version 14.31.31105.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Microsoft (R) Program Maintenance Utility Version 14.31.31105.0
Copyright (C) Microsoft Corporation.  All rights reserved.

'C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php8ts_debug.dll' is up-to-date
        for %T in (php-cgi.exe php.exe) do "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\nmake.exe" /I /nologo "%T"

c:\php-sdk\phpmaster\vc15\x64\php-src
$ "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\nmake.exe" /I /nologo "php-cgi.exe"
SAPI sapi\cgi build complete

c:\php-sdk\phpmaster\vc15\x64\php-src
$ "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\nmake.exe" /I /nologo "php.exe"
SAPI sapi\cli build complete
        for %T in (php_opcache.dll) do "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\nmake.exe" /I /nologo "%T"

c:\php-sdk\phpmaster\vc15\x64\php-src
$ "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\nmake.exe" /I /nologo "php_opcache.dll"
EXT opcache build complete
        for %T in () do "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\nmake.exe" /I /nologo "%T"
C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php_opcache.lib
        1 file(s) copied.
        "cl.exe" /nologo /FoC:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\ /FdC:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\ /FpC:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\ /FRC:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS /FeC:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\deplister.exe win32\build\deplister.c imagehlp.lib
deplister.c
        rd /s /q C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-8.2.0-dev
The system cannot find the file specified.
        rd /s /q C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\pecl-8.2.0-dev
The system cannot find the file specified.
        del /f /q C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-8.2.0-dev-Win32-vs17-x64.zip
Could Not Find C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-8.2.0-dev-Win32-vs17-x64.zip
        del /f /q C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-debug-pack-8.2.0-dev-Win32-vs17-x64.zip
Could Not Find C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-debug-pack-8.2.0-dev-Win32-vs17-x64.zip
        del /f /q C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\pecl-8.2.0-dev-Win32-vs17-x64.zip
Could Not Find C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\pecl-8.2.0-dev-Win32-vs17-x64.zip
        c:\php-sdk\bin\php\do_php.bat -d date.timezone=UTC -n -dphar.readonly=0 win32/build/mkdist.php "8.2.0-dev" "C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS" "C:\php-sdk\phpmaster\vc15\x64\deps" "php8ts_debug.dll" "php-cgi.exe php.exe" "php_opcache.dll " " " "no"
Making dist for C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS
Copying php8ts_debug.dll from C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS to C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS/php-8.2.0-dev
Copying php-cgi.exe from C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS to C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS/php-8.2.0-dev
Copying php.exe from C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS to C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS/php-8.2.0-dev
Copying php_opcache.dll from C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS to C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS/php-8.2.0-dev/ext
WARNING: distro depends on vcruntime140d.dll, but could not find it on your system
WARNING: distro depends on ucrtbased.dll, but could not find it on your system

Warning: copy(C:\php-sdk\phpmaster\vc15\x64\deps/bin/glib-2.dll): failed to open stream: No such file or directory in C:\php-sdk\phpmaster\vc15\x64\php-src\win32\build\mkdist.php on line 355
WARNING: couldn't copy glib-2.dll into the dist dir
Warning: copy(C:\php-sdk\phpmaster\vc15\x64\deps/bin/gmodule-2.dll): failed to open stream: No such file or directory in C:\php-sdk\phpmaster\vc15\x64\php-src\win32\build\mkdist.php on line 355
WARNING: couldn't copy gmodule-2.dll into the dist dir
Warning: copy(C:\php-sdk\phpmaster\vc15\x64\deps/bin/libenchant_myspell.dll): failed to open stream: No such file or directory in C:\php-sdk\phpmaster\vc15\x64\php-src\win32\build\mkdist.php on line 355
WARNING: couldn't copy libenchant_myspell.dll into the dist dir
Warning: copy(C:\php-sdk\phpmaster\vc15\x64\deps/bin/libenchant_ispell.dll): failed to open stream: No such file or directory in C:\php-sdk\phpmaster\vc15\x64\php-src\win32\build\mkdist.php on line 355
WARNING: couldn't copy libenchant_ispell.dll into the dist dirWARNING: you don't have a snapshot template, your dist will not be complete
Generating pharcommand.phar
adding clicommand.inc
adding directorygraphiterator.inc
adding directorytreeiterator.inc
adding invertedregexiterator.inc
adding phar.inc
adding pharcommand.inc
Creating phar.phar.bat
        cd C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-8.2.0-dev
        7za.exe a ..\php-8.2.0-dev-Win32-vs17-x64.zip .

7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30

Scanning the drive:
5 folders, 15 files, 21610436 bytes (21 MiB)

Creating archive: ..\php-8.2.0-dev-Win32-vs17-x64.zip

Add new data to archive: 5 folders, 15 files, 21610436 bytes (21 MiB)


Files read from disk: 15
Archive size: 4092475 bytes (3997 KiB)
Everything is Ok
        cd C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\pecl-8.2.0-dev
        7za.exe a ..\pecl-8.2.0-dev-Win32-vs17-x64.zip .

7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30

Scanning the drive:
0 files, 0 bytes

Creating archive: ..\pecl-8.2.0-dev-Win32-vs17-x64.zip

Add new data to archive: 0 files, 0 bytes


Files read from disk: 0
Archive size: 22 bytes (1 KiB)
Everything is Ok
        cd C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS\php-test-pack-8.2.0-dev
        7za.exe a ..\php-test-pack-8.2.0-dev.zip .

7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30

Scanning the drive:
371 folders, 19031 files, 43942688 bytes (42 MiB)

Creating archive: ..\php-test-pack-8.2.0-dev.zip

Add new data to archive: 371 folders, 19031 files, 43942688 bytes (42 MiB)


Files read from disk: 19031
Archive size: 16292877 bytes (16 MiB)
Everything is Ok
        cd C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS
        7za.exe a php-debug-pack-8.2.0-dev-Win32-vs17-x64.zip *.pdb

7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30

Scanning the drive:
4 files, 21274624 bytes (21 MiB)

Creating archive: php-debug-pack-8.2.0-dev-Win32-vs17-x64.zip

Add new data to archive: 4 files, 21274624 bytes (21 MiB)


Files read from disk: 4
Archive size: 5626055 bytes (5495 KiB)
Everything is Ok
        7za.exe a php-devel-pack-8.2.0-dev-Win32-vs17-x64.zip php-8.2.0-dev-devel-vs17-x64

7-Zip (a) 18.05 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-04-30

Scanning the drive:
24 folders, 311 files, 6035730 bytes (5895 KiB)

Creating archive: php-devel-pack-8.2.0-dev-Win32-vs17-x64.zip

Add new data to archive: 24 folders, 311 files, 6035730 bytes (5895 KiB)


Files read from disk: 311
Archive size: 1084289 bytes (1059 KiB)
Everything is Ok
        cd C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Debug_TS

c:\php-sdk\phpmaster\vc15\x64\php-src

Any additional missing information's ? I wanted to support the windows version before running UbuntuVM and do build test.
time and date : 30/08/2022 13:00

Regards..

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions