php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69733 PHP fails to build with --enable-phpdbg-debug
Submitted: 2015-05-30 09:24 UTC Modified: -
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: contact dot 01834e2c at renegade334 dot me dot uk Assigned:
Status: Closed Package: phpdbg
PHP Version: master-Git-2015-05-30 (Git) OS: Ubuntu 14.04.2 (Linux 3.13.0-53)
Private report: No CVE-ID: None
 [2015-05-30 09:24 UTC] contact dot 01834e2c at renegade334 dot me dot uk
Description:
------------
If the configure option --enable-phpdbg-debug is enabled, PHP currently fails to build, with the following error:

/home/renegade/git/php-src/sapi/phpdbg/phpdbg_bp.c:311:103: error: ‘curlen’ undeclared (first use in this function)
  phpdbg_debug("file: %s, filelen: %u, cur: %s, curlen %u, pos: %c, memcmp: %d\n", file, filelen, cur, curlen, filelen > curlen ? file[filelen - curlen - 1] : '?', filelen > curlen ? memcmp(file + filelen - curlen, cur, curlen) : 0);

Using --enable-phpdbg without --enable-phpdbg-debug compiles OK.

Actual result:
--------------
https://gist.github.com/Renegade334/bdb990bcefc1111bd949

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-31 05:37 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d2649af6b9e222bdece713d37ac9b15d722fa163
Log: Fixed Bug #69733 (PHP fails to build with --enable-phpdbg-debug)
 [2015-05-31 05:37 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2016-07-20 11:38 UTC] davey@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d2649af6b9e222bdece713d37ac9b15d722fa163
Log: Fixed Bug #69733 (PHP fails to build with --enable-phpdbg-debug)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 04 01:01:29 2024 UTC