php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61842 Version mismatch breaks build-dist
Submitted: 2012-04-24 18:22 UTC Modified: 2012-04-25 06:54 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: szarkos@php.net Assigned: stas (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.4.1RC2 OS: Windows
Private report: No CVE-ID: None
 [2012-04-24 18:22 UTC] szarkos@php.net
Description:
------------
Looks like there’s a version mismatch introduced by commit 701332c where the version in main\php_version.h does not match the version set in configure.in.  This breaks the “build-dist” phase of the build at least on Windows.

So, for example one would see output below during this phase of the build.  The system is looking for “obj/Release/php-5.4.1RC1-dev”, because that is what was declared in configure.in and the generated Makefile, however actually only the directory “obj/Release/php-5.4.2” exists.

        rd /s /q C:\php-sdk\php54dev\vc9\x86\obj\Release\php-5.4.1RC1-dev
The system cannot find the file specified.
        rd /s /q C:\php-sdk\php54dev\vc9\x86\obj\Release\pecl-5.4.1RC1-dev
The system cannot find the file specified.
        del /f /q C:\php-sdk\php54dev\vc9\x86\obj\Release\php-5.4.1RC1-dev-nts-Win32-VC9-x86.zip
Could Not Find C:\php-sdk\php54dev\vc9\x86\obj\Release\php-5.4.1RC1-dev-nts-Win32-VC9-x86.zip
        del /f /q C:\php-sdk\php54dev\vc9\x86\obj\Release\php-debug-pack-5.4.1RC1-dev-nts-Win32-
Could Not Find C:\php-sdk\php54dev\vc9\x86\obj\Release\php-debug-pack-5.4.1RC1-dev-nts-Win32-VC9
        del /f /q C:\php-sdk\php54dev\vc9\x86\obj\Release\pecl-5.4.1RC1-dev-nts-Win32-VC9-x86.zi
Could Not Find C:\php-sdk\php54dev\vc9\x86\obj\Release\pecl-5.4.1RC1-dev-nts-Win32-VC9-x86.zip



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-24 18:37 UTC] szarkos@php.net
Correction, the directory "php-5.4.2-dev" is created, however the build-dist phase is still looking for "php-5.4.1RC1-dev"..
 [2012-04-25 06:54 UTC] stas@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-25 06:54 UTC] stas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: stas
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 11 19:00:02 2025 UTC