libdpdk0 should provide a package for debug symbols
Bug #1560839 reported by
Christian Ehrhardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpdk (Ubuntu) |
Fix Released
|
High
|
Christian Ehrhardt |
Bug Description
DPDK is great but still bleeding edge from time to time.
So debugging is likely to happen at some point.
Therefore it would be great to have an explicit -dbg or implicit -dbgsyms package such with debug symbols for DPDK 2.2 in Xenial.
Changed in dpdk (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → ChristianEhrhardt (paelzer) |
To post a comment you must log in.
diff --git a/debian/control b/debian/control
index 60cf704..61e3475 100644
--- a/debian/control
+++ b/debian/control
@@ -79,3 +79,16 @@ Description: Data Plane Development Kit (basic
development files)
This package contains the basic headers and library files required to
build external applications which will also require at least SSE3 support
when running.
+
+Package: libdpdk-dbg
+Priority: extra
+Section: debug
+Architecture: amd64 i386
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libdpdk0 (= ${binary:Version}), ${misc:Depends}
+Description: Data Plane Development Kit (basic development files)
+ DPDK is a set of libraries for fast packet processing. Applications run
+ in user-space and communicate directly with dedicated network interfaces.
+ This package contains the debug symbols for the DPDK library. Install it
+ to debug the library or to examine a core dump.
diff --git a/debian/rules b/debian/rules
index df81ece..92f35ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,7 @@ build-indep: build-config
build-arch: build-config STATIC_ DIR) build STATIC_ DIR) EXTRA_CFLAGS='-g' build BUILD_SHARED_ LIB=).* ,\1y,' \
$(DPDK_ SHARED_ DIR)/.config SHARED_ DIR) build SHARED_ DIR) EXTRA_CFLAGS='-g' build
dh_testdir
- $(MAKE) O=$(DPDK_
+ $(MAKE) O=$(DPDK_
# Unfortunately the decision about having static or shared
libraries is
# made for the whole build, which then produces only .a or .so
files
# (but not both).
@@ -59,7 +59,7 @@ build-arch: build-config
cp -a $(DPDK_STATIC_DIR) $(DPDK_SHARED_DIR)
sed -ri 's,(RTE_
- $(MAKE) O=$(DPDK_
+ $(MAKE) O=$(DPDK_
build: build-arch build-indep
@@ -145,7 +145,7 @@ binary-arch: libdpdk- dbg
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_link
dh_compress
dh_fixperms
- dh_strip
+ dh_strip --dbg-package=