[oe] [PATCH 00/19] 19 recipes to split one dpg package only

Andreas Müller schnitzeltony at gmail.com
Mon Sep 17 18:40:10 UTC 2018


On Mon, Sep 17, 2018 at 6:19 PM, Hongxu Jia <hongxu.jia at windriver.com> wrote:
> On 2018年09月18日 00:02, Martin Jansa wrote:
>>
>> Would it make sense to do the same for -dev packages while you're at it? I
>> guess that in most cases it will be used in the same recipes.
>
>
> The reason why focusing on *-dbg packages is
> [reason]
> Since `da5ec06 package: Add auto package splitting
> of .debug files' applied in oe-core, the first dbg
> package will have all debug files automatically.
>
> If there are several sub dbg packages, except the
> first one, the others are empty.
> [reason]
>
> While a sub `empty' dbg package installed, `gdb ***'
> could not finding debug symbol
>
> But dev packages do not have the similar problem.
>
> BTW, RP rethinks to improve debug package dependency
> handling in 2.7, so use one dbg package per recipe to align
> with oe-core could reduce further improvement risk.
>
> //Hongxu
>
>>
>> On Mon, Sep 17, 2018 at 5:55 PM Hongxu Jia <hongxu.jia at windriver.com
>> <mailto:hongxu.jia at windriver.com>> wrote:
>>
>>     Hi Khem,
>>
>>     As RP replied in previously oe-core mailing, one dbg package is
>>     recommended, so I tweak them in oe one by one.
>>
>>     This pull request is one patch per recipe rather than merge them as
>>     a large one, it may add your merging burden, but it is helpful for
>>     reviewing
>>     and rework any of them without resend all.
>>
>>     But if you prefer one patch, I could resend V2.
>>
>>     //Hongxu
>>     The following changes since commit
>>     a06c29be2f5bc204f965ee07298c34232c5c39fc:
>>
>>       klibc: fix build with GCC and -pie for mips, mips64, aarch64
>>     (2018-09-15 07:37:11 -0700)
>>
>>     are available in the git repository at:
>>
>>       git://git.openembedded.org/openembedded-core-contrib
>>     <http://git.openembedded.org/openembedded-core-contrib>
>>     hongxu/dbg-split
>>
>> http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/dbg-split
>>
>>     Hongxu Jia (19):
>>       fuse: split one dpg package only
>>       libtevent: split one dpg package
>>       libtdb: split one dpg package
>>       libtalloc: split one dpg package
>>       isomd5sum: split one dpg package
>>       gnuplot: split one dpg package
>>       scsirastools: split one dpg package
>>       konkretcmpi: split one dpg package
>>       gpsd: split one dpg package
>>       wvstreams: split one dpg package
>>       fontforge: split one dpg package
>>       xerces-c: split one dpg package
>>       v4l-utils: split one dpg package
>>       lmsensors: split one dpg package
>>       dbench: split one dpg package
>>       postgresql: split one dpg package
>>       mariadb: split one dpg package
>>       pidgin: split one dpg package
>>       syslog-ng: split one dpg package
>>
>>      .../recipes-support/fuse/fuse_2.9.8.bb <http://fuse_2.9.8.bb>
>>            |  8 +--
>>      .../recipes-support/libtalloc/libtalloc_2.1.14.bb
>>     <http://libtalloc_2.1.14.bb> |  6 +-
>>      .../recipes-support/libtdb/libtdb_1.3.16.bb
>>     <http://libtdb_1.3.16.bb>       |  5 +-
>>      .../recipes-support/libtevent/libtevent_0.9.37.bb
>>     <http://libtevent_0.9.37.bb> |  5 +-
>>      meta-oe/recipes-benchmark/dbench/dbench_4.0.bb
>>     <http://dbench_4.0.bb>     |  5 +-
>>      meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb
>>     <http://lmsensors_3.4.0.bb> | 15 ++---
>>      .../recipes-connectivity/wvdial/wvstreams_4.6.1.bb
>>     <http://wvstreams_4.6.1.bb> | 14 ++--
>>      meta-oe/recipes-dbs/mysql/mariadb.inc              |  9 ++-
>>      meta-oe/recipes-dbs/postgresql/postgresql.inc      | 74
>>     ++++++----------------
>>      .../recipes-devtools/xerces-c/xerces-c_3.1.4.bb
>>     <http://xerces-c_3.1.4.bb>   |  8 +--
>>      meta-oe/recipes-extended/gnuplot/gnuplot_5.2.2.bb
>>     <http://gnuplot_5.2.2.bb> |  6 +-
>>      .../recipes-extended/isomd5sum/isomd5sum_1.2.3.bb
>>     <http://isomd5sum_1.2.3.bb> |  5 +-
>>      .../konkretcmpi/konkretcmpi_0.9.2.bb
>>     <http://konkretcmpi_0.9.2.bb>              |  5 +-
>>      .../scsirastools/scsirastools_1.6.6.bb
>>     <http://scsirastools_1.6.6.bb>            |  8 +--
>>      .../fontforge/fontforge_20170731.bb
>>     <http://fontforge_20170731.bb>               |  5 +-
>>      .../v4l2apps/v4l-utils_1.12.3.bb <http://v4l-utils_1.12.3.bb>
>>                  |  5 +-
>>      meta-oe/recipes-navigation/gpsd/gpsd_3.17.bb
>>     <http://gpsd_3.17.bb>      |  6 +-
>>      meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb
>>     <http://pidgin_2.12.0.bb>   |  9 +--
>>      meta-oe/recipes-support/syslog-ng/syslog-ng.inc    |  4 +-
>>      19 files changed, 81 insertions(+), 121 deletions(-)
>>
>>     --     2.7.4
>>
You know that this explodes image size - because dbg package RDEPENDS
on all non debug packages now - or did I miss something.

E.G fontforge: We need all the python-dbg in the iamge now

With this images with dbg-packages turn into non usable.

Haven't got the point what gets better by doing so

Andreas



More information about the Openembedded-devel mailing list