* Files not getting into the debug packages
@ 2012-07-04 12:19 Damian, Alexandru
2012-07-04 12:56 ` Damian, Alexandru
2012-07-04 12:58 ` Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Damian, Alexandru @ 2012-07-04 12:19 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1.1: Type: text/plain, Size: 1924 bytes --]
Hi guys,
I'm trying to run a udev package upgrade (See attached patch).
I get this error,
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/v4l_id
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/cdrom_id
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/mtd_probe
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/accelerometer
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/scsi_id
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/udevd
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/keymap
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/collect
ERROR: QA Issue: non debug package contains .debug directory: udev path
/work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/ata_id
ERROR: QA run found fatal errors. Please consider fixing them.
although I added the files to the debug package (I think)
FILES_${PN}-dbg += "${libexecdir}/.debug"
+FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/"
+FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/*"
FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc"
Can somebody please point out what I'm doing wrong ?
Cheers,
Alex
[-- Attachment #1.2: Type: text/html, Size: 2036 bytes --]
[-- Attachment #2: 0001-udev-upgrade.patch --]
[-- Type: application/octet-stream, Size: 4906 bytes --]
From 316ad6d7576c8caa2d0fa6e2d6058de086c75fa5 Mon Sep 17 00:00:00 2001
From: Alexandru DAMIAN <alexandru.damian@intel.com>
Date: Tue, 3 Jul 2012 14:46:53 +0300
Subject: [PATCH 1/1] udev upgrade
---
meta/recipes-core/udev/udev.inc | 9 ++--
meta/recipes-core/udev/udev/udev-166-v4l1-1.patch | 50 ---------------------
meta/recipes-core/udev/udev_164.bb | 8 ----
meta/recipes-core/udev/udev_182.bb | 9 ++++
4 files changed, 15 insertions(+), 61 deletions(-)
delete mode 100644 meta/recipes-core/udev/udev/udev-166-v4l1-1.patch
delete mode 100644 meta/recipes-core/udev/udev_164.bb
create mode 100644 meta/recipes-core/udev/udev_182.bb
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 3e72515..11fb2e1 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -6,9 +6,10 @@ LICENSE = "GPLv2.0+ & LGPLv2.1+"
LICENSE_${PN} = "GPLv2.0+"
LICENSE_libudev = "LGPLv2.1+"
LICENSE_libgudev = "LGPLv2.1+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
- file://libudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
- file://extras/gudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \
+ file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266"
+
DEPENDS = "acl glib-2.0 libusb usbutils pciutils gperf-native libxslt-native"
RPROVIDES_${PN} = "hotplug"
@@ -50,6 +51,8 @@ FILES_${PN} += "${libexecdir} ${libdir}/ConsoleKit"
RRECOMMENDS_${PN} += "udev-utils"
FILES_${PN}-dbg += "${libexecdir}/.debug"
+FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/"
+FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/*"
FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc"
FILES_libudev = "${base_libdir}/libudev.so.*"
FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*"
diff --git a/meta/recipes-core/udev/udev/udev-166-v4l1-1.patch b/meta/recipes-core/udev/udev/udev-166-v4l1-1.patch
deleted file mode 100644
index 2086fe1..0000000
--- a/meta/recipes-core/udev/udev/udev-166-v4l1-1.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Upstream-Status: Backport
-
-Submitted By: Matt Burgess <matthew_at_linuxfromscratch_dot_org>
-Date: 2011-03-26
-Initial Package Version: 166
-Upstream Status: From upstream
-Origin: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=4ace8a43ac2cbbd4d6f5c29fc461c3caa8f8545b
-Description: Fixes a compilation error caused by the removal of the
- Video for Linux 1 API from Linux kernels from 2.6.38
- onwards.
-
-diff -Naur udev-166.orig/extras/v4l_id/v4l_id.c udev-166/extras/v4l_id/v4l_id.c
---- udev-166.orig/extras/v4l_id/v4l_id.c 2009-12-03 12:45:03.000000000 +0000
-+++ udev-166/extras/v4l_id/v4l_id.c 2011-03-25 20:26:33.000000000 +0000
-@@ -28,7 +28,6 @@
- #include <sys/types.h>
- #include <sys/time.h>
- #include <sys/ioctl.h>
--#include <linux/videodev.h>
- #include <linux/videodev2.h>
-
- int main (int argc, char *argv[])
-@@ -39,7 +38,6 @@
- };
- int fd;
- char *device;
-- struct video_capability v1cap;
- struct v4l2_capability v2cap;
-
- while (1) {
-@@ -82,19 +80,6 @@
- if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0)
- printf("radio:");
- printf("\n");
-- } else if (ioctl (fd, VIDIOCGCAP, &v1cap) == 0) {
-- printf("ID_V4L_VERSION=1\n");
-- printf("ID_V4L_PRODUCT=%s\n", v1cap.name);
-- printf("ID_V4L_CAPABILITIES=:");
-- if ((v1cap.type & VID_TYPE_CAPTURE) > 0)
-- printf("capture:");
-- if ((v1cap.type & VID_TYPE_OVERLAY) > 0)
-- printf("video_overlay:");
-- if (v1cap.audios > 0)
-- printf("audio:");
-- if ((v1cap.type & VID_TYPE_TUNER) > 0)
-- printf("tuner:");
-- printf("\n");
- }
-
- close (fd);
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb
deleted file mode 100644
index c5813ec..0000000
--- a/meta/recipes-core/udev/udev_164.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-include udev.inc
-
-PR = "r13"
-
-SRC_URI += "file://udev-166-v4l1-1.patch"
-
-SRC_URI[md5sum] = "fddac2d54761ea34865af9467377ca9f"
-SRC_URI[sha256sum] = "c12e66280b5e1465f6587a8cfa47d7405c4caa7e52ce5dd13478d04f6ec05e5c"
diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb
new file mode 100644
index 0000000..6678fe1
--- /dev/null
+++ b/meta/recipes-core/udev/udev_182.bb
@@ -0,0 +1,9 @@
+include udev.inc
+
+PR = "r0"
+
+# module-init-tools from kmod_git will provide libkmod runtime
+DEPENDS = "module-init-tools"
+
+SRC_URI[md5sum] = "1b964456177fbf48023dfee7db3a708d"
+SRC_URI[sha256sum] = "7857ed19fafd8f3ca8de410194e8c7336e9eb8a20626ea8a4ba6449b017faba4"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Files not getting into the debug packages
2012-07-04 12:19 Files not getting into the debug packages Damian, Alexandru
@ 2012-07-04 12:56 ` Damian, Alexandru
2012-07-04 12:58 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Damian, Alexandru @ 2012-07-04 12:56 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]
MIhai gratiously provided the insight, the debug lines should be
FILES_${PN}-dbg += "${base_libdir}/udev/udev/.debug/"
FILES_${PN}-dbg += "${base_libdir}/udev/udev/.debug/*"
(notice base_libdir instead of libexecdir)
Cheers,
Alex
On Wed, Jul 4, 2012 at 3:19 PM, Damian, Alexandru <
alexandru.damian@intel.com> wrote:
> Hi guys,
>
> I'm trying to run a udev package upgrade (See attached patch).
>
> I get this error,
>
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/v4l_id
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/cdrom_id
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/mtd_probe
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/accelerometer
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/scsi_id
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/udevd
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/keymap
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/collect
> ERROR: QA Issue: non debug package contains .debug directory: udev path
> /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/ata_id
> ERROR: QA run found fatal errors. Please consider fixing them.
>
>
> although I added the files to the debug package (I think)
>
> FILES_${PN}-dbg += "${libexecdir}/.debug"
> +FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/"
> +FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/*"
> FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc"
>
> Can somebody please point out what I'm doing wrong ?
>
> Cheers,
> Alex
>
[-- Attachment #2: Type: text/html, Size: 2671 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Files not getting into the debug packages
2012-07-04 12:19 Files not getting into the debug packages Damian, Alexandru
2012-07-04 12:56 ` Damian, Alexandru
@ 2012-07-04 12:58 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-07-04 12:58 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2012-07-04 at 15:19 +0300, Damian, Alexandru wrote:
> Hi guys,
>
> I'm trying to run a udev package upgrade (See attached patch).
>
> I get this error,
>
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/v4l_id
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/cdrom_id
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/mtd_probe
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/accelerometer
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/scsi_id
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/udevd
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/keymap
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/collect
> ERROR: QA Issue: non debug package contains .debug directory: udev
> path /work/i586-poky-linux/udev-182-r0/packages-split/udev/lib/udev/udev/.debug/ata_id
> ERROR: QA run found fatal errors. Please consider fixing them.
>
>
> although I added the files to the debug package (I think)
>
> FILES_${PN}-dbg += "${libexecdir}/.debug"
> +FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/"
> +FILES_${PN}-dbg += "${libexecdir}/udev/udev/.debug/*"
> FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc"
>
> Can somebody please point out what I'm doing wrong ?
The path in question is:
/lib/udev/udev/
and libexecdir is /usr/libexec/ so
${libexecdir}/udev/udev/.debug/
expands to the wrong thing. You probably want ${base_libdir}/udev/udev/.
The double udev there does look a little odd...
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-04 13:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 12:19 Files not getting into the debug packages Damian, Alexandru
2012-07-04 12:56 ` Damian, Alexandru
2012-07-04 12:58 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox