php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80388 --disable-debug prevents cli sapi from building
Submitted: 2020-11-20 14:56 UTC Modified: 2020-11-25 02:18 UTC
From: divinity76 at gmail dot com Assigned:
Status: Closed Package: *Compile Issues
PHP Version: master-Git-2020-11-20 (Git) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: divinity76 at gmail dot com
New email:
PHP Version: OS:

 

 [2020-11-20 14:56 UTC] divinity76 at gmail dot com
Description:
------------
observed on:
Linux, Debian 10 Buster,
php revision a5a78f3819cfbeee2de30c517f0c5dd36ef7cbc7
(newest master revision on github as of writing)
PHP configure 8.1.0-dev
GNU Autoconf 2.69
GNU Make 4.2.1
gcc (Debian 8.3.0-6) 8.3.0


these exact steps does not build the cli sapi:

./buildconf
./configure --disable-all --disable-cgi --disable-debug --enable-cli
make clean
make -j $(nproc)


but these exact steps *does* build the cli sapi:


./buildconf
./configure --disable-all --disable-cgi --enable-cli
make clean
make -j $(nproc)


both of them should have built the cli sapi. the culprit seems to be --disable-debug



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-24 14:31 UTC] nikic@php.net
I can't reproduce this. Running

./configure --disable-all --disable-cgi --disable-debug --enable-cli && make -j32

does produce sapi/cli/php for me.
 [2020-11-25 02:18 UTC] divinity76 at gmail dot com
-Status: Open +Status: Closed
 [2020-11-25 02:18 UTC] divinity76 at gmail dot com
@nikic i can no longer reproduce it either
 after running `git pull` which updated to e2227ddb052af47dac28ae65a9bfac7c76acfe34, 

thanks for checking, closing issue ^^
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 21:01:35 2025 UTC