Any idea who might be able to help guide me with this?
I haven't had luck yet compiling mysql-server with debug symbols. Although I've added -DWITH_DEBUG=1 to debian/rules build, when dh_strip runs it says that the packages have already been stripped. ddebs are not being built in /var/cache/pbuilder/result/. Based on that I think -DWITH_DEBUG=1 isn't taking effect. I confirmed -DWITH_DEBUG=1 is the correct option (http://dev.mysql.com/doc/refman//5.5/en/compiling-for-debugging.html). Any thoughts?
Any idea who might be able to help guide me with this?
I haven't had luck yet compiling mysql-server with debug symbols. Although I've added -DWITH_DEBUG=1 to debian/rules build, when dh_strip runs it says that the packages have already been stripped. ddebs are not being built in /var/cache/ pbuilder/ result/ . Based on that I think -DWITH_DEBUG=1 isn't taking effect. I confirmed -DWITH_DEBUG=1 is the correct option (http:// dev.mysql. com/doc/ refman/ /5.5/en/ compiling- for-debugging. html). Any thoughts?
Here's the steps I'm taking:
# apt-get source mysql-server
Add -DWITH_DEBUG=1 to debian/rules
# grep -C2 DEBUG mysql-5. 5-5.5.24/ debian/ rules
-DWITH_ ARCHIVE_ STORAGE_ ENGINE= ON \
-DWITH_ BLACKHOLE_ STORAGE_ ENGINE= ON \
-DWITH_ DEBUG=1 \
-DWITH_ FEDERATED_ STORAGE_ ENGINE= ON \
-DWITH_ EXTRA_CHARSETS= all ..'
# pbuilder create --debootstrapopts --variant=buildd 5_5.5.24- 0ubuntu0. 12.04.1. dsc 2>&1 | tee /tmp/pbuildlog
# pbuilder --update --extrapackages pkg-create-dbgsym
# pbuilder build mysql-5.
# grep strip /tmp/pbuildlog core-5. 5 mysql-client-5.5 mysql-server- core-5. 5 mysql-server-5.5 mysql-testsuite-5.5 mysql-source-5.5 core-5. 5 mysql-client-5.5 mysql-server- core-5. 5 mysql-server-5.5 mysql-testsuite-5.5 mysql-source-5.5 core-5. 5 is already stripped, ignoring core-5. 5 is already stripped, ignoring
dh_strip -a
dh_strip debug symbol extraction: all non-arch-all packages for this build platform amd64: libmysqlclient18 libmysqld-pic libmysqld-dev libmysqlclient-dev mysql-client-
dh_strip debug symbol extraction: packages to act on: libmysqlclient18 libmysqld-pic libmysqld-dev libmysqlclient-dev mysql-client-
dh_strip debug symbol extraction: ignored packages:
libmysqlclient18 is already stripped, ignoring
libmysqld-pic is already stripped, ignoring
libmysqld-dev is already stripped, ignoring
libmysqlclient-dev is already stripped, ignoring
mysql-client-
mysql-client-5.5 is already stripped, ignoring
mysql-server-
mysql-server-5.5 is already stripped, ignoring
mysql-testsuite-5.5 is already stripped, ignoring
mysql-source-5.5 is already stripped, ignoring