mysql-server debug symbols
Matt Rae
mattrae at gmail.com
Fri Jun 15 18:54:14 UTC 2012
Hi, somehow I need debug symbols for mysql-server for making a
complete backtrace.
No -dbg package or ddebs exist on ddebs.ubuntu.org for mysql-server.
I've followed 2 methods that work with other packages but not mysql.
steps from here
http://askubuntu.com/questions/41610/how-do-i-rebuild-a-package-to-include-debugging-information:
apt-get install devscripts fakeroot
apt-get build-dep mysql-server
export DEB_BUILD_OPTIONS="debug nostrip noopt"
fakeroot apt-get source -b mysql-server
and with pbuilder, building packages after installing
pkg-create-dbgsym in the pbuilder chroot:
apt-get source mysql-server
pbuilder create --debootstrapopts --variant=buildd
pbuilder --update --extrapackages pkg-create-dbgsym
pbuilder build mysql-5.5_5.5.24-0ubuntu0.12.04.1.dsc
Can anyone suggest a method that is confirmed to work for
mysql-server? or see why the suggested methods don't work?
If there are steps to download the source pkg, make sure the right
patches are applied and compile mysql with -g myself, that would
suffice.
Matt
More information about the Ubuntu-devel-discuss
mailing list