Bug 9998 - packaging: src separately from dbg
Summary: packaging: src separately from dbg
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.4
Assignee: Juan Manuel Cruz Alcaraz
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-22 08:39 UTC by Patrick Ohly
Modified: 2017-08-22 14:44 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Ohly 2016-07-22 08:39:32 UTC
Right now, PACKAGE_DEBUG_SPLIT_STYLE can only package source together with debug data (modes debug-file-directory and the default mode) or exclude the source code from packaging (debug-without-src).

Please consider adding modes where source code is packaged in a separate package ("-src") instead of getting included in the -dbg package. This may be useful both for the ".debug" and the "debug-file-directory" style.

The motivation for that is the observation that installing valgrind installs libc6-dbg = glibc-dbg, which (in the default mode) contains the entire glibc source code.

The source code is not needed when using valgrind, only the debug symbols are. But choosing debug-without-src is not a good solution, because packaging source code is useful for other cases.