php-debuginfo
php-debuginfo
Can I request that a php-debuginfo package be generated with the next PHP release please?
I did request it through the support portal relating to an issue I'm having, but have now been asked to post it on the forum.
Thanks
I did request it through the support portal relating to an issue I'm having, but have now been asked to post it on the forum.
Thanks
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: php-debuginfo
mkay
Re: php-debuginfo
Hi Scott,
I just updated today with the latest PHP release... any chance the php-debuginfo package can be rolled for this version?
Thanks
I just updated today with the latest PHP release... any chance the php-debuginfo package can be rolled for this version?
Thanks
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: php-debuginfo
afraid it doesnt look like it can be done any more.
Re: php-debuginfo
Pity - any other suggestions as to nail down what from PHP is causing a segfault on a multi-vhost system?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: php-debuginfo
If you want to take a crack at it, you can enable-debug in the source rpm and then rebuild it. Otherwise, Id start backing out all the modules one by one to see if you can narrow the search.
Re: php-debuginfo
Hi Scott,
Back to this again - I'm getting more and more intermittent segfaults and need to get the source pinned down to resolve it.
Having never compiled my own version of PHP, do you have any pointers on how to proceed from here?
I'd ideally like to include all of the tweaks and fixes that you have included in your version - is your source available? Or must I use the official PHP sources?
I'm guessing at https://www6.atomicorp.com/channels/sou ... rt.src.rpm but I believe I also need a "spec" file?
Which should I be using from https://www6.atomicorp.com/channels/source/php/
Any help you can offer would be appreciated.
Back to this again - I'm getting more and more intermittent segfaults and need to get the source pinned down to resolve it.
Having never compiled my own version of PHP, do you have any pointers on how to proceed from here?
I'd ideally like to include all of the tweaks and fixes that you have included in your version - is your source available? Or must I use the official PHP sources?
I'm guessing at https://www6.atomicorp.com/channels/sou ... rt.src.rpm but I believe I also need a "spec" file?
Which should I be using from https://www6.atomicorp.com/channels/source/php/
Any help you can offer would be appreciated.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: php-debuginfo
Yup thats it, I believe you have to enable the debug symbols in the package itself. Its a little different from the way it used to be now, so I dont know the exact way to get it in place with 5.3 like I did with 5.1.
Re: php-debuginfo
I don't know if you checked it already but maybe Valgrind or gdb is something for you?
Re: php-debuginfo
Thanks BruceLee - I'm attempting to use gdb, however it needs the debug symbols for PHP to narrow it down to the causing file.
Not heard of Valgrind, but will take a look at it now.
Scott, I'll try it out when I next get the chance and hopefully pinpoint the issue.
Thanks
Not heard of Valgrind, but will take a look at it now.
Scott, I'll try it out when I next get the chance and hopefully pinpoint the issue.
Thanks
Re: php-debuginfo
OK, finally got my head round building my own PHP version built with the --enable-debug flag
So far, this is what I did:
Searching Google, I believe xorg-x11-devel has been split up into modules of xorg-x11-*-devel
Stumbling at the last hurdle, but can anyone point me as to how to resolve this last dependancy?
So far, this is what I did:
- Downloaded the latest php-*.src.rpm file from https://www6.atomicorp.com/channels/source/php/
- Downloaded the latest php.spec file from https://www6.atomicorp.com/channels/source/php/
- Installed the source with
Code: Select all
rpm -i php-*.src.rpm
- Edited the spec file to change to
Code: Select all
--disable-debug
Code: Select all
--enable-debug
- Installed rpm-build with yum
- Ran rpmbuild php.spec
- Was presented with a list of dependencies
- Resolved all but one dependency (60 in total for me ~28MB)
Code: Select all
rpmbuild -ba php.spec
error: /root/php/php.spec:729: parseExpressionBoolean returns -1
error: Failed build dependencies:
xorg-x11-devel is needed by php-5.3.21-14.x86_64
Code: Select all
No package xorg-x11-devel available.
Stumbling at the last hurdle, but can anyone point me as to how to resolve this last dependancy?
Re: php-debuginfo
I think you have to change that part as well since the package xorg-x11-devel was changed to many single packages
which will also lead to other dependencies. see this post:
http://www.centos.org/modules/newbb/vie ... 0&forum=37
Maybe Scott can clarify if thats the best way to go.
which will also lead to other dependencies. see this post:
http://www.centos.org/modules/newbb/vie ... 0&forum=37
Maybe Scott can clarify if thats the best way to go.
Re: php-debuginfo
Yeah, that's the post I found too - but since this is an up to date php build and spec file, I assume the dependencies can somehow be resolved?BruceLee wrote: I think you have to change that part as well since the package xorg-x11-devel was changed to many single packages
which will also lead to other dependencies. see this post:
http://www.centos.org/modules/newbb/vie ... 0&forum=37
Or does xorg-x11-devel become marked as installed when all of the separate single packages are installed too?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: php-debuginfo
save yourself some time, and build this with mock
Re: php-debuginfo
OK, here was me thinking I was making progress too!
I've downloaded mock and configured user access etc, but even more confused now.
I assumed you needed a src.rpm file and a spec file to build an installable rpm file?
I have the src.rpm file installed and the php.spec file, but not sure what I've to do with mock?
Its options are either to build a new src.rpm file with --buildsrpm and specify a spec file - or rebuild with --rebuild.
Confused here now... Scott, can you help with some guidance?
Thanks
I've downloaded mock and configured user access etc, but even more confused now.
I assumed you needed a src.rpm file and a spec file to build an installable rpm file?
I have the src.rpm file installed and the php.spec file, but not sure what I've to do with mock?
Its options are either to build a new src.rpm file with --buildsrpm and specify a spec file - or rebuild with --rebuild.
Confused here now... Scott, can you help with some guidance?
Thanks