Bug 12558 - No debugsrc is collected for static libraries
Summary: No debugsrc is collected for static libraries
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.5
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.5 M4
Assignee: Stephano Cetola
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-19 08:33 UTC by Ola Nilsson
Modified: 2018-04-19 08:51 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Suggested patch to package.bbclass (4.39 KB, patch)
2018-02-19 08:33 UTC, Ola Nilsson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ola Nilsson 2018-02-19 08:33:11 UTC
Created attachment 4215 [details]
Suggested patch to package.bbclass

Recipes producing static libraries will not necessarily include the source code for those libraries in their dbg packages. 

The debugsource must be added from the package providing the static
lib, because any package using that lib does not have access to the
source code.

I'm attaching a patch with a suggested solution.
Comment 1 Ross Burton 2018-02-22 15:57:45 UTC
Can you submit the patch to the oe-core mailing list?
Comment 2 Ola Nilsson 2018-02-23 07:49:51 UTC
(In reply to comment #1)
> Can you submit the patch to the oe-core mailing list?

Done.
Comment 3 Stephano Cetola 2018-02-23 23:17:27 UTC
(In reply to comment #2)
> Done.
Thank you Ola!
Comment 4 Stephano Cetola 2018-04-19 08:51:00 UTC
https://patchwork.openembedded.org/patch/150215/