Comments (3)
php -i | grep Debug
says no, as it is built without --enable-debug
, but with -g
in CFLAGS
.
From that build dh_strip
removes the debug symbols, so they can be packaged separately, this way it does not need to be built twice. All packaging for Debian is done similarly.
When debug is set to true, it adds those stripped debug symbols to /var/lib/debug/.build-id
directory. Tools like objdump
and gdb
should pick debuginfo
from there.
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/7875037633/workflow
from setup-php.
I see. Calling it a “Debug Build Setup” without it actually being a Debug Build of PHP certainly was confusing to me.
Do you plan to provide actual Debug Builds with your Action? If not, I would suggest adding a clarification to the README that the “Debug Build Setup” will just install the debug symbols.
Or perhaps it would make sense to always install the debug symbols, GitHub Actions is for testing and debugging after all and having symbols available at all times certainly would not hurt.
from setup-php.
I have tried to improve the documentation for this in 1a5ac4a but switching to debug by default would mean the build size would increase by 3 to 5 times for all, while a very few CI workflows use debug.
Ref: https://github.com/shivammathur/php-ubuntu/releases/tag/builds
from setup-php.
Related Issues (20)
- Broken on macos-13-xlarge HOT 1
- php-version parameter is not respected on 8.3.x HOT 1
- macos-latest on PHP 8.1 failing HOT 11
- setup fails with libicuio.74.dylib error HOT 6
- Apple ARM GitHub runners fail on PHP HOT 3
- php-version: 'latest' and 'dev' HOT 2
- deprecation warnings not emitted HOT 2
- ssh2 failing to install with php 8.2 HOT 8
- Imposible install apc, mycript, PHP 7.3, 7.4. HOT 3
- Support foal extension
- Unable to load dynamic library zip.so HOT 3
- PHP8.3 `RecursiveDirectoryIterator::__construct : Failed to open directory: Not a directory` HOT 1
- Unexpected Installation of Additional PHP Extensions in [email protected] Compared to [email protected] HOT 1
- Improve error reporting when ubuntu launchpad is down? HOT 4
- Sporadic PHP Extension Installation Failure HOT 4
- memcached Could not install memcached on PHP 8.2.18 HOT 4
- Ioncube error using php 8.1 HOT 4
- Add `shipmonk/composer-dependency-analyser` tool HOT 1
- Warnings when using PHP 8.3 on self-hosted runners HOT 5
- Using Ubuntu 24.04 runner doesn't setup < PHP 8.3 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-php.