Skip to contentSkip to conversation

19 recipes to split one dpg package only

PATCH In review Hongxu Jia 4 participants 27 messages Sep 17, 2018 – Sep 18, 2018

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover 19 recipes to split one dpg package only

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 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             |  8 +--
 .../recipes-support/libtalloc/libtalloc_2.1.14.bb  |  6 +-
 .../recipes-support/libtdb/libtdb_1.3.16.bb        |  5 +-
 .../recipes-support/libtevent/libtevent_0.9.37.bb  |  5 +-
 meta-oe/recipes-benchmark/dbench/dbench_4.0.bb     |  5 +-
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb  | 15 ++---
 .../recipes-connectivity/wvdial/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    |  8 +--
 meta-oe/recipes-extended/gnuplot/gnuplot_5.2.2.bb  |  6 +-
 .../recipes-extended/isomd5sum/isomd5sum_1.2.3.bb  |  5 +-
 .../konkretcmpi/konkretcmpi_0.9.2.bb               |  5 +-
 .../scsirastools/scsirastools_1.6.6.bb             |  8 +--
 .../fontforge/fontforge_20170731.bb                |  5 +-
 .../v4l2apps/v4l-utils_1.12.3.bb                   |  5 +-
 meta-oe/recipes-navigation/gpsd/gpsd_3.17.bb       |  6 +-
 meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb    |  9 +--
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc    |  4 +-
 19 files changed, 81 insertions(+), 121 deletions(-)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/19 fuse: split one dpg package only

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb +4 -4
index 1815aa5..caa75c7 100644
@@ -31,7 +31,9 @@ SYSTEMD_SERVICE_${PN} = ""
 
 DEPENDS = "gettext-native"
 
-PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg"
+PACKAGES =+ "fuse-utils libulockmgr libulockmgr-dev"
+
+RPROVIDES_${PN}-dbg += "fuse-utils-dbg libulockmgr-dbg"
 
 RRECOMMENDS_${PN}_class-target = "kernel-module-fuse libulockmgr fuse-utils"
 
@@ -40,13 +42,11 @@ FILES_${PN}-dev += "${libdir}/libfuse*.la"
 
 FILES_libulockmgr = "${libdir}/libulockmgr.so.*"
 FILES_libulockmgr-dev += "${libdir}/libulock*.la"
-FILES_libulockmgr-dbg += "${libdir}/.debug/libulock*"
 
 # Forbid auto-renaming to libfuse-utils
 FILES_fuse-utils = "${bindir} ${base_sbindir}"
-FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug"
 DEBIAN_NOAUTONAME_fuse-utils = "1"
-DEBIAN_NOAUTONAME_fuse-utils-dbg = "1"
+DEBIAN_NOAUTONAME_${PN}-dbg = "1"
 
 do_configure_prepend() {
     # Make this explicit so overriding base_sbindir propagates properly.
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/19 libtevent: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-networking/recipes-support/libtevent/libtevent_0.9.37.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-networking/recipes-support/libtevent/libtevent_0.9.37.bb +3 -2
index ee8b7fd..4df251c 100644
@@ -39,7 +39,8 @@ EXTRA_OECONF += "--disable-rpath \
                  --without-gettext \
                 "
 
-PACKAGES += "python-tevent python-tevent-dbg"
+PACKAGES += "python-tevent"
+
+RPROVIDES_${PN}-dbg += "python-tevent-dbg"
 
 FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
-FILES_python-tevent-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug"
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH 3/19 libtdb: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-networking/recipes-support/libtdb/libtdb_1.3.16.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-networking/recipes-support/libtdb/libtdb_1.3.16.bb +3 -2
index 112e89e..0579ed6 100644
@@ -35,10 +35,11 @@ EXTRA_OECONF += "--disable-rpath \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                 "
 
-PACKAGES += "tdb-tools python-tdb python-tdb-dbg"
+PACKAGES += "tdb-tools python-tdb"
+
+RPROVIDES_${PN}-dbg += "python-tdb-dbg"
 
 FILES_${PN} = "${libdir}/*.so.*"
 FILES_tdb-tools = "${bindir}/*"
 FILES_python-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
-FILES_python-tdb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*"
 RDEPENDS_python-tdb = "python"
Signature · 1 line
2.7.4
author
#4 lore raw

PATCH 4/19 libtalloc: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-networking/recipes-support/libtalloc/libtalloc_2.1.14.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/recipes-support/libtalloc/libtalloc_2.1.14.bb +3 -3
index 89aea20..9a463a6 100644
@@ -37,13 +37,13 @@ EXTRA_OECONF += "--disable-rpath \
                  --with-libiconv=${STAGING_DIR_HOST}${prefix}\
                 "
 
-PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev"
+PACKAGES += "pytalloc pytalloc-dev"
+
+RPROVIDES_${PN}-dbg += "pytalloc-dbg"
 
 FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \
                   ${libdir}/libpytalloc-util.so.2 \
                   ${libdir}/libpytalloc-util.so.2.1.1 \
                  "
-FILES_pytalloc-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \
-                      ${libdir}/.debug/libpytalloc-util.so.2.1.1"
 FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so"
 RDEPENDS_pytalloc = "python"
Signature · 1 line
2.7.4
author
#5 lore raw

PATCH 5/19 isomd5sum: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.3.bb +3 -2
index d88df5b..83e8385 100644
@@ -25,10 +25,11 @@ do_install () {
     oe_runmake install
 }
 
-PACKAGES += "${PYTHON_PN}-${PN} ${PYTHON_PN}-${PN}-dbg"
+PACKAGES += "${PYTHON_PN}-${PN}"
+
+RPROVIDES_${PN}-dbg += "${PYTHON_PN}-${PN}-dbg"
 
 FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so"
-FILES_${PYTHON_PN}-${PN}-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug/pyisomd5sum.so"
 
 SRCREV = "7860901f726f5d92689cb67243cc7f981f21f74b"
 
Signature · 1 line
2.7.4
author
#6 lore raw

PATCH 6/19 gnuplot: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-extended/gnuplot/gnuplot_5.2.2.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/gnuplot/gnuplot_5.2.2.bb +4 -2
index 4cc289d..f9fd8ae 100644
@@ -60,10 +60,12 @@ do_install_append_class-target() {
     install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
 }
 
-PACKAGES =+ "${PN}-x11-dbg ${PN}-x11"
+PACKAGES =+ "${PN}-x11"
+
+RPROVIDES_${PN}-dbg += "${PN}-x11-dbg"
+
 DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot."
 SECTION_${PN}-x11 = "x11/scientific"
 FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 "
 
 FILES_${PN} += "${datadir}/texmf"
-FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug"
Signature · 1 line
2.7.4
author
#7 lore raw

PATCH 7/19 scsirastools: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb +3 -5
index e202d16..77d3cfe 100644
@@ -33,16 +33,14 @@ INITSCRIPT_PARAMS_${PN}-diskmon = "defaults 80 20"
 INITSCRIPT_NAME_${PN}-raidmon = "sgraid"
 INITSCRIPT_PARAMS_${PN}-raidmon = "defaults 80 20"
 
-PACKAGES =+ "${PN}-diskmon ${PN}-diskmon-dbg"
-PACKAGES =+ "${PN}-raidmon ${PN}-raidmon-dbg"
+PACKAGES =+ "${PN}-diskmon"
+PACKAGES =+ "${PN}-raidmon"
 
-FILES_${PN}-dbg += "/usr/share/scsirastools/.debug"
+RPROVIDES_${PN}-dbg += "${PN}-diskmon-dbg ${PN}-raidmon-dbg"
 
 FILES_${PN}-diskmon = "${sbindir}/sgdiskmon ${sysconfdir}/init.d/sgdisk"
-FILES_${PN}-diskmon-dbg = "${sbindir}/.debug/sgdiskmon"
 
 FILES_${PN}-raidmon = "${sbindir}/sgraidmon ${sysconfdir}/init.d/sgraid"
-FILES_${PN}-raidmon-dbg = "${sbindir}/.debug/sgraidmon"
 
 RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN}-diskmon += "${PN}"
Signature · 1 line
2.7.4
author
#8 lore raw

PATCH 8/19 konkretcmpi: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb +3 -2
index 0f798d2..f62cf6b 100644
@@ -30,9 +30,10 @@ do_install_append() {
     rm -rf ${D}${datadir}
 }
 
-PACKAGES =+ "${PN}-python ${PN}-python-dbg"
+PACKAGES =+ "${PN}-python"
+
+RPROVIDES_${PN}-dbg += "${PN}-python-dbg"
 
 FILES_${PN}-python = "${libdir}/python2.7/site-packages/konkretmof.py* ${libdir}/python2.7/site-packages/_konkretmof.so"
-FILES_${PN}-python-dbg = "${libdir}/python2.7/site-packages/.debug/*"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
author
#9 lore raw

PATCH 9/19 gpsd: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-navigation/gpsd/gpsd_3.17.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-navigation/gpsd/gpsd_3.17.bb +3 -3
index d526db2..e823e42 100644
@@ -84,13 +84,13 @@ do_install_append() {
     install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
 }
 
-PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
+PACKAGES =+ "libgps libgpsd python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
+
+RPROVIDES_${PN}-dbg += "python-pygps-dbg"
 
 FILES_${PN}-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc \
                     ${libdir}/libQgpsmm.prl"
 
-FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
-
 RDEPENDS_${PN} = "gpsd-gpsctl"
 RRECOMMENDS_${PN} = "gpsd-conf gpsd-udev gpsd-machine-conf"
 
Signature · 1 line
2.7.4
author
#10 lore raw

PATCH 10/19 wvstreams: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb +6 -8
index 293949d..b9f62da 100644
@@ -36,23 +36,21 @@ LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
 
 EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
 
-PACKAGES_prepend = "libuniconf libuniconf-dbg "
-PACKAGES_prepend = "uniconfd uniconfd-dbg "
-PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
-PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "
+PACKAGES_prepend = "libuniconf "
+PACKAGES_prepend = "uniconfd "
+PACKAGES_prepend = "libwvstreams-base "
+PACKAGES_prepend = "libwvstreams-extras "
 PACKAGES_prepend = "${PN}-valgrind "
 
+RPROVIDES_${PN}-dbg += "libuniconf-dbg uniconfd-dbg libwvstreams-base-dbg libwvstreams-extras-dbg"
+
 FILES_libuniconf     = "${libdir}/libuniconf.so.*"
-FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"
 
 FILES_uniconfd     = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf"
-FILES_uniconfd-dbg = "${sbindir}/.debug/uniconfd"
 
 FILES_libwvstreams-base     = "${libdir}/libwvutils.so.*"
-FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"
 
 FILES_libwvstreams-extras     = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
-FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"
 
 FILES_${PN}-valgrind = "${libdir}/valgrind/wvstreams.supp"
 RDEPENDS_${PN} += "perl"
Signature · 1 line
2.7.4
author
#11 lore raw

PATCH 11/19 fontforge: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-graphics/fontforge/fontforge_20170731.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/fontforge/fontforge_20170731.bb +3 -2
index 481fedf..947d36e 100644
@@ -45,7 +45,9 @@ EOF
     cd $currdir
 }
 
-PACKAGES =+ "${PN}-python-dbg ${PN}-python"
+PACKAGES =+ "${PN}-python"
+
+RPROVIDES_${PN}-dbg += "${PN}-python-dbg"
 
 FILES_${PN} += " \
     ${datadir}/mime \
@@ -53,7 +55,6 @@ FILES_${PN} += " \
 "
 
 FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${PN}/python"
-FILES_${PN}-python-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug"
 RDEPENDS_${PN}-python = "python"
 
 # for e.g kde's oxygen-fonts
Signature · 1 line
2.7.4
author
#12 lore raw

PATCH 12/19 xerces-c: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +2 -6
index 9bc4ea3..caf2661 100644
@@ -24,24 +24,20 @@ do_install_prepend () {
 }
 
 PACKAGES = "libxerces-c \
-    libxerces-c-dbg \
     libxerces-c-dev \
     xerces-c-samples \
-    xerces-c-samples-dbg \
     libxerces-c-staticdev \
 "
 
+RPROVIDES_${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg"
+
 FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so"
-FILES_libxerces-c-dbg = "${libdir}/.debug \
-    ${prefix}/src/debug \
-"
 FILES_libxerces-c-dev = "${libdir}/lib*.la \
     ${libdir}/libxerces-c.so \
     ${libdir}/pkgconfig/xerces-c.pc \
     ${includedir}/xercesc \
 "
 FILES_xerces-c-samples = "${bindir}/*"
-FILES_xerces-c-samples-dbg = "${bindir}/.debug/"
 FILES_libxerces-c-staticdev = "${libdir}/lib*.a"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#13 lore raw

Re: [PATCH 12/19] xerces-c: split one dpg package

Quoted 23 lines · Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +0 -1
index 9bc4ea3..caf2661 100644
@@ -24,24 +24,20 @@ do_install_prepend () {
 }
 
 PACKAGES = "libxerces-c \
-    libxerces-c-dbg \
     libxerces-c-dev \
     xerces-c-samples \

meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb do_install_prepend () { · line 37

Quoted 10 lines
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +2 -4
-    xerces-c-samples-dbg \
     libxerces-c-staticdev \
 "
 
+RPROVIDES_${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg"
+
 FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so"
-FILES_libxerces-c-dbg = "${libdir}/.debug \
-    ${prefix}/src/debug \
-"

results in errors

ERROR: xerces-c-3.1.4-r0 do_package: QA Issue: xerces-c:
Files/directories were installed but not shippe
/usr/src
/usr/bin/.debug
/usr/bin/.debug/StdInParse /usr/bin/.debug/XInclude /usr/bin/.debug/Redirect /usr/bin/.debug/PSVIWriter /usr/bin/.debug/CreateDOMDocument /usr/bin/.debug/MemParse /usr/bin/.debug/PParse /usr/bin/.debug/SAXPrint /usr/bin/.debug/DOMCount /usr/bin/.debug/SAXCount /usr/bin/.debug/SEnumVal /usr/bin/.debug/EnumVal /usr/bin/.debug/SCMPrint /usr/bin/.debug/SAX2Count /usr/bin/.debug/SAX2Print /usr/bin/.debug/DOMPrint
/usr/lib/.debug /usr/lib/.debug/libxerces-c-3.1.so /usr/src/debug
/usr/src/debug/xerces-c
/

Quoted 13 lines
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +0 -2
 FILES_libxerces-c-dev = "${libdir}/lib*.la \
     ${libdir}/libxerces-c.so \
     ${libdir}/pkgconfig/xerces-c.pc \
     ${includedir}/xercesc \
 "
 FILES_xerces-c-samples = "${bindir}/*"
-FILES_xerces-c-samples-dbg = "${bindir}/.debug/"
 FILES_libxerces-c-staticdev = "${libdir}/lib*.a"
 
 BBCLASSEXTEND = "native"
--

2.7.4

author
#14 lore raw

PATCH 13/19 v4l-utils: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb +3 -2
index 57cfb13..3bcbed8 100644
@@ -31,7 +31,9 @@ EXTRA_OECONF = "--disable-qv4l2 --enable-shared --with-udevdir=${base_libdir}/ud
 
 VIRTUAL-RUNTIME_ir-keytable-keymaps ?= "rc-keymaps"
 
-PACKAGES =+ "media-ctl ir-keytable rc-keymaps libv4l libv4l-dbg libv4l-dev"
+PACKAGES =+ "media-ctl ir-keytable rc-keymaps libv4l libv4l-dev"
+
+RPROVIDES_${PN}-dbg += "libv4l-dbg"
 
 FILES_media-ctl = "${bindir}/media-ctl ${libdir}/libmediactl.so.*"
 
@@ -46,7 +48,6 @@ FILES_libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv
                  ${libdir}/libdvbv5*${SOLIBS} \
                  ${libdir}/libv4l/*-decomp"
 
-FILES_libv4l-dbg += "${libdir}/libv4l/.debug ${libdir}/libv4l/plugins/.debug"
 FILES_libv4l-dev += "${includedir} ${libdir}/pkgconfig \
                      ${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \
                      ${libdir}/v4l*${SOLIBSDEV} ${libdir}/libv4l/*.la ${libdir}/libv4l/plugins/*.la"
Signature · 1 line
2.7.4
author
#15 lore raw

PATCH 14/19 lmsensors: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb +7 -8
index f235469..ffab5d6 100644
@@ -76,14 +76,16 @@ do_install() {
     fi
 }
 
+RPROVIDES_${PN}-dbg += "${PN}-libsensors-dbg ${PN}-sensors-dbg ${PN}-sensord-dbg ${PN}-isatools-dbg"
+
 # libsensors packages
-PACKAGES =+ "${PN}-libsensors ${PN}-libsensors-dbg ${PN}-libsensors-dev ${PN}-libsensors-staticdev ${PN}-libsensors-doc"
+PACKAGES =+ "${PN}-libsensors ${PN}-libsensors-dev ${PN}-libsensors-staticdev ${PN}-libsensors-doc"
 
 # sensors command packages
-PACKAGES =+ "${PN}-sensors ${PN}-sensors-dbg ${PN}-sensors-doc"
+PACKAGES =+ "${PN}-sensors ${PN}-sensors-doc"
 
 # sensord logging daemon
-PACKAGES =+ "${PN}-sensord ${PN}-sensord-dbg ${PN}-sensord-doc"
+PACKAGES =+ "${PN}-sensord ${PN}-sensord-doc"
 
 # fancontrol script
 PACKAGES =+ "${PN}-fancontrol ${PN}-fancontrol-doc"
@@ -98,11 +100,11 @@ PACKAGES =+ "${PN}-sensorsconfconvert ${PN}-sensorsconfconvert-doc"
 PACKAGES =+ "${PN}-pwmconfig ${PN}-pwmconfig-doc"
 
 # isadump and isaset helper program
-PACKAGES =+ "${PN}-isatools ${PN}-isatools-dbg ${PN}-isatools-doc"
+PACKAGES =+ "${PN}-isatools ${PN}-isatools-doc"
+
 
 # libsensors files
 FILES_${PN}-libsensors = "${libdir}/libsensors.so.* ${sysconfdir}/sensors3.conf ${sysconfdir}/sensors.d"
-FILES_${PN}-libsensors-dbg = "${libdir}/.debug ${prefix}/src/debug"
 FILES_${PN}-libsensors-dev = "${libdir}/libsensors.so ${includedir}"
 FILES_${PN}-libsensors-staticdev = "${libdir}/libsensors.a"
 FILES_${PN}-libsensors-doc = "${mandir}/man3"
@@ -110,13 +112,11 @@ RRECOMMENDS_${PN}-libsensors = "lmsensors-config-libsensors"
 
 # sensors command files
 FILES_${PN}-sensors = "${bindir}/sensors"
-FILES_${PN}-sensors-dbg = "${bindir}/.debug/sensors"
 FILES_${PN}-sensors-doc = "${mandir}/man1 ${mandir}/man5"
 RDEPENDS_${PN}-sensors = "${PN}-libsensors"
 
 # sensord logging daemon
 FILES_${PN}-sensord = "${sbindir}/sensord ${sysconfdir}/init.d/sensord ${systemd_unitdir}/system/sensord.service"
-FILES_${PN}-sensord-dbg = "${bindir}/.debug/sensord"
 FILES_${PN}-sensord-doc = "${mandir}/man8/sensord.8"
 RDEPENDS_${PN}-sensord = "${PN}-sensors rrdtool"
 RRECOMMENDS_${PN}-sensord = "lmsensors-config-sensord"
@@ -144,5 +144,4 @@ RDEPENDS_${PN}-pwmconfig = "${PN}-fancontrol"
 
 # isadump and isaset helper program files
 FILES_${PN}-isatools = "${sbindir}/isa*"
-FILES_${PN}-isatools-dbg = "${sbindir}/.debug/isa*"
 FILES_${PN}-isatools-doc = "${mandir}/man8/isa*"
Signature · 1 line
2.7.4
author
#16 lore raw

PATCH 15/19 dbench: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-benchmark/dbench/dbench_4.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-benchmark/dbench/dbench_4.0.bb +3 -2
index 1915e4c..fb6a96e 100644
@@ -14,12 +14,13 @@ SRC_URI = "\
 
 inherit autotools
 
-PACKAGES =+ "tbench tbench-dbg"
+PACKAGES =+ "tbench"
+
+RPROVIDES_${PN}-dbg += "tbench-dbg"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 FILES_tbench = "${bindir}/tbench* ${prefix}/share/client.txt"
-FILES_tbench-dbg += "${bindir}/.debug/tbench*"
 
 SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
 SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"
Signature · 1 line
2.7.4
author
#17 lore raw

PATCH 16/19 postgresql: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-dbs/postgresql/postgresql.inc | 74 +++++++--------------------
 1 file changed, 19 insertions(+), 55 deletions(-)
meta-oe/recipes-dbs/postgresql/postgresql.inc +19 -55
index 44a1b30..3bf71f0 100644
@@ -72,21 +72,19 @@ EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
 EXTRA_OECONF_sh4 += "--disable-spinlocks"
 EXTRA_OECONF_aarch64 += "--disable-spinlocks"
 
-PACKAGES_DYNAMIC += "^${PN}-plperl ^${PN}-plperl-dbg \
-    ^${PN}-pltcl ^${PN}-pltcl-dbg \
-    ^${PN}-plpython ^${PN}-plpython-dbg \
+PACKAGES_DYNAMIC += "^${PN}-plperl \
+    ^${PN}-pltcl \
+    ^${PN}-plpython \
 "
 
 python populate_packages_prepend() {
 
-    def fill_more(name, dbg=True):
+    def fill_more(name):
         if name is None or name.strip() == "":
             return
 
         fpack=d.getVar('PACKAGES', False) or ""
         fpack="${PN}-" + name + " " + fpack
-        if dbg:
-            fpack="${PN}-" + name + "-dbg" + " " + fpack
         d.setVar('PACKAGES', fpack)
 
     conf=(d.getVar('PACKAGECONFIG') or "").split()
@@ -205,13 +203,23 @@ SSTATE_SCAN_FILES += "Makefile.global"
 SSTATE_SCAN_FILES_remove = "*_config"
 
 PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
-    libecpg-compat-dbg libecpg-compat libecpg-compat-dev \
-    libecpg-dbg libecpg libecpg-dev libecpg-staticdev libecpg-doc \
-    libpq-dbg libpq libpq-dev libpq-staticdev \
-    libpgtypes-dbg libpgtypes libpgtypes-staticdev libpgtypes-dev \
-    ${PN}-contrib ${PN}-contrib-dbg \
+    libecpg-compat libecpg-compat-dev \
+    libecpg libecpg-dev libecpg-staticdev libecpg-doc \
+    libpq libpq-dev libpq-staticdev \
+    libpgtypes libpgtypes-staticdev libpgtypes-dev \
+    ${PN}-contrib \
 "
 
+RPROVIDES_${PN}-dbg += "libecpg-compat-dbg \
+                        libecpg-dbg \
+                        libpq-dbg \
+                        libpgtypes-dbg \
+                        ${PN}-contrib-dbg \
+                        ${PN}-pltcl-dbg \
+                        ${PN}-plpython-dbg \
+                        ${PN}-plperl-dbg \
+                       "
+
 FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \
     ${localstatedir}/lib/${BPN}/data ${localstatedir}/lib/${BPN}/backups \
     ${localstatedir}/lib/${BPN}/.bash_profile ${sysconfdir}/default/${BPN} \
@@ -224,13 +232,6 @@ FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \
        else ''} \
 "
 
-FILES_${PN}-dbg += " ${libdir}/${BPN}/.debug/dict_snowball.so \
-    ${libdir}/${BPN}/.debug/plpgsql.so \
-    ${libdir}/${BPN}/.debug/euc2004_sjis2004.so \
-    ${libdir}/${BPN}/.debug/libpqwalreceiver.so \
-    ${libdir}/${BPN}/.debug/*_and_*.so \
-"
-
 FILES_${PN}-client = "${bindir}/clusterdb \
     ${bindir}/createdb \
     ${bindir}/createlang \
@@ -268,7 +269,6 @@ RDEPENDS_${PN} += "${PN}-timezone"
 FILES_${PN}-server-dev = "${includedir}/${BPN}/server"
 
 FILES_libecpg = "${libdir}/libecpg*${SOLIBS}"
-FILES_libecpg-dbg = "${libdir}/.debug/libecpg*"
 FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \
     ${libdir}/libpgtypes*${SOLIBSDEV} \
     ${includedir}/ecpg*.h ${includedir}/${BPN}/ecpg*.h \
@@ -281,7 +281,6 @@ SECTION_libecpg-staticdev = "devel"
 RDEPENDS_libecpg-staticdev = "libecpg-dev (= ${EXTENDPKGV})"
 
 FILES_libpq = "${libdir}/libpq*${SOLIBS}"
-FILES_libpq-dbg = "${libdir}/.debug/libpq* ${libdir}/${BPN}/pgxs/src/test/regress/.debug/*"
 FILES_libpq-dev = "${libdir}/libpq*${SOLIBSDEV} \
     ${includedir} \
 "
@@ -290,10 +289,8 @@ SECTION_libpq-staticdev = "devel"
 RDEPENDS_libpq-staticdev = "libpq-dev (= ${EXTENDPKGV})"
 
 FILES_libecpg-compat = "${libdir}/libecpg_compat*${SOLIBS}"
-FILES_libecpg-compat-dbg = "${libdir}/.debug/libecpg_compat*"
 FILES_libecpg-compat-dev = "${libdir}/libecpg_compat*${SOLIBS}"
 FILES_libpgtypes = "${libdir}/libpgtypes*${SOLIBS}"
-FILES_libpgtypes-dbg = "${libdir}/.debug/libpgtypes*"
 FILES_libpgtypes-staticdev = "${libdir}/libpgtypes*.a"
 FILES_libpgtypes-dev = "${libdir}/libpgtypes*${SOLIBS} ${includedir}/pgtypes*.h"
 
@@ -325,50 +322,18 @@ FILES_${PN}-contrib = " ${bindir}/oid2name ${bindir}/pg_standby \
     ${libdir}/${BPN}/pg_upgrade_support.so ${libdir}/${BPN}/.so \
     ${libdir}/${BPN}/unaccent.so \
 "
-FILES_${PN}-contrib-dbg = " \
-    ${libdir}/${BPN}/.debug/_int.so ${libdir}/${BPN}/.debug/adminpack.so \
-    ${libdir}/${BPN}/.debug/autoinc.so ${libdir}/${BPN}/.debug/auto_explain.so \
-    ${libdir}/${BPN}/.debug/auth_delay.so ${libdir}/${BPN}/.debug/btree_gin.so \
-    ${libdir}/${BPN}/.debug/btree_gist.so ${libdir}/${BPN}/.debug/.so \
-    ${libdir}/${BPN}/.debug/chkpass.so ${libdir}/${BPN}/.debug/citext.so \
-    ${libdir}/${BPN}/.debug/cube.so ${libdir}/${BPN}/.debug/dblink.so \
-    ${libdir}/${BPN}/.debug/dict_int.so ${libdir}/${BPN}/.debug/dict_xsyn.so \
-    ${libdir}/${BPN}/.debug/dummy_seclabel.so \
-    ${libdir}/${BPN}/.debug/earthdistance.so \
-    ${libdir}/${BPN}/.debug/file_fdw.so ${libdir}/${BPN}/.debug/fuzzystrmatch.so \
-    ${libdir}/${BPN}/.debug/hstore.so ${libdir}/${BPN}/.debug/insert_username.so \
-    ${libdir}/${BPN}/.debug/isn.so ${libdir}/${BPN}/.debug/lo.so \
-    ${libdir}/${BPN}/.debug/ltree.so ${libdir}/${BPN}/.debug/moddatetime.so \
-    ${libdir}/${BPN}/.debug/pageinspect.so \
-    ${libdir}/${BPN}/.debug/pg_buffercache.so \
-    ${libdir}/${BPN}/.debug/pg_freespacemap.so \
-    ${libdir}/${BPN}/.debug/pg_trgm.so \
-    ${libdir}/${BPN}/.debug/pgcrypto.so ${libdir}/${BPN}/.debug/pgrowlocks.so \
-    ${libdir}/${BPN}/.debug/pgstattuple.so \
-    ${libdir}/${BPN}/.debug/pg_stat_statements.so \
-    ${libdir}/${BPN}/.debug/refint.so ${libdir}/${BPN}/.debug/seg.so \
-    ${libdir}/${BPN}/.debug/sslinfo.so \
-    ${libdir}/${BPN}/.debug/tablefunc.so \
-    ${libdir}/${BPN}/.debug/test_parser.so ${libdir}/${BPN}/.debug/timetravel.so \
-    ${libdir}/${BPN}/.debug/tsearch2.so ${libdir}/${BPN}/.debug/uuid-ossp.so \
-    ${libdir}/${BPN}/.debug/pgxml.so ${libdir}/${BPN}/.debug/passwordcheck.so \
-    ${libdir}/${BPN}/.debug/pg_upgrade_support.so \
-    ${libdir}/${BPN}/.debug/unaccent.so \
-"
 DESCRIPTION_${PN}-contrib = "The postgresql-contrib package contains \
     contributed packages that are included in the PostgreSQL distribution."
 
 FILES_${PN}-pltcl = "${libdir}/${BPN}/pltcl.so ${bindir}/pltcl_delmod \
     ${binddir}/pltcl_listmod ${bindir}/pltcl_loadmod  \
     ${datadir}/${BPN}/unknown.pltcl"
-FILES_${PN}-pltcl-dbg = "${libdir}/${BPN}/.debug/pltcl.so"
 SUMMARY_${PN}-pltcl = "The Tcl procedural language for PostgreSQL"
 DESCRIPTION_${PN}-pltcl = "PostgreSQL is an advanced Object-Relational \
     database management system.  The postgresql-pltcl package contains the PL/Tcl \
     procedural language for the backend."
 
 FILES_${PN}-plperl = "${libdir}/${BPN}/plperl.so"
-FILES_${PN}-plperl-dbg = "${libdir}/${BPN}/.debug/plperl.so"
 SUMMARY_${PN}-plperl = "The Perl procedural language for PostgreSQL"
 DESCRIPTION_${PN}-plperl = "PostgreSQL is an advanced Object-Relational \
     database management system.  The postgresql-plperl package contains the \
@@ -377,7 +342,6 @@ DESCRIPTION_${PN}-plperl = "PostgreSQL is an advanced Object-Relational \
 # In version 8, it will be plpython.so
 # In version 9, it might be plpython{2,3}.so depending on python2 or 3
 FILES_${PN}-plpython = "${libdir}/${BPN}/plpython*.so"
-FILES_${PN}-plpython-dbg = "${libdir}/${BPN}/.debug/plpython*.so"
 SUMMARY_${PN}-plpython = "The Python procedural language for PostgreSQL"
 DESCRIPTION_${PN}-plpython = "PostgreSQL is an advanced Object-Relational \
     database management system.  The postgresql-plpython package contains \
Signature · 1 line
2.7.4
author
#18 lore raw

PATCH 17/19 mariadb: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta-oe/recipes-dbs/mysql/mariadb.inc +4 -5
index 8ac0dbb..b9fa98b 100644
@@ -162,13 +162,15 @@ do_install() {
 }
 
 PACKAGES = "${PN}-dbg ${PN} \
-    libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev libmysqlclient-r-dbg \
-    libmysqlclient libmysqlclient-dev libmysqlclient-staticdev libmysqlclient-dbg \
+    libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
+    libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
     libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers"
 CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
 CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
 CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
 
+RPROVIDES_${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
+
 FILES_${PN} = " "
 RDEPENDS_${PN} = "${PN}-client ${PN}-server"
 ALLOW_EMPTY_${PN} = "1"
@@ -201,8 +203,6 @@ FILES_libmysqlclient-dev = " \
     ${bindir}/mysql_config"
 FILES_libmysqlclient-staticdev = "\
     ${libdir}/*.a"
-FILES_libmysqlclient-dbg = "${libdir}/plugin/.debug/ \
-    ${datadir}/mysql-test/lib/My/SafeProcess/.debug/my_safe_process"
 
 # Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
 # which are intentionally non-PIC on 32-bit x86 (see e.g.
@@ -213,7 +213,6 @@ FILES_libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
 FILES_libmysqlclient-r-dev = "\
     ${libdir}/libmysqlclient_r.so"
 FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
-FILES_libmysqlclient-r-dbg = "${libdir}/plugin/.debuglibmysqlclient_r.so.*"
 
 FILES_libmysqld = "\
     ${libdir}/libmysqld.so.*"
Signature · 1 line
2.7.4
author
#19 lore raw

PATCH 18/19 pidgin: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
meta-oe/recipes-support/pidgin/pidgin_2.12.0.bb +3 -6
index 088f08b..148e4b6 100644
@@ -58,7 +58,9 @@ do_configure_prepend() {
 OE_LT_RPATH_ALLOW=":${libdir}/purple-2:"
 OE_LT_RPATH_ALLOW[export]="1"
 
-PACKAGES =+ "libpurple-dbg libpurple-dev libpurple libgnt-dbg libgnt libgnt-dev finch-dbg finch finch-dev ${PN}-data"
+PACKAGES =+ "libpurple-dev libpurple libgnt libgnt-dev finch finch-dev ${PN}-data"
+
+RPROVIDES_${PN}-dbg += "libpurple-dbg libgnt-dbg finch-dbg"
 
 LEAD_SONAME = "libpurple.so.0"
 FILES_libpurple     = "${libdir}/libpurple*.so.* ${libdir}/purple-2 ${bindir}/purple-* ${sysconfdir}/gconf/schemas/purple* ${datadir}/purple/ca-certs"
@@ -69,15 +71,10 @@ FILES_libpurple-dev = "${libdir}/libpurple*.la \
                        ${libdir}/purple-2/liboscar.so \
                        ${libdir}/purple-2/libymsg.so \
                        ${datadir}/aclocal"
-FILES_libpurple-dbg += "${libdir}/.debug/libpurple* \
-                        ${libdir}/purple-2/.debug"
 FILES_libgnt         = "${libdir}/libgnt.so.* ${libdir}/gnt/*.so"
 FILES_libgnt-dev     = "${libdir}/gnt/*.la"
-FILES_libgnt-dbg     = "${libdir}/gnt/.debug"
 FILES_finch          = "${bindir}/finch"
 FILES_finch-dev      = "${libdir}/finch/*.la"
-FILES_finch-dbg      = "${bindir}/.debug/finch \
-                        ${libdir}/finch/.debug"
 
 FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
            ${datadir}/applications"
Signature · 1 line
2.7.4
author
#20 lore raw

PATCH 19/19 syslog-ng: split one dpg package

In reply to Hongxu Jia

Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring.

---
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/syslog-ng/syslog-ng.inc +2 -2
index 09c2f51..b52deff 100644
@@ -112,10 +112,10 @@ ${datadir}/${BPN}/include/scl/logmatic \
 "
 
 # This overcomes the syslog-ng rdepends on syslog-ng-dev QA Error
-PACKAGES =+ "${PN}-jconf ${PN}-libs ${PN}-libs-dev ${PN}-libs-dbg"
+PACKAGES =+ "${PN}-jconf ${PN}-libs ${PN}-libs-dev"
+RPROVIDES_${PN}-dbg += "${PN}-libs-dbg"
 FILES_${PN}-libs = "${libdir}/${BPN}/*.so ${libdir}/libsyslog-ng-*.so*"
 FILES_${PN}-libs-dev = "${libdir}/${BPN}/lib*.la"
-FILES_${PN}-libs-dbg = "${libdir}/${BPN}/.debug"
 FILES_${PN}-staticdev += "${libdir}/${BPN}/libtest/*.a"
 INSANE_SKIP_${PN}-libs = "dev-so"
 RDEPENDS_${PN} += "${PN}-libs"
Signature · 1 line
2.7.4
#21 lore raw
In reply to Hongxu Jia

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.

Quoted 77 lines · Hongxu Jia

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 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             |  8 +--
 .../recipes-support/libtalloc/libtalloc_2.1.14.bb  |  6 +-
 .../recipes-support/libtdb/libtdb_1.3.16.bb        |  5 +-
 .../recipes-support/libtevent/libtevent_0.9.37.bb  |  5 +-
 meta-oe/recipes-benchmark/dbench/dbench_4.0.bb     |  5 +-
 meta-oe/recipes-bsp/lm_sensors/lmsensors_3.4.0.bb  | 15 ++---
 .../recipes-connectivity/wvdial/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    |  8 +--
 meta-oe/recipes-extended/gnuplot/gnuplot_5.2.2.bb  |  6 +-
 .../recipes-extended/isomd5sum/isomd5sum_1.2.3.bb  |  5 +-
 .../konkretcmpi/konkretcmpi_0.9.2.bb               |  5 +-
 .../scsirastools/scsirastools_1.6.6.bb             |  8 +--
 .../fontforge/fontforge_20170731.bb                |  5 +-
 .../v4l2apps/v4l-utils_1.12.3.bb                   |  5 +-
 meta-oe/recipes-navigation/gpsd/gpsd_3.17.bb       |  6 +-
 meta-oe/recipes-support/pidgin/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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#22 lore raw
Quoted 1 line · Martin Jansa

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

Quoted 98 lines · On Mon, Sep 17, 2018 at 5:55 PM Hongxu Jia <[email protected]…
    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

    -- 
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#23 lore raw
Quoted 19 lines · Hongxu Jia
Quoted 3 lines · Martin Jansa

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

Quoted 100 lines

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

Quoted 92 lines

On Mon, Sep 17, 2018 at 5:55 PM Hongxu Jia <[email protected] <mailto:[email protected]>> 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

author
#24 lore raw
Quoted 8 lines · Andreas Müller

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

Sorry, I didn't get your point :(

First, do you mean one dbg package take more image size than sub dbg packages? I am afraid the sub dbg package could not work correctly (see my comments above)

Especially only one hardlink of separated debug info file in each directory (see commits `d4eaf42 package.bbclass: only one hardlink of separated debug info file in each directory' in oe-core)

Second, does this fix cause dbp package RDEPENDS issue? Or already existed issue? If the former, please paste a reproduce steps, if the latter, as I mentioned above, RP rethinks to improve debug package dependency handling in 2.7 (its too late for 2.6 now.),

//Hongxu

Quoted 1 line

Andreas

author
#25 lore raw
Quoted 10 lines · Hongxu Jia
Quoted 8 lines · Andreas Müller

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

Do you mean previous sub python-dbg only 56K, but after applied this fix, the image size enlarged to 24M?

du -sh packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/ 56K packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/

du -sh packages-split/fontforge-dbg/
24M     packages-split/fontforge-dbg/

I doubt that could gdb work correctly that only python-dbg without debug library? (Maybe gdb stop at libraries)

packages-split/fontforge-dbg/usr/lib/.debug/libfontforgeexe.so.2.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgdraw.so.5.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgutils.so.2.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgunicode.so.4.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgioftp.so.2.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libfontforge.so.2.0.0

packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/.debug/fontforge.so packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/.debug/psMat.so

//Hongxu

Quoted 20 lines

Sorry, I didn't get your point :(

First, do you mean one dbg package take more image size than sub dbg packages? I am afraid the sub dbg package could not work correctly (see my comments above)

Especially only one hardlink of separated debug info file in each directory (see commits `d4eaf42 package.bbclass: only one hardlink of separated debug info file in each directory' in oe-core)

Second, does this fix cause dbp package RDEPENDS issue? Or already existed issue? If the former, please paste a reproduce steps, if the latter, as I mentioned above, RP rethinks to improve debug package dependency handling in 2.7 (its too late for 2.6 now.),

//Hongxu

Quoted 1 line

Andreas

#26 lore raw
Quoted 33 lines · Hongxu Jia
Quoted 13 lines · Hongxu Jia
Quoted 9 lines · Andreas Müller

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

Do you mean previous sub python-dbg only 56K, but after applied this fix, the image size enlarged to 24M?

du -sh packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/ 56K packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/

du -sh packages-split/fontforge-dbg/
24M packages-split/fontforge-dbg/

I doubt that could gdb work correctly that only python-dbg without debug library? (Maybe gdb stop at libraries)

packages-split/fontforge-dbg/usr/lib/.debug/libfontforgeexe.so.2.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgdraw.so.5.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgutils.so.2.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgunicode.so.4.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libgioftp.so.2.0.0 packages-split/fontforge-dbg/usr/lib/.debug/libfontforge.so.2.0.0

Quoted 24 lines

packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/.debug/fontforge.so packages-split/fontforge-dbg/usr/lib/python2.7/site-packages/.debug/psMat.so

//Hongxu

Quoted 18 lines

Sorry, I didn't get your point :(

First, do you mean one dbg package take more image size than sub dbg packages? I am afraid the sub dbg package could not work correctly (see my comments above)

Especially only one hardlink of separated debug info file in each directory (see commits `d4eaf42 package.bbclass: only one hardlink of separated debug info file in each directory' in oe-core)

Second, does this fix cause dbp package RDEPENDS issue? Or already existed issue? If the former, please paste a reproduce steps, if the latter,
as I mentioned above, RP rethinks to improve debug package dependency handling in 2.7 (its too late for 2.6 now.),

//Hongxu

Oopps - ${PN}-dbg RDEPENDs on ${PN} (still?) - My thoughts were a bit upside down :). Sorry for the noise.

Andreas