Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug symbols are missing for php7.1-fpm ( and others ) #512

Closed
EugenMayer opened this issue Dec 20, 2016 · 14 comments
Closed

Debug symbols are missing for php7.1-fpm ( and others ) #512

EugenMayer opened this issue Dec 20, 2016 · 14 comments

Comments

@EugenMayer
Copy link

EugenMayer commented Dec 20, 2016

#Sources:

(root:php7)➜  www  cat /etc/apt/sources.list.d/packages.sury.org.list | grep debug
deb http://packages.sury.org/php/ jessie main/debug

php7.1-fpm-dbgsym not found

(root:php7)➜  (root:php7)➜  www  apt-cache search php7.1-fpm-dbgsym

While php7.0-fpm-dbgsym is there

apt-cache search php7.0-fpm-dbgsym
php7.0-fpm-dbgsym - Debug symbols for php7.0-fpm
@EugenMayer EugenMayer changed the title Debug symbols are missing for php7.1/7.0 Debug symbols are missing for php7.1-fpm ( and others ) Dec 20, 2016
@oerdnj
Copy link
Owner

oerdnj commented Dec 20, 2016

I have updated dpkg recently between PHP 7.1 (before) and PHP 7.0 (after) builds. So that might explain it. Could you wait for next PHP 7.1 release?

@EugenMayer
Copy link
Author

If any possible, i would love to have those. The problem is, i update to php7.1 and now, the session handling is broken, session_destroy_sid is never called. I cannot debug it using a PHP ide, i have to see where it goes from https://github.com/php/php-src/blob/master/ext/session/session.c#L153 here - i cannot also try to reproduce it in php7.0, since it works there.

I blocked, seriously. Sorry ;/

@oerdnj
Copy link
Owner

oerdnj commented Dec 20, 2016

Ok, I fired rebuild of php 7.1 (and 5.6) to get the debug symbols installed.

@EugenMayer
Copy link
Author

Thank you sir!

@oerdnj
Copy link
Owner

oerdnj commented Dec 21, 2016

Does it work now (too lazy to check myself when you already have verified setup :))?

@EugenMayer
Copy link
Author

You really need a docker/packer or chef/test-kitchen ci to test your stuff :)

I would be fairly easy to run with chef/test-kitchen and inspec. Are you particularly interested in such - might try to contribute this. (i will open a different issue for discussion if you are in on this).

For the issue:

(root:php7)➜  www  apt-cache search php7.1-fpm
php7.1-cgi - server-side, HTML-embedded scripting language (CGI binary)
php7.1-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php7.1-fpm-dbgsym - Debug symbols for php7.1-fpm

Yes, all there! Thank you a lot

@oerdnj
Copy link
Owner

oerdnj commented Dec 21, 2016

Thanks for the confirmation.

@oerdnj oerdnj closed this as completed Dec 21, 2016
@Gamesh
Copy link

Gamesh commented May 13, 2017

Can we reopen this as there are no debug symbols for PHP 7.1.4 or PHP 7.1.5?

@oerdnj oerdnj reopened this May 13, 2017
@oerdnj
Copy link
Owner

oerdnj commented May 13, 2017

Ok, couple of builds later:

php7.0-fpm-dbgsym:
  Installed: (none)
  Candidate: 7.0.19-1+0~20170513113901.30+jessie~1.gbpff7ec9
  Version table:
     7.0.19-1+0~20170513113901.30+jessie~1.gbpff7ec9 0
        500 http://packages.sury.org/php/ jessie/main amd64 Packages
php7.0-fpm:
  Installed: (none)
  Candidate: 7.0.19-1+0~20170513113901.30+jessie~1.gbpff7ec9
  Version table:
     7.0.19-1+0~20170513113901.30+jessie~1.gbpff7ec9 0
        500 http://packages.sury.org/php/ jessie/main amd64 Packages

@oerdnj oerdnj closed this as completed May 13, 2017
@oerdnj
Copy link
Owner

oerdnj commented May 13, 2017

The PHP 7.1 is still building.

@Gamesh
Copy link

Gamesh commented May 15, 2017

got everything installed as needed. @oerdnj thank you very much for support and quick response

@twobombs
Copy link

reopened: current 7.1-fpm release also looks like it doesn't have dbg symbols:
Screenshot 2019-06-25 at 16 18 58

@oerdnj
Copy link
Owner

oerdnj commented Jun 25, 2019

Well, @twobombs, how can you tell that from php -v output? You actually need to install the debug symbols from a separate package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants