Skip to contentSkip to conversation

gstreamer1.0-plugins-imx: Fix packaging of debug symbols

PATCH In review Otavio Salvador 3 participants 4 messages Jul 25, 2016 – Jul 28, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gstreamer1.0-plugins-imx: Fix packaging of debug symbols

This fixes following ERROR:

,----

| ERROR: QA Issue: gstreamer1.0-plugins-imx: Files/directories were
| installed but not shipped in any package:
|   /usr/lib/gstreamer-1.0/.debug
|   /usr/lib/gstreamer-1.0/.debug/libgstimxvpu.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxeglvivsink.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxg2d.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxipu.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxv4l2videosrc.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxaudio.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxpxp.so

`----

---

 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb +2 -0
index 6f81341..093d220 100644
@@ -68,3 +68,5 @@ COMPATIBLE_MACHINE = "(mx6|mx7)"
 # disable the false alarm (the "it isn't a build dependency" QA warning)
 INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps"
 INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps"
+
+FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug ${libdir}/gstreamer1.0/gstreamer-1.0/.debug ${datadir}/bash-completion/helpers/.debug "
Signature · 1 line
2.9.0
#1 lore raw

PATCH 2/2 gstreamer1.0-plugins-imx: Avoid warning about missing build dependency for G2D

The gstreamer1.0-plugins-imx-imxg2d has the dependency satisfied by the GPU driver, which is already listed as dependency. This marks the warning as a false-positive.

Fixes:

,----

| WARNING: QA Issue: /usr/lib/gstreamer-1.0/libgstimxg2d.so_gstreamer1.0-plugins-imx-imxg2d
| contained in package gstreamer1.0-plugins-imx-imxg2d requires
| libg2d.so.0.9, but no providers found in its RDEPENDS [file-rdeps]

`----

---

 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb +1 -0
index 093d220..3e9d821 100644
@@ -68,5 +68,6 @@ COMPATIBLE_MACHINE = "(mx6|mx7)"
 # disable the false alarm (the "it isn't a build dependency" QA warning)
 INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps"
 INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps"
+INSANE_SKIP_gstreamer1.0-plugins-imx-imxg2d = "build-deps"
 
 FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug ${libdir}/gstreamer1.0/gstreamer-1.0/.debug ${datadir}/bash-completion/helpers/.debug "
Signature · 1 line
2.9.0
#2 lore raw
In reply to Otavio Salvador

Were these patches tested with master-next ? I have a build with the latest master, and got neither this error nor the G2D one.

Other than that, these patches look OK to me.

Quoted 31 lines · Otavio Salvador

This fixes following ERROR:

,----

| ERROR: QA Issue: gstreamer1.0-plugins-imx: Files/directories were
| installed but not shipped in any package:
|   /usr/lib/gstreamer-1.0/.debug
|   /usr/lib/gstreamer-1.0/.debug/libgstimxvpu.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxeglvivsink.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxg2d.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxipu.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxv4l2videosrc.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxaudio.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxpxp.so

`----

---

  recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb | 2 ++
  1 file changed, 2 insertions(+)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.1.bb +2 -0
index 6f81341..093d220 100644
@@ -68,3 +68,5 @@ COMPATIBLE_MACHINE = "(mx6|mx7)"
  # disable the false alarm (the "it isn't a build dependency" QA warning)
  INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps"
  INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps"
+
+FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug ${libdir}/gstreamer1.0/gstreamer-1.0/.debug ${datadir}/bash-completion/helpers/.debug "
#3 lore raw
In reply to Otavio Salvador
Quoted 13 lines · Otavio Salvador

This fixes following ERROR:

,----

| ERROR: QA Issue: gstreamer1.0-plugins-imx: Files/directories were
| installed but not shipped in any package:
|   /usr/lib/gstreamer-1.0/.debug
|   /usr/lib/gstreamer-1.0/.debug/libgstimxvpu.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxeglvivsink.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxg2d.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxipu.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxv4l2videosrc.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxaudio.so
|   /usr/lib/gstreamer-1.0/.debug/libgstimxpxp.so
Quoted 3 lines

`----

This one is not need for master; master split it automatically. This one is just for krogoth.

The G2D depends on the features you enable. In a distro with reduced features we found it.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750