Bug 9578 - INHIBIT_PACKAGE_STRIP breaks -dbg
Summary: INHIBIT_PACKAGE_STRIP breaks -dbg
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1.1
Hardware: All Multiple
: Medium normal
Target Milestone: 2.2
Assignee: Stephano Cetola
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-05-03 15:47 UTC by Ray Kinsella
Modified: 2016-06-13 16:26 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Kinsella 2016-05-03 15:47:19 UTC
If I set try to set both INHIBIT_PACKAGE_STRIP and install -dbg package, I end up with un-expected behavior.

An example of this is show below, you will see the -dbg version of busybox is now empty because I set INHIBIT_PACKAGE_STRIP. There is no reason why inhibiting the stripping of symbols at a system level should change the behaviour or contents of a debug package. 


[11:36 ][silv-debian7-yocto-build 40] yocto_build > oe-pkgdata-util list-pkg-files -p busybox
busybox:
        /bin/busybox
        /bin/busybox.nosuid
        /bin/busybox.suid
        /bin/sh
        /etc/busybox.links.nosuid
        /etc/busybox.links.suid
busybox-dbg:
busybox-dev:
busybox-hwclock:
        /etc/init.d/hwclock.sh
busybox-syslog:
        /etc/init.d/syslog.busybox
        /etc/syslog-startup.conf.busybox
        /etc/syslog.conf.busybox
busybox-udhcpc:
        /etc/udhcpc.d/50default
        /usr/share/udhcpc/default.script
busybox-udhcpd:
        /etc/init.d/busybox-udhcpd
Comment 1 Ross Burton 2016-05-03 15:50:48 UTC
So I wonder if its possible to still have sources in a dbg package when INHIBIT_PACKAGE_STRIP is enabled.  At least, the documentation needs to be clear about what this variable does.
Comment 2 Ray Kinsella 2016-05-24 21:20:32 UTC
I don't know why the two would be mutually exclusive.